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

Unified Diff: chrome/renderer/BUILD.gn

Issue 2667343006: Componentize safe_browsing [X+1] : move the renderer part to component.
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | chrome/renderer/safe_browsing/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/BUILD.gn
diff --git a/chrome/renderer/BUILD.gn b/chrome/renderer/BUILD.gn
index 1dd59886504d335e5d26b8880b0adafc8bc5862b..41434c73f27130acb05c935672223a8695cd419f 100644
--- a/chrome/renderer/BUILD.gn
+++ b/chrome/renderer/BUILD.gn
@@ -188,40 +188,6 @@ static_library("renderer") {
]
}
- if (safe_browsing_mode != 0) {
- sources += [
- "safe_browsing/threat_dom_details.cc",
- "safe_browsing/threat_dom_details.h",
- ]
- deps += [ "//components/safe_browsing/common:common" ]
- if (safe_browsing_mode == 1) {
- sources += [
- "safe_browsing/feature_extractor_clock.cc",
- "safe_browsing/feature_extractor_clock.h",
- "safe_browsing/features.cc",
- "safe_browsing/features.h",
- "safe_browsing/murmurhash3_util.cc",
- "safe_browsing/murmurhash3_util.h",
- "safe_browsing/phishing_classifier.cc",
- "safe_browsing/phishing_classifier.h",
- "safe_browsing/phishing_classifier_delegate.cc",
- "safe_browsing/phishing_classifier_delegate.h",
- "safe_browsing/phishing_dom_feature_extractor.cc",
- "safe_browsing/phishing_dom_feature_extractor.h",
- "safe_browsing/phishing_term_feature_extractor.cc",
- "safe_browsing/phishing_term_feature_extractor.h",
- "safe_browsing/phishing_url_feature_extractor.cc",
- "safe_browsing/phishing_url_feature_extractor.h",
- "safe_browsing/scorer.cc",
- "safe_browsing/scorer.h",
- ]
- deps += [
- "//chrome/common/safe_browsing:proto",
- "//third_party/smhasher:murmurhash3",
- ]
- }
- }
-
if (enable_extensions) {
sources += [
"extensions/app_bindings.cc",
« no previous file with comments | « no previous file | chrome/renderer/safe_browsing/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698