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

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

Issue 960413003: Apply gn format with 'sources' sorting to src/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-format-sort-2
Patch Set: . Created 5 years, 9 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 13 matching lines...) Expand all
24 "$gen_dir/libmojo.cc", 24 "$gen_dir/libmojo.cc",
25 ] 25 ]
26 } 26 }
27 } 27 }
28 28
29 # Trusted code 29 # Trusted code
30 if (!is_nacl) { 30 if (!is_nacl) {
31 # A library for launching a NaCl sandbox connected to a Mojo embedder. 31 # A library for launching a NaCl sandbox connected to a Mojo embedder.
32 static_library("monacl_sel") { 32 static_library("monacl_sel") {
33 sources = [ 33 sources = [
34 "$gen_dir/mojo_syscall.cc",
34 "mojo_syscall_internal.h", 35 "mojo_syscall_internal.h",
35 "$gen_dir/mojo_syscall.cc",
36 "monacl_sel_main.cc", 36 "monacl_sel_main.cc",
37 ] 37 ]
38 38
39 deps = [ 39 deps = [
40 # This target makes sure we have all the pre-processor defines needed to 40 # This target makes sure we have all the pre-processor defines needed to
41 # use NaCl's headers. 41 # use NaCl's headers.
42 "//native_client/build/config/nacl:nacl_base", 42 "//native_client/build/config/nacl:nacl_base",
43 "//native_client/src/trusted/desc:nrd_xfer", 43 "//native_client/src/trusted/desc:nrd_xfer",
44 "//native_client/src/trusted/service_runtime:sel_main_chrome", 44 "//native_client/src/trusted/service_runtime:sel_main_chrome",
45 ":mojo_nacl_codegen($default_toolchain)", 45 ":mojo_nacl_codegen($default_toolchain)",
(...skipping 27 matching lines...) Expand all
73 "$gen_dir/mojo_irt.h", 73 "$gen_dir/mojo_irt.h",
74 ] 74 ]
75 public_deps = [ 75 public_deps = [
76 "//native_client/build/config/nacl:nacl_base", 76 "//native_client/build/config/nacl:nacl_base",
77 "//native_client/src/untrusted/irt:irt_core_lib", 77 "//native_client/src/untrusted/irt:irt_core_lib",
78 "//native_client/src/untrusted/nacl:imc_syscalls", 78 "//native_client/src/untrusted/nacl:imc_syscalls",
79 ":mojo_nacl_codegen($default_toolchain)", 79 ":mojo_nacl_codegen($default_toolchain)",
80 ] 80 ]
81 } 81 }
82 } 82 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698