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

Side by Side Diff: chrome/renderer/BUILD.gn

Issue 2450993003: Componentize safe_browsing [1]: create component, move messages, constants and switches. (Closed)
Patch Set: rebase + more fixes Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//chrome/common/features.gni") 6 import("//chrome/common/features.gni")
7 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
8 8
9 grit("resources") { 9 grit("resources") {
10 source = "resources/renderer_resources.grd" 10 source = "resources/renderer_resources.grd"
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 "safe_browsing/phishing_dom_feature_extractor.h", 201 "safe_browsing/phishing_dom_feature_extractor.h",
202 "safe_browsing/phishing_term_feature_extractor.cc", 202 "safe_browsing/phishing_term_feature_extractor.cc",
203 "safe_browsing/phishing_term_feature_extractor.h", 203 "safe_browsing/phishing_term_feature_extractor.h",
204 "safe_browsing/phishing_url_feature_extractor.cc", 204 "safe_browsing/phishing_url_feature_extractor.cc",
205 "safe_browsing/phishing_url_feature_extractor.h", 205 "safe_browsing/phishing_url_feature_extractor.h",
206 "safe_browsing/scorer.cc", 206 "safe_browsing/scorer.cc",
207 "safe_browsing/scorer.h", 207 "safe_browsing/scorer.h",
208 ] 208 ]
209 deps += [ 209 deps += [
210 "//chrome/common/safe_browsing:proto", 210 "//chrome/common/safe_browsing:proto",
211 "//components/safe_browsing/common:common",
Nathan Parker 2016/10/28 17:55:07 If this code is needed on Android, then it should
timvolodine 2016/11/04 17:53:02 yes correct thanks, the thread_dom_details.cc actu
211 "//third_party/smhasher:murmurhash3", 212 "//third_party/smhasher:murmurhash3",
212 ] 213 ]
213 } 214 }
214 } 215 }
215 216
216 if (enable_extensions) { 217 if (enable_extensions) {
217 sources += [ 218 sources += [
218 "extensions/app_bindings.cc", 219 "extensions/app_bindings.cc",
219 "extensions/app_bindings.h", 220 "extensions/app_bindings.h",
220 "extensions/automation_internal_custom_bindings.cc", 221 "extensions/automation_internal_custom_bindings.cc",
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 ] 388 ]
388 } 389 }
389 390
390 if (is_android) { 391 if (is_android) {
391 sources -= [ 392 sources -= [
392 "safe_browsing/mock_feature_extractor_clock.cc", 393 "safe_browsing/mock_feature_extractor_clock.cc",
393 "safe_browsing/mock_feature_extractor_clock.h", 394 "safe_browsing/mock_feature_extractor_clock.h",
394 ] 395 ]
395 } 396 }
396 } 397 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698