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

Unified Diff: sandbox/sandbox.gyp

Issue 203071: Linux: add support for SELinux. (Closed)
Patch Set: Created 11 years, 3 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: 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': [
{

Powered by Google App Engine
This is Rietveld 408576698