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("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 declare_args() { | 8 declare_args() { |
9 compile_suid_client = is_linux | 9 compile_suid_client = is_linux |
10 | 10 |
11 compile_credentials = is_linux | 11 compile_credentials = is_linux |
12 | 12 |
13 compile_seccomp_bpf_demo = | 13 compile_seccomp_bpf_demo = |
14 is_linux && (cpu_arch == "x86" || cpu_arch == "x64") | 14 is_linux && (current_cpu == "x86" || current_cpu == "x64") |
15 } | 15 } |
16 | 16 |
17 # We have two principal targets: sandbox and sandbox_linux_unittests | 17 # We have two principal targets: sandbox and sandbox_linux_unittests |
18 # All other targets are listed as dependencies. | 18 # All other targets are listed as dependencies. |
19 # There is one notable exception: for historical reasons, chrome_sandbox is | 19 # There is one notable exception: for historical reasons, chrome_sandbox is |
20 # the setuid sandbox and is its own target. | 20 # the setuid sandbox and is its own target. |
21 | 21 |
22 group("sandbox") { | 22 group("sandbox") { |
23 deps = [ | 23 deps = [ |
24 ":sandbox_services", | 24 ":sandbox_services", |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 # 'type': 'none', | 352 # 'type': 'none', |
353 # 'variables': { | 353 # 'variables': { |
354 # 'test_suite_name': 'sandbox_linux_jni_unittests', | 354 # 'test_suite_name': 'sandbox_linux_jni_unittests', |
355 # }, | 355 # }, |
356 # 'dependencies': [ | 356 # 'dependencies': [ |
357 # 'sandbox_linux_jni_unittests', | 357 # 'sandbox_linux_jni_unittests', |
358 # ], | 358 # ], |
359 # 'includes': [ '../../build/apk_test.gypi' ], | 359 # 'includes': [ '../../build/apk_test.gypi' ], |
360 # } | 360 # } |
361 } | 361 } |
OLD | NEW |