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

Unified Diff: mojo/nacl/BUILD.gn

Issue 884303002: Launch nexes from mojo_shell. Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Whitepace 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
Index: mojo/nacl/BUILD.gn
diff --git a/mojo/nacl/BUILD.gn b/mojo/nacl/BUILD.gn
index 4315245a7385f9bfd3082ed814fb4d125cc05205..fc0989f685e64ac5039c59f9d3c6d62bc14cda7c 100644
--- a/mojo/nacl/BUILD.gn
+++ b/mojo/nacl/BUILD.gn
@@ -66,6 +66,7 @@ if (is_nacl) {
"$gen_dir/libmojo.cc",
]
deps = [
+ "//native_client/src/untrusted/nacl:imc_syscalls",
":mojo_nacl_codegen($default_toolchain)",
]
}
@@ -78,7 +79,6 @@ if (is_nacl) {
"//mojo/public/cpp/system/tests/macros_unittest.cc",
]
deps = [
- "//native_client/src/untrusted/nacl:imc_syscalls",
"//mojo/public/c/system/tests:tests",
"//mojo/public/cpp/system:system",
"//testing/gtest:gtest",
@@ -86,6 +86,22 @@ if (is_nacl) {
":mojo",
]
}
+
+ # TODO(ncbray): port this gn file to use mojo_sdk.gni.
+ # TODO(ncbray): fold NaCl build into boilerplate for building Mojo apps.
+ executable("wget") {
+ deps = [
+ "//mojo/public/cpp/application:standalone",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/utility",
+ "//mojo/public/platform/nacl:system",
+ "//mojo/services/network/public/interfaces",
+ ]
+
+ sources = [
+ "//examples/wget/wget.cc",
+ ]
+ }
}
group("mojo_nacl") {
@@ -99,5 +115,6 @@ group("mojo_nacl_tests") {
deps = [
":monacl_shell",
":monacl_test(//native_client/build/toolchain/nacl:clang_newlib_${cpu_arch})",
+ ":wget(//native_client/build/toolchain/nacl:clang_newlib_${cpu_arch})",
]
}
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/nacl/config.gni » ('j') | mojo/nacl/monacl_shell.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698