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

Unified Diff: build/common.gypi

Issue 397853002: Refactor safe-browsing build-config definitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup gn files Created 6 years, 5 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
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 92effa3d76bb704605ccb1f361f179ef33ab1585..10fa98aed83b6a4acb0db48c8282e96882209c7e 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2858,6 +2858,25 @@
['video_hole==1', {
'defines': ['VIDEO_HOLE=1'],
}],
+
+ # SAFE_BROWSING_SERVICE - browser manages a safe-browsing service.
+ # SAFE_BROWSING_DATABASE - service manages a local database.
+ # SAFE_BROWSING_CSD - enable client-side phishing detection.
+ ['safe_browsing==1', {
+ 'defines': [
+ 'FULL_SAFE_BROWSING',
+ 'SAFE_BROWSING_CSD',
+ 'SAFE_BROWSING_DATABASE',
+ 'SAFE_BROWSING_SERVICE',
+ ],
+ }],
+ # TODO(shess): I believe this case is no longer in use.
+ ['safe_browsing==2', {
+ 'defines': [
+ 'MOBILE_SAFE_BROWSING',
+ 'SAFE_BROWSING_SERVICE',
+ ],
+ }],
], # conditions for 'target_defaults'
'target_conditions': [
['<(use_openssl)==1', {
« no previous file with comments | « no previous file | build/config/BUILD.gn » ('j') | chrome/browser/renderer_host/safe_browsing_resource_throttle_factory.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698