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': { |