Index: sandbox/sandbox.gyp |
diff --git a/sandbox/sandbox.gyp b/sandbox/sandbox.gyp |
index 186625f7ac14b612f360487769636a4ab04e01a8..5d5ebc51e290975574d6a53988f04da950fe798a 100644 |
--- a/sandbox/sandbox.gyp |
+++ b/sandbox/sandbox.gyp |
@@ -7,7 +7,7 @@ |
'../build/common.gypi', |
], |
'conditions': [ |
- [ 'OS=="linux"', { |
+ [ 'OS=="linux" and selinux==0', { |
'targets': [ |
{ |
'target_name': 'chrome_sandbox', |
@@ -69,6 +69,15 @@ |
]}, |
], |
}], |
+ [ 'OS=="linux" and selinux==1', { |
+ # GYP requires that each file have at least one target defined. |
+ 'targets': [ |
+ { |
+ 'target_name': 'sandbox', |
+ 'type': 'settings', |
+ }, |
+ ], |
+ }], |
[ 'OS=="win"', { |
'targets': [ |
{ |