OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//sandbox/features.gni") | 7 import("//sandbox/features.gni") |
8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
9 | 9 |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 outputs = [ | 186 outputs = [ |
187 "$target_gen_dir/bpf_dsl/golden/golden_files.h", | 187 "$target_gen_dir/bpf_dsl/golden/golden_files.h", |
188 ] | 188 ] |
189 args = | 189 args = |
190 rebase_path(outputs, root_build_dir) + rebase_path(inputs, root_build_dir) | 190 rebase_path(outputs, root_build_dir) + rebase_path(inputs, root_build_dir) |
191 } | 191 } |
192 | 192 |
193 test("sandbox_linux_unittests") { | 193 test("sandbox_linux_unittests") { |
194 deps = [ | 194 deps = [ |
195 ":sandbox_linux_unittests_sources", | 195 ":sandbox_linux_unittests_sources", |
196 "//build/config/sanitizers:deps", | 196 "//build/config:exe_and_shlib_deps", |
197 ] | 197 ] |
198 if (is_android) { | 198 if (is_android) { |
199 use_raw_android_executable = true | 199 use_raw_android_executable = true |
200 } | 200 } |
201 } | 201 } |
202 | 202 |
203 component("seccomp_bpf") { | 203 component("seccomp_bpf") { |
204 sources = [ | 204 sources = [ |
205 "bpf_dsl/bpf_dsl.cc", | 205 "bpf_dsl/bpf_dsl.cc", |
206 "bpf_dsl/bpf_dsl.h", | 206 "bpf_dsl/bpf_dsl.h", |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 if (is_nacl_nonsfi) { | 427 if (is_nacl_nonsfi) { |
428 sources -= [ | 428 sources -= [ |
429 "suid/client/setuid_sandbox_host.cc", | 429 "suid/client/setuid_sandbox_host.cc", |
430 "suid/client/setuid_sandbox_host.h", | 430 "suid/client/setuid_sandbox_host.h", |
431 "suid/common/sandbox.h", | 431 "suid/common/sandbox.h", |
432 "suid/common/suid_unsafe_environment_variables.h", | 432 "suid/common/suid_unsafe_environment_variables.h", |
433 ] | 433 ] |
434 } | 434 } |
435 } | 435 } |
436 } | 436 } |
OLD | NEW |