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

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

Issue 11618010: Linux Sandbox: get everything to compile on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 | Annotate | Revision Log
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 }, { 10 }, {
11 'compile_suid_client': 0, 11 'compile_suid_client': 0,
12 }], 12 }],
13 ['(OS=="linux" or OS=="android") and (target_arch=="ia32" ' 13 ['(OS=="linux" or OS=="android") and (target_arch=="ia32" '
14 'or target_arch=="x64" or target_arch=="arm")', { 14 'or target_arch=="x64" or target_arch=="arm")', {
15 'compile_seccomp_bpf': 1, 15 'compile_seccomp_bpf': 1,
16 }, { 16 }, {
17 'compile_seccomp_bpf': 0, 17 'compile_seccomp_bpf': 0,
18 }], 18 }],
19 ], 19 ],
20 }, 20 },
21 'target_defaults': { 21 'target_defaults': {
22 'target_conditions': [ 22 'target_conditions': [
23 # All linux/ files will automatically be excluded on Android 23 # All linux/ files will automatically be excluded on Android
24 # so make sure we re-include them explicitly. 24 # so make sure we re-include them explicitly.
25 ['OS == "android"', { 25 ['OS == "android"', {
26 'sources/': [ 26 'sources/': [
27 ['include', '^linux/'], 27 ['include', '^linux/'],
28 # TODO(jln): some files don't yet even compile on Android.
29 # crbug.com/166704
30 ['exclude', 'errorcode_unittest\\.cc$'],
31 ['exclude', 'sandbox_bpf\\.cc$'],
32 ['exclude', 'sandbox_bpf_unittest\\.cc$'],
33 ['exclude', 'syscall_unittest\\.cc$'],
34 ], 28 ],
35 }], 29 }],
36 ], 30 ],
37 }, 31 },
38 'targets': [ 32 'targets': [
39 # We have two principal targets: sandbox and sandbox_linux_unittests 33 # We have two principal targets: sandbox and sandbox_linux_unittests
40 # All other targets are listed as dependencies. 34 # All other targets are listed as dependencies.
41 # FIXME(jln): for historial reasons, sandbox_linux is the setuid sandbox 35 # FIXME(jln): for historial reasons, sandbox_linux is the setuid sandbox
42 # and is its own target. 36 # and is its own target.
43 { 37 {
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 'input_shlib_path': 209 'input_shlib_path':
216 '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sandbox_linux_unittests' 210 '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)sandbox_linux_unittests'
217 '<(SHARED_LIB_SUFFIX)', 211 '<(SHARED_LIB_SUFFIX)',
218 }, 212 },
219 'includes': [ '../../build/apk_test.gypi' ], 213 'includes': [ '../../build/apk_test.gypi' ],
220 } 214 }
221 ], 215 ],
222 }], 216 }],
223 ], 217 ],
224 } 218 }
OLDNEW
« no previous file with comments | « no previous file | sandbox/linux/seccomp-bpf/sandbox_bpf.cc » ('j') | sandbox/linux/seccomp-bpf/sandbox_bpf.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698