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

Unified Diff: content/content_common.gypi

Issue 180783019: [Android] Define a baseline seccomp-bpf sandbox policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments, remove warmup Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/content_common.gypi
diff --git a/content/content_common.gypi b/content/content_common.gypi
index c4096fff7f25c6828db14e017a53ff10a95c9f2a..85c3aac934dbee56d918ef9d74b401c98db6d4e3 100644
--- a/content/content_common.gypi
+++ b/content/content_common.gypi
@@ -392,6 +392,8 @@
'common/sandbox_init_mac.cc',
'common/sandbox_init_mac.h',
'common/sandbox_init_win.cc',
+ 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc',
+ 'common/sandbox_linux/android/sandbox_bpf_base_policy_android.h',
'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc',
'common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h',
'common/sandbox_linux/bpf_gpu_policy_linux.cc',
@@ -451,6 +453,14 @@
'common/zygote_commands_linux.h',
'port/common/input_event_ack_state.h',
],
+ 'target_conditions': [
+ ['OS=="android"', {
+ 'sources/': [
+ ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.cc$'],
+ ['include', '^common/sandbox_linux/sandbox_bpf_base_policy_linux\\.h$'],
+ ],
+ }],
+ ],
'conditions': [
['use_aura==1', {
'sources!': [
« no previous file with comments | « content/common/sandbox_linux/android/sandbox_bpf_base_policy_android.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698