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

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: Rebase 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
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.h » ('j') | no next file with comments »
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 057f1489c8dd217661972487c9e020e42d5d3c18..c0b770dcc43a9afaaebf4a127720cf56195d2609 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -262,6 +262,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.
@@ -397,6 +400,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"', {
@@ -487,6 +496,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)',
@@ -1359,6 +1369,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'],
}],
« no previous file with comments | « no previous file | chrome/browser/automation/testing_automation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698