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

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: merge to #317214 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
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 "//native_client/build/config/nacl:nacl_base", 102 "//native_client/build/config/nacl:nacl_base",
103 "//native_client/src/untrusted/irt:irt_core_lib", 103 "//native_client/src/untrusted/irt:irt_core_lib",
104 "//native_client/src/untrusted/nacl:imc_syscalls", 104 "//native_client/src/untrusted/nacl:imc_syscalls",
105 ":mojo_nacl_codegen($default_toolchain)", 105 ":mojo_nacl_codegen($default_toolchain)",
106 ] 106 ]
107 } 107 }
108 } 108 }
109 109
110 group("mojo_nacl") { 110 group("mojo_nacl") {
111 deps = [ 111 deps = [
112 ":irt_mojo(//native_client/build/toolchain/nacl:irt_${cpu_arch})", 112 ":irt_mojo(//native_client/build/toolchain/nacl:irt_${current_cpu})",
113 ] 113 ]
114 } 114 }
115 115
116 group("mojo_nacl_tests") { 116 group("mojo_nacl_tests") {
117 testonly = true 117 testonly = true
118 deps = [ 118 deps = [
119 ":monacl_shell", 119 ":monacl_shell",
120 ":monacl_test(//native_client/build/toolchain/nacl:clang_newlib_${cpu_arch}) ", 120 ":monacl_test(//native_client/build/toolchain/nacl:clang_newlib_${current_cp u})",
121 ] 121 ]
122 } 122 }
OLDNEW
« no previous file with comments | « media/base/BUILD.gn ('k') | net/BUILD.gn » ('j') | third_party/widevine/cdm/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698