| 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 '../../build/isolate.gypi', | 406 '../../build/isolate.gypi', |
| 397 ], | 407 ], |
| 398 'sources': [ | 408 'sources': [ |
| 399 '../sandbox_linux_unittests.isolate', | 409 '../sandbox_linux_unittests.isolate', |
| 400 ], | 410 ], |
| 401 }, | 411 }, |
| 402 ], | 412 ], |
| 403 }], | 413 }], |
| 404 ], | 414 ], |
| 405 } | 415 } |
| OLD | NEW |