#include "node_realm.h"
+#include "build/build_config.h"
#include "env-inl.h"
#include "memory_tracker-inl.h"
#include "node_process.h"
#include "util.h"
-#if defined(ENABLE_WRT_JS) && defined(OS_TIZEN_TV_PRODUCT)
+#if defined(ENABLE_WRT_JS) && BUILDFLAG(IS_TIZEN_TV)
#include "base/logging.h"
#include "base/time/time.h"
#endif
return MaybeLocal<Value>();
}
-#if defined(ENABLE_WRT_JS) && defined(OS_TIZEN_TV_PRODUCT)
+#if defined(ENABLE_WRT_JS) && BUILDFLAG(IS_TIZEN_TV)
auto start = base::Time::Now();
#endif
MaybeLocal<Value> result =
fn->Call(ctx, Undefined(isolate()), arguments->size(), arguments->data());
-#if defined(ENABLE_WRT_JS) && defined(OS_TIZEN_TV_PRODUCT)
+#if defined(ENABLE_WRT_JS) && BUILDFLAG(IS_TIZEN_TV)
auto end = base::Time::Now();
LOG(INFO) << "v8::Function::Call id : " << id << " takes "
<< (end - start).InMilliseconds() << "(ms)";