Clean-up safe browsing dependencies.

Rather than excluding safe_browsing dependencies for non-safe_browsing
builds only include them when needed. This is a baby-step towards a
safe_browsing component.

This is part of Android upstreaming (smhasher isn't used).

BUG=137571


Review URL: https://chromiumcodereview.appspot.com/10825226

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150846 0039d316-1c4b-4281-b951-d872f2087c98
parent 3bf7ebbb
......@@ -13,7 +13,6 @@
'common_net',
'chrome_resources.gyp:chrome_resources',
'chrome_resources.gyp:chrome_strings',
'safe_browsing_proto',
'../content/content.gyp:content_renderer',
'../net/net.gyp:net',
'../ppapi/ppapi_internal.gyp:ppapi_host',
......@@ -26,7 +25,6 @@
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
'../third_party/npapi/npapi.gyp:npapi',
'../third_party/smhasher/smhasher.gyp:murmurhash3',
'../third_party/WebKit/Source/WebKit/chromium/WebKit.gyp:webkit',
'../ui/surface/surface.gyp:surface',
'../webkit/support/webkit_support.gyp:glue',
......@@ -285,6 +283,10 @@
'defines': [
'ENABLE_SAFE_BROWSING',
],
'dependencies': [
'safe_browsing_proto',
'../third_party/smhasher/smhasher.gyp:murmurhash3',
],
}, { # safe_browsing==0
'sources/': [
['exclude', '^renderer/safe_browsing/'],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment