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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | components/nacl/loader/nacl_sandbox_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl.gyp
diff --git a/components/nacl.gyp b/components/nacl.gyp
index 3a86d2df4ddcdb730072aaaacadb68b9abe308cf..dfc47d34a164f0175b169da893e0ebc8ca3ecd2a 100644
--- a/components/nacl.gyp
+++ b/components/nacl.gyp
@@ -216,6 +216,14 @@
}],
],
}],
+ ['use_seccomp_bpf == 0', {
+ 'sources!': [
+ '../content/common/sandbox_linux/sandbox_bpf_base_policy_linux.cc',
+ '../content/common/sandbox_linux/sandbox_init_linux.cc',
+ ],
+ }, {
+ 'defines': ['USE_SECCOMP_BPF'],
+ }],
],
'cflags': ['-fPIE'],
'link_settings': {
« 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