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

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

Issue 2756933003: Componentize safe_browsing: move renderer/ reporting part for WebView. (Closed)
Patch Set: fix comments Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/safe_browsing/threat_details.cc ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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("//components/spellcheck/spellcheck_build_features.gni") 7 import("//components/spellcheck/spellcheck_build_features.gni")
8 import("//extensions/features/features.gni") 8 import("//extensions/features/features.gni")
9 import("//media/media_options.gni") 9 import("//media/media_options.gni")
10 import("//ppapi/features/features.gni") 10 import("//ppapi/features/features.gni")
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 "//components/pdf/renderer", 181 "//components/pdf/renderer",
182 "//components/strings", 182 "//components/strings",
183 "//ppapi/host", 183 "//ppapi/host",
184 "//ppapi/proxy", 184 "//ppapi/proxy",
185 "//ppapi/proxy:ipc", 185 "//ppapi/proxy:ipc",
186 "//ppapi/shared_impl", 186 "//ppapi/shared_impl",
187 ] 187 ]
188 } 188 }
189 189
190 if (safe_browsing_mode != 0) { 190 if (safe_browsing_mode != 0) {
191 sources += [ 191 deps += [
192 "safe_browsing/threat_dom_details.cc", 192 "//components/safe_browsing/common:common",
193 "safe_browsing/threat_dom_details.h", 193 "//components/safe_browsing/renderer",
194 ] 194 ]
195 deps += [ "//components/safe_browsing/common:common" ]
196 if (safe_browsing_mode == 1) { 195 if (safe_browsing_mode == 1) {
197 sources += [ 196 sources += [
198 "safe_browsing/feature_extractor_clock.cc", 197 "safe_browsing/feature_extractor_clock.cc",
199 "safe_browsing/feature_extractor_clock.h", 198 "safe_browsing/feature_extractor_clock.h",
200 "safe_browsing/features.cc", 199 "safe_browsing/features.cc",
201 "safe_browsing/features.h", 200 "safe_browsing/features.h",
202 "safe_browsing/murmurhash3_util.cc", 201 "safe_browsing/murmurhash3_util.cc",
203 "safe_browsing/murmurhash3_util.h", 202 "safe_browsing/murmurhash3_util.h",
204 "safe_browsing/phishing_classifier.cc", 203 "safe_browsing/phishing_classifier.cc",
205 "safe_browsing/phishing_classifier.h", 204 "safe_browsing/phishing_classifier.h",
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 ] 397 ]
399 } 398 }
400 399
401 if (is_android) { 400 if (is_android) {
402 sources -= [ 401 sources -= [
403 "safe_browsing/mock_feature_extractor_clock.cc", 402 "safe_browsing/mock_feature_extractor_clock.cc",
404 "safe_browsing/mock_feature_extractor_clock.h", 403 "safe_browsing/mock_feature_extractor_clock.h",
405 ] 404 ]
406 } 405 }
407 } 406 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/threat_details.cc ('k') | chrome/renderer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698