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

Side by Side Diff: sandbox/sandbox_linux.gypi

Issue 10633012: Revert 143426 - Sandbox GYP: separate Windows and Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « sandbox/sandbox.gyp ('k') | sandbox/sandbox_windows.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'targets': [
7 {
8 'target_name': 'sandbox',
9 'type': 'none',
10 'conditions': [
11 # Only compile in the seccomp mode 1 code for the flag combination
12 # where we support it.
13 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64") '
14 'and toolkit_views==0 and selinux==0', {
15 'dependencies': [
16 '../seccompsandbox/seccomp.gyp:seccomp_sandbox',
17 ],
18 }],
19 # This does not include Android.
20 [ 'OS=="linux" and (target_arch=="ia32" or target_arch=="x64")', {
21 'type': 'static_library',
22 # Compile seccomp mode 2 code on Linux
23 'sources': [
24 'linux/seccomp-bpf/sandbox_bpf.cc',
25 'linux/seccomp-bpf/sandbox_bpf.h',
26 'linux/seccomp-bpf/verifier.cc',
27 'linux/seccomp-bpf/verifier.h',
28 ],
29 'dependencies': [
30 '../base/base.gyp:base',
31 ],
32 'include_dirs': [
33 '..',
34 ],
35 }],
36 ],
37 },
38 {
39 # The setuid sandbox, for Linux
40 'target_name': 'chrome_sandbox',
41 'type': 'executable',
42 'sources': [
43 'linux/suid/linux_util.c',
44 'linux/suid/linux_util.h',
45 'linux/suid/process_util.h',
46 'linux/suid/process_util_linux.c',
47 'linux/suid/sandbox.h',
48 'linux/suid/sandbox.c',
49 ],
50 'cflags': [
51 # For ULLONG_MAX
52 '-std=gnu99',
53 ],
54 'include_dirs': [
55 '..',
56 ],
57 },
58 ],
59 }
OLDNEW
« no previous file with comments | « sandbox/sandbox.gyp ('k') | sandbox/sandbox_windows.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698