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

Unified Diff: build/common.gypi

Issue 9863047: Exclude ProtectorService code from Android build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 72dae4e8b01197ba94f383eab39c55a0b64dcaa0..a361fdaa6063fd428394a6b37e850c9f1f8a4640 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -263,6 +263,9 @@
# Enable plug-in installation by default.
'enable_plugin_installation%': 1,
+ # Enable protector service by default.
+ 'enable_protector_service%': 1,
+
# Specifies whether to use canvas_skia.cc in place of platform
# specific implementations of gfx::Canvas. Affects text drawing in the
# Chrome UI.
@@ -405,6 +408,12 @@
'enable_plugin_installation%': 1,
}],
+ ['OS=="android"', {
+ 'enable_protector_service%': 0,
+ }, {
+ 'enable_protector_service%': 1,
+ }],
+
# linux_use_gold_binary: whether to use the binary checked into
# third_party/gold.
['OS=="linux"', {
@@ -497,6 +506,7 @@
'enable_web_intents%': '<(enable_web_intents)',
'enable_web_intents_tag%': '<(enable_web_intents_tag)',
'enable_plugin_installation%': '<(enable_plugin_installation)',
+ 'enable_protector_service%': '<(enable_protector_service)',
'enable_themes%': '<(enable_themes)',
'linux_use_gold_binary%': '<(linux_use_gold_binary)',
'linux_use_gold_flags%': '<(linux_use_gold_flags)',
@@ -1372,6 +1382,9 @@
['enable_plugin_installation==1', {
'defines': ['ENABLE_PLUGIN_INSTALLATION=1'],
}],
+ ['enable_protector_service==1', {
+ 'defines': ['ENABLE_PROTECTOR_SERVICE=1'],
+ }],
['enable_themes==1', {
'defines': ['ENABLE_THEMES=1'],
}],

Powered by Google App Engine
This is Rietveld 408576698