Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Side by Side Diff: sandbox/linux/sandbox_linux.gypi

Issue 1147463003: Linux sandbox: support build configuration without base test framework (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sandbox/linux/BUILD.gn ('k') | sandbox/linux/sandbox_linux_test_sources.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « sandbox/linux/BUILD.gn ('k') | sandbox/linux/sandbox_linux_test_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698