Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2472)

Unified Diff: shell/BUILD.gn

Issue 884303002: Launch nexes from mojo_shell. Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Edits Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/nacl/monacl_shell.cc ('k') | shell/dynamic_application_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/BUILD.gn
diff --git a/shell/BUILD.gn b/shell/BUILD.gn
index 3f4838a69c0d969768b0be77038b08bb4ece83f6..168ea9c23d2c67a1197c12aeb86d0c7f05c2ed69 100644
--- a/shell/BUILD.gn
+++ b/shell/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/config/ui.gni")
+import("//mojo/nacl/config.gni")
import("//mojo/public/mojo.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//testing/test.gni")
@@ -191,6 +192,19 @@ source_set("lib") {
"//url",
]
+ if (mojo_use_nacl) {
+ defines = [ "MOJO_USE_NACL=1" ]
+
+ sources += [
+ "nacl/nacl_service_runner.cc",
+ "nacl/nacl_service_runner.h",
+ ]
+
+ deps += [ "//mojo/nacl:monacl_sel" ]
+
+ data_deps = [ "//mojo/nacl:irt_mojo(//native_client/build/toolchain/nacl:irt_${cpu_arch})" ]
+ }
+
if (is_win) {
deps -= [ "//shell/domain_socket" ]
}
« no previous file with comments | « mojo/nacl/monacl_shell.cc ('k') | shell/dynamic_application_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698