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

Side by Side Diff: sandbox/sandbox.gyp

Issue 10546041: Added a new Verifier class to the BPF compiler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update GYP file 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
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 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'target_defaults': { 9 'target_defaults': {
10 'variables': { 10 'variables': {
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 'type': 'none', 145 'type': 'none',
146 'conditions': [ 146 'conditions': [
147 # Only compile in the seccomp mode 1 code for the flag combination 147 # Only compile in the seccomp mode 1 code for the flag combination
148 # where we support it. 148 # where we support it.
149 [ 'OS=="linux" and target_arch!="arm" and toolkit_views==0 and selin ux==0', { 149 [ 'OS=="linux" and target_arch!="arm" and toolkit_views==0 and selin ux==0', {
150 'dependencies': [ 150 'dependencies': [
151 '../seccompsandbox/seccomp.gyp:seccomp_sandbox', 151 '../seccompsandbox/seccomp.gyp:seccomp_sandbox',
152 ], 152 ],
153 }], 153 }],
154 # This does not include Android. 154 # This does not include Android.
155 [ 'OS=="linux"', { 155 [ 'OS=="linux"', {
jln (very slow on Chromium) 2012/06/07 22:55:17 Don't forget to rebase your branch before trying t
156 'type': 'static_library', 156 'type': 'static_library',
157 # Always compile seccomp mode 2 code on Linux 157 # Always compile seccomp mode 2 code on Linux
158 'sources': [ 158 'sources': [
159 'linux/seccomp-bpf/sandbox_bpf.cc', 159 'linux/seccomp-bpf/sandbox_bpf.cc',
160 'linux/seccomp-bpf/sandbox_bpf.h', 160 'linux/seccomp-bpf/sandbox_bpf.h',
161 'linux/seccomp-bpf/verifier.cc',
162 'linux/seccomp-bpf/verifier.h',
161 ], 163 ],
162 'dependencies': [ 164 'dependencies': [
163 '../base/base.gyp:base', 165 '../base/base.gyp:base',
164 ], 166 ],
165 'include_dirs': [ 167 'include_dirs': [
166 '..', 168 '..',
167 ], 169 ],
168 }], 170 }],
169 ], 171 ],
170 }, 172 },
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 'POCDLL_EXPORTS', 397 'POCDLL_EXPORTS',
396 ], 398 ],
397 'include_dirs': [ 399 'include_dirs': [
398 '..', 400 '..',
399 ], 401 ],
400 }, 402 },
401 ], 403 ],
402 }], 404 }],
403 ], 405 ],
404 } 406 }
OLDNEW
« sandbox/linux/seccomp-bpf/verifier.cc ('K') | « sandbox/linux/seccomp-bpf/verifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698