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})", |
] |
} |