| OLD | NEW |
| 1 # All toolchains use the same generated code. | 1 # All toolchains use the same generated code. |
| 2 gen_dir = "$root_build_dir/gen/mojo/nacl" | 2 gen_dir = "$root_build_dir/gen/mojo/nacl" |
| 3 | 3 |
| 4 # Only allow the generator to be run by one toolchain. | 4 # Only allow the generator to be run by one toolchain. |
| 5 if (current_toolchain == default_toolchain) { | 5 if (current_toolchain == default_toolchain) { |
| 6 # Generate the code to plumb the Mojo public API into the NaCl sandbox. | 6 # Generate the code to plumb the Mojo public API into the NaCl sandbox. |
| 7 action("mojo_nacl_codegen") { | 7 action("mojo_nacl_codegen") { |
| 8 script = "generator/generate_nacl_bindings.py" | 8 script = "generator/generate_nacl_bindings.py" |
| 9 args = [ | 9 args = [ |
| 10 "-d", | 10 "-d", |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 "//testing/gtest:gtest_main", | 83 "//testing/gtest:gtest_main", |
| 84 "//third_party/mojo/src/mojo/public/c/system/tests:tests", | 84 "//third_party/mojo/src/mojo/public/c/system/tests:tests", |
| 85 "//third_party/mojo/src/mojo/public/cpp/system:system", | 85 "//third_party/mojo/src/mojo/public/cpp/system:system", |
| 86 ":mojo", | 86 ":mojo", |
| 87 ] | 87 ] |
| 88 } | 88 } |
| 89 } | 89 } |
| 90 | 90 |
| 91 group("mojo_nacl") { | 91 group("mojo_nacl") { |
| 92 deps = [ | 92 deps = [ |
| 93 "//native_client/src/untrusted/irt:irt_core(//native_client/build/toolchain/
nacl:irt_${cpu_arch})", | 93 "//native_client/src/untrusted/irt:irt_core(//native_client/build/toolchain/
nacl:irt_${current_cpu})", |
| 94 ] | 94 ] |
| 95 } | 95 } |
| 96 | 96 |
| 97 group("mojo_nacl_tests") { | 97 group("mojo_nacl_tests") { |
| 98 testonly = true | 98 testonly = true |
| 99 deps = [ | 99 deps = [ |
| 100 ":monacl_shell", | 100 ":monacl_shell", |
| 101 ":monacl_test(//native_client/build/toolchain/nacl:clang_newlib_${cpu_arch})
", | 101 ":monacl_test(//native_client/build/toolchain/nacl:clang_newlib_${current_cp
u})", |
| 102 ] | 102 ] |
| 103 } | 103 } |
| OLD | NEW |