summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authortorne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-11 10:22:56 +0000
committertorne@chromium.org <torne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-11 10:22:56 +0000
commit4b58e7dd7ac4e6c0f9d7480ef6e689ced72ce3d0 (patch)
treed39faabd90d2e98f7dd60b2988fa1352918fa883 /build
parent60b5f5aaeb21d77915310c9ba219d9d289818421 (diff)
downloadchromium_src-4b58e7dd7ac4e6c0f9d7480ef6e689ced72ce3d0.zip
chromium_src-4b58e7dd7ac4e6c0f9d7480ef6e689ced72ce3d0.tar.gz
chromium_src-4b58e7dd7ac4e6c0f9d7480ef6e689ced72ce3d0.tar.bz2
Make safe browsing optional at compile time.
Introduce a gyp variable "safe_browsing" which can be set to 0 to remove safe browsing code at compile time. Review URL: http://codereview.chromium.org/7227013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92000 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index c2c56cc..5fdcf03 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -159,6 +159,9 @@
# Configuration policy is enabled by default. Set to 0 to disable.
'configuration_policy%': 1,
+ # Safe browsing is compiled in by default. Set to 0 to disable.
+ 'safe_browsing%': 1,
+
# If this is set, the clang plugins used on the buildbot will be used.
# Run tools/clang/scripts/update.sh to make sure they are compiled.
# This causes 'clang_chrome_plugins_flags' to be set.
@@ -269,6 +272,7 @@
'remoting%': '<(remoting)',
'p2p_apis%': '<(p2p_apis)',
'configuration_policy%': '<(configuration_policy)',
+ 'safe_browsing%': '<(safe_browsing)',
'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
'enable_register_protocol_handler%': '<(enable_register_protocol_handler)',
'enable_smooth_scrolling%': '<(enable_smooth_scrolling)',