OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/nacl/config.gni") | 6 import("//build/config/nacl/config.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 assert(enable_nacl) | 9 assert(enable_nacl) |
10 | 10 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 } | 42 } |
43 | 43 |
44 # This exists just to make 'gn check' happy with :minimal and | 44 # This exists just to make 'gn check' happy with :minimal and |
45 # :nacl_helper_win_64 (below). They can't depend on //content/public/common | 45 # :nacl_helper_win_64 (below). They can't depend on //content/public/common |
46 # or anything like that, because that would bring in lots more than counts | 46 # or anything like that, because that would bring in lots more than counts |
47 # as "minimal" (stuff that should not be in the nacl64.exe build). | 47 # as "minimal" (stuff that should not be in the nacl64.exe build). |
48 source_set("minimal_content_dummy") { | 48 source_set("minimal_content_dummy") { |
49 check_includes = false | 49 check_includes = false |
50 sources = [ | 50 sources = [ |
51 "//content/public/common/child_process_sandbox_support_linux.h", | 51 "//content/public/common/child_process_sandbox_support_linux.h", |
| 52 "//content/public/common/content_descriptors.h", |
52 "//content/public/common/content_switches.h", | 53 "//content/public/common/content_switches.h", |
53 "//content/public/common/main_function_params.h", | 54 "//content/public/common/main_function_params.h", |
| 55 "//content/public/common/mojo_channel_switches.h", |
54 "//content/public/common/sandbox_init.h", | 56 "//content/public/common/sandbox_init.h", |
55 ] | 57 ] |
56 } | 58 } |
57 | 59 |
58 source_set("loader") { | 60 source_set("loader") { |
59 public_deps = [ | 61 public_deps = [ |
60 ":minimal", | 62 ":minimal", |
61 ] | 63 ] |
62 deps = [ | 64 deps = [ |
63 "//components/nacl/common", | 65 "//components/nacl/common", |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 "nacl_helper_win_64.h", | 170 "nacl_helper_win_64.h", |
169 ] | 171 ] |
170 | 172 |
171 deps = [ | 173 deps = [ |
172 ":minimal", | 174 ":minimal", |
173 ":minimal_content_dummy", | 175 ":minimal_content_dummy", |
174 "//base", | 176 "//base", |
175 "//components/nacl/broker", | 177 "//components/nacl/broker", |
176 "//components/nacl/common:switches", | 178 "//components/nacl/common:switches", |
177 "//content/public/common:static_switches", | 179 "//content/public/common:static_switches", |
| 180 "//mojo/edk/system", |
178 "//sandbox", | 181 "//sandbox", |
179 ] | 182 ] |
180 } | 183 } |
181 } | 184 } |
182 | 185 |
183 if (is_nacl_nonsfi) { | 186 if (is_nacl_nonsfi) { |
184 executable("nacl_helper_nonsfi_nexe") { | 187 executable("nacl_helper_nonsfi_nexe") { |
185 output_name = "nacl_helper_nonsfi" | 188 output_name = "nacl_helper_nonsfi" |
186 set_sources_assignment_filter([]) | 189 set_sources_assignment_filter([]) |
187 sources = [ | 190 sources = [ |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 "${root_out_dir}/nacl_helper_nonsfi_unittests_main", | 281 "${root_out_dir}/nacl_helper_nonsfi_unittests_main", |
279 ] | 282 ] |
280 outputs = [ | 283 outputs = [ |
281 "${root_build_dir}/{{source_file_part}}", | 284 "${root_build_dir}/{{source_file_part}}", |
282 ] | 285 ] |
283 deps = [ | 286 deps = [ |
284 ":nacl_helper_nonsfi_unittests_main", | 287 ":nacl_helper_nonsfi_unittests_main", |
285 ] | 288 ] |
286 } | 289 } |
287 } | 290 } |
OLD | NEW |