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

Unified Diff: build/common.gypi

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
« no previous file with comments | « no previous file | build/linux/system.gyp » ('j') | chrome/browser/zygote_main_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index aeb5d111ad29c2c80c2ecbca02f465b27c77a462..7b8ad12f20cd1233186115bc0af796298cde837a 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -112,6 +112,9 @@
# sandbox the zygote process and, thus, all renderer processes.
'linux_sandbox_path%': '',
+ # Set this to true to enable SELinux support.
+ 'selinux%': 0,
+
'conditions': [
['OS=="linux"', {
'conditions': [
@@ -189,6 +192,9 @@
['chromeos==1', {
'defines': ['OS_CHROMEOS=1'],
}],
+ ['selinux==1', {
+ 'defines': ['CHROMIUM_SELINUX=1'],
+ }],
['coverage!=0', {
'conditions': [
['OS=="mac"', {
« no previous file with comments | « no previous file | build/linux/system.gyp » ('j') | chrome/browser/zygote_main_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698