| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 "${root_out_dir}/nacl_helper_nonsfi_unittests_main", | 280 "${root_out_dir}/nacl_helper_nonsfi_unittests_main", |
| 279 ] | 281 ] |
| 280 outputs = [ | 282 outputs = [ |
| 281 "${root_build_dir}/{{source_file_part}}", | 283 "${root_build_dir}/{{source_file_part}}", |
| 282 ] | 284 ] |
| 283 deps = [ | 285 deps = [ |
| 284 ":nacl_helper_nonsfi_unittests_main", | 286 ":nacl_helper_nonsfi_unittests_main", |
| 285 ] | 287 ] |
| 286 } | 288 } |
| 287 } | 289 } |
| OLD | NEW |