Index: mojo/apps/js/BUILD.gn |
diff --git a/mojo/apps/js/BUILD.gn b/mojo/apps/js/BUILD.gn |
index 16332d93ee493a54241d355bae68bdc2f2659b79..89349e696224b141a16f3e9b492824a855fc16f1 100644 |
--- a/mojo/apps/js/BUILD.gn |
+++ b/mojo/apps/js/BUILD.gn |
@@ -2,6 +2,26 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//mojo/system.gni") |
+ |
+shared_library("mojo_js") { |
+ sources = [ |
+ "application_delegate_impl.cc", |
+ "js_app.cc", |
+ "mojo_module.cc", |
+ "main.cc" |
+ ] |
+ |
+ deps = [ |
+ ":js", |
+ "//base:i18n", |
+ "//mojo/application", |
+ "//mojo/public/cpp/bindings", |
+ "//mojo/public/cpp/utility", |
+ "//mojo/services/public/interfaces/content_handler", |
+ ] + mojo_system_for_shared_library |
+} |
+ |
# GYP version: part of mojo/mojo_apps.gypi:mojo_js_lib |
source_set("js") { |
deps = [ |
@@ -10,6 +30,7 @@ source_set("js") { |
"//mojo/apps/js/bindings", |
"//mojo/apps/js/bindings/gl", |
"//mojo/bindings/js", |
+ "//v8", |
] |
sources = [ |
"mojo_runner_delegate.cc", |