Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / gin / BUILD.gn
index 3c0ff19..b352c3a 100644 (file)
@@ -11,6 +11,8 @@ component("gin") {
     "context_holder.cc",
     "converter.cc",
     "converter.h",
+    "debug_impl.cc",
+    "debug_impl.h",
     "dictionary.cc",
     "dictionary.h",
     "function_template.cc",
@@ -38,12 +40,15 @@ component("gin") {
     "per_isolate_data.cc",
     "per_isolate_data.h",
     "public/context_holder.h",
+    "public/debug.h",
     "public/gin_embedders.h",
     "public/isolate_holder.h",
     "public/v8_platform.h",
     "public/wrapper_info.h",
     "runner.cc",
     "runner.h",
+    "run_microtasks_observer.cc",
+    "run_microtasks_observer.h",
     "shell_runner.cc",
     "shell_runner.h",
     "try_catch.cc",
@@ -55,16 +60,14 @@ component("gin") {
   ]
 
   defines = [ "GIN_IMPLEMENTATION" ]
-  deps = [
-    "//base",
-    "//base/third_party/dynamic_annotations",
-    "//v8",
-  ]
 
-  forward_dependent_configs_from = [
+  public_deps = [
     "//base",
     "//v8",
   ]
+  deps = [
+    "//base/third_party/dynamic_annotations",
+  ]
 }
 
 executable("gin_shell") {
@@ -81,6 +84,7 @@ executable("gin_shell") {
 }
 
 source_set("gin_test") {
+  testonly = true
   sources = [
     "test/file.cc",
     "test/file.h",
@@ -94,15 +98,12 @@ source_set("gin_test") {
     "test/v8_test.h",
   ]
 
-  deps = [
+  public_deps = [
     ":gin",
     "//testing/gtest",
-    "//v8",
   ]
-
-  forward_dependent_configs_from = [
-    ":gin",
-    "//testing/gtest",
+  deps = [
+    "//v8",
   ]
 }