| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'conditions': [ | 7 'conditions': [ |
| 8 ['OS=="linux"', { | 8 ['OS=="linux"', { |
| 9 'compile_suid_client': 1, | 9 'compile_suid_client': 1, |
| 10 'compile_credentials': 1, | 10 'compile_credentials': 1, |
| 11 'use_base_test_suite': 1, |
| 11 }, { | 12 }, { |
| 12 'compile_suid_client': 0, | 13 'compile_suid_client': 0, |
| 13 'compile_credentials': 0, | 14 'compile_credentials': 0, |
| 15 'use_base_test_suite': 0, |
| 14 }], | 16 }], |
| 15 ['OS=="linux" and (target_arch=="ia32" or target_arch=="x64" or ' | 17 ['OS=="linux" and (target_arch=="ia32" or target_arch=="x64" or ' |
| 16 'target_arch=="mipsel")', { | 18 'target_arch=="mipsel")', { |
| 17 'compile_seccomp_bpf_demo': 1, | 19 'compile_seccomp_bpf_demo': 1, |
| 18 }, { | 20 }, { |
| 19 'compile_seccomp_bpf_demo': 0, | 21 'compile_seccomp_bpf_demo': 0, |
| 20 }], | 22 }], |
| 21 ], | 23 ], |
| 22 }, | 24 }, |
| 23 'target_defaults': { | 25 'target_defaults': { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 'sources': [ | 83 'sources': [ |
| 82 'seccomp-bpf/bpf_tester_compatibility_delegate.h', | 84 'seccomp-bpf/bpf_tester_compatibility_delegate.h', |
| 83 'seccomp-bpf/bpf_tests.h', | 85 'seccomp-bpf/bpf_tests.h', |
| 84 'seccomp-bpf/sandbox_bpf_test_runner.cc', | 86 'seccomp-bpf/sandbox_bpf_test_runner.cc', |
| 85 'seccomp-bpf/sandbox_bpf_test_runner.h', | 87 'seccomp-bpf/sandbox_bpf_test_runner.h', |
| 86 ], | 88 ], |
| 87 'dependencies': [ | 89 'dependencies': [ |
| 88 'seccomp_bpf', | 90 'seccomp_bpf', |
| 89 ] | 91 ] |
| 90 }], | 92 }], |
| 93 [ 'use_base_test_suite==1', { |
| 94 'dependencies': [ |
| 95 '../base/base.gyp:test_support_base', |
| 96 ], |
| 97 'defines': [ |
| 98 'SANDBOX_USES_BASE_TEST_SUITE', |
| 99 ], |
| 100 }], |
| 91 ], | 101 ], |
| 92 }, | 102 }, |
| 93 { | 103 { |
| 94 # The main sandboxing test target. | 104 # The main sandboxing test target. |
| 95 'target_name': 'sandbox_linux_unittests', | 105 'target_name': 'sandbox_linux_unittests', |
| 96 'includes': [ | 106 'includes': [ |
| 97 'sandbox_linux_test_sources.gypi', | 107 'sandbox_linux_test_sources.gypi', |
| 98 ], | 108 ], |
| 99 'type': 'executable', | 109 'type': 'executable', |
| 100 }, | 110 }, |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 'sources': [ | 290 'sources': [ |
| 281 'system_headers/arm64_linux_syscalls.h', | 291 'system_headers/arm64_linux_syscalls.h', |
| 282 'system_headers/arm64_linux_ucontext.h', | 292 'system_headers/arm64_linux_ucontext.h', |
| 283 'system_headers/arm_linux_syscalls.h', | 293 'system_headers/arm_linux_syscalls.h', |
| 284 'system_headers/arm_linux_ucontext.h', | 294 'system_headers/arm_linux_ucontext.h', |
| 285 'system_headers/capability.h', | 295 'system_headers/capability.h', |
| 286 'system_headers/i386_linux_ucontext.h', | 296 'system_headers/i386_linux_ucontext.h', |
| 287 'system_headers/linux_futex.h', | 297 'system_headers/linux_futex.h', |
| 288 'system_headers/linux_seccomp.h', | 298 'system_headers/linux_seccomp.h', |
| 289 'system_headers/linux_syscalls.h', | 299 'system_headers/linux_syscalls.h', |
| 300 'system_headers/linux_time.h', |
| 290 'system_headers/linux_ucontext.h', | 301 'system_headers/linux_ucontext.h', |
| 291 'system_headers/mips_linux_syscalls.h', | 302 'system_headers/mips_linux_syscalls.h', |
| 292 'system_headers/mips_linux_ucontext.h', | 303 'system_headers/mips_linux_ucontext.h', |
| 293 'system_headers/x86_32_linux_syscalls.h', | 304 'system_headers/x86_32_linux_syscalls.h', |
| 294 'system_headers/x86_64_linux_syscalls.h', | 305 'system_headers/x86_64_linux_syscalls.h', |
| 295 ], | 306 ], |
| 296 'include_dirs': [ | 307 'include_dirs': [ |
| 297 '..', | 308 '..', |
| 298 ], | 309 ], |
| 299 }, | 310 }, |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 '../../build/isolate.gypi', | 407 '../../build/isolate.gypi', |
| 397 ], | 408 ], |
| 398 'sources': [ | 409 'sources': [ |
| 399 '../sandbox_linux_unittests.isolate', | 410 '../sandbox_linux_unittests.isolate', |
| 400 ], | 411 ], |
| 401 }, | 412 }, |
| 402 ], | 413 ], |
| 403 }], | 414 }], |
| 404 ], | 415 ], |
| 405 } | 416 } |
| OLD | NEW |