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

Unified Diff: chrome/common/BUILD.gn

Issue 397853002: Refactor safe-browsing build-config definitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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: chrome/common/BUILD.gn
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
index 49e7552b3e9274b992ac7c0d2dfc877afbf27c77..005f6e70079645d490321076b15dfe772d16df7a 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
@@ -84,12 +84,16 @@ static_library("common") {
if (safe_browsing_mode == 1) {
defines += [ "FULL_SAFE_BROWSING" ]
+ defines += [ "SAFE_BROWSING_CSD" ]
+ defines += [ "SAFE_BROWSING_DATABASE" ]
+ defines += [ "SAFE_BROWSING_SERVICE" ]
sources += rebase_path(
gypi_values.chrome_common_full_safe_browsing_sources,
".", "//chrome")
}
if (safe_browsing_mode == 2) {
defines += [ "MOBILE_SAFE_BROWSING" ]
+ defines += [ "SAFE_BROWSING_SERVICE" ]
}
}

Powered by Google App Engine
This is Rietveld 408576698