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

Side by Side Diff: components/nacl.gyp

Issue 117803002: Make building seccomp-bpf a GYP condition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Excludes files to be IDE friendly. Created 7 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
« no previous file with comments | « build/common.gypi ('k') | components/nacl/loader/nacl_sandbox_linux.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'includes': [ 9 'includes': [
10 'nacl/nacl_defines.gypi', 10 'nacl/nacl_defines.gypi',
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 }], 209 }],
210 ['os_posix == 1 and OS != "mac"', { 210 ['os_posix == 1 and OS != "mac"', {
211 'conditions': [ 211 'conditions': [
212 ['linux_use_tcmalloc==1', { 212 ['linux_use_tcmalloc==1', {
213 'dependencies': [ 213 'dependencies': [
214 '../base/allocator/allocator.gyp:allocator', 214 '../base/allocator/allocator.gyp:allocator',
215 ], 215 ],
216 }], 216 }],
217 ], 217 ],
218 }], 218 }],
219 ['use_seccomp_bpf == 0', {
220 'sources!': [
221 '../content/common/sandbox_linux/sandbox_bpf_base_policy_lin ux.cc',
222 '../content/common/sandbox_linux/sandbox_init_linux.cc',
223 ],
224 }, {
225 'defines': ['USE_SECCOMP_BPF'],
226 }],
219 ], 227 ],
220 'cflags': ['-fPIE'], 228 'cflags': ['-fPIE'],
221 'link_settings': { 229 'link_settings': {
222 'ldflags': ['-pie'], 230 'ldflags': ['-pie'],
223 }, 231 },
224 }, 232 },
225 ], 233 ],
226 }], 234 }],
227 ['OS=="win" and target_arch=="ia32"', { 235 ['OS=="win" and target_arch=="ia32"', {
228 'targets': [ 236 'targets': [
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 'nacl/common/nacl_types.h', 370 'nacl/common/nacl_types.h',
363 'nacl/common/pnacl_types.cc', 371 'nacl/common/pnacl_types.cc',
364 'nacl/common/pnacl_types.h', 372 'nacl/common/pnacl_types.h',
365 ], 373 ],
366 'include_dirs': [ 374 'include_dirs': [
367 '..', 375 '..',
368 ], 376 ],
369 }, 377 },
370 ] 378 ]
371 } 379 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | components/nacl/loader/nacl_sandbox_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698