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

Unified Diff: chrome/chrome.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: chrome/chrome.gyp
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index eb799d7baf27ad6d2dc8fad4c1d731cd6383e297..6819a8979bd1411ee16e87e97a438c988f9a5211 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -648,6 +648,11 @@
'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc',
],
}],
+ ['OS=="linux" and selinux==1', {
+ 'dependencies': [
+ '../build/linux/system.gyp:selinux',
+ ],
+ }],
['OS=="win"', {
'include_dirs': [
'third_party/wtl/include',
@@ -3385,9 +3390,11 @@
'installer/installer.gyp:installer_util',
],
}],
- ],
- 'dependencies': [
- '../sandbox/sandbox.gyp:sandbox',
+ ['selinux==0', {
+ 'dependencies': [
+ '../sandbox/sandbox.gyp:sandbox',
+ ],
+ }],
],
}],
['OS=="mac" or OS=="win"', {
@@ -4238,11 +4245,15 @@
['exclude', '^browser/chromeos'],
],
}],
+ ['OS=="linux" and selinux==0', {
+ 'dependencies': [
+ '../sandbox/sandbox.gyp:*',
+ ],
+ }],
['OS=="linux"', {
'dependencies': [
'../build/linux/system.gyp:gtk',
'../build/linux/system.gyp:nss',
- '../sandbox/sandbox.gyp:*',
],
'sources': [
'browser/renderer_host/gtk_key_bindings_handler_unittest.cc',

Powered by Google App Engine
This is Rietveld 408576698