From 4b58e7dd7ac4e6c0f9d7480ef6e689ced72ce3d0 Mon Sep 17 00:00:00 2001 From: "torne@chromium.org" Date: Mon, 11 Jul 2011 10:22:56 +0000 Subject: 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 --- build/common.gypi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build') 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)', -- cgit v1.1