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'], |
}], |