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

Side by Side Diff: mojo/nacl/BUILD.gn

Issue 913373002: Update Chomium's build files to work w/ latest GN binaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_cpu_arch_changes
Patch Set: cleanup / review Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « media/base/BUILD.gn ('k') | net/BUILD.gn » ('j') | ppapi/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « media/base/BUILD.gn ('k') | net/BUILD.gn » ('j') | ppapi/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698