Index: mojo/edk/js/BUILD.gn |
diff --git a/mojo/edk/js/BUILD.gn b/mojo/edk/js/BUILD.gn |
index 429a8c09355fd4377ec4b10ab5a527f624df6b31..9a36497f5653f5ac9007ff38813fa8ffbbf25b54 100644 |
--- a/mojo/edk/js/BUILD.gn |
+++ b/mojo/edk/js/BUILD.gn |
@@ -16,7 +16,7 @@ group("tests") { |
] |
} |
-source_set("js") { |
+component("js") { |
sources = [ |
"core.cc", |
"core.h", |
@@ -25,6 +25,7 @@ source_set("js") { |
"handle.cc", |
"handle.h", |
"handle_close_observer.h", |
+ "js_export.h", |
"mojo_runner_delegate.cc", |
"mojo_runner_delegate.h", |
"support.cc", |
@@ -44,4 +45,5 @@ source_set("js") { |
deps = [ |
"//mojo/public/cpp/system", |
] |
+ defines = [ "MOJO_JS_IMPLEMENTATION" ] |
} |