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

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

Issue 2450993003: Componentize safe_browsing [1]: create component, move messages, constants and switches. (Closed)
Patch Set: fix compile Created 4 years 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/common/safe_browsing/safebrowsing_messages.h ('k') | chrome/renderer/safe_browsing/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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 "//ppapi/proxy:ipc", 182 "//ppapi/proxy:ipc",
183 "//ppapi/shared_impl", 183 "//ppapi/shared_impl",
184 ] 184 ]
185 } 185 }
186 186
187 if (safe_browsing_mode != 0) { 187 if (safe_browsing_mode != 0) {
188 sources += [ 188 sources += [
189 "safe_browsing/threat_dom_details.cc", 189 "safe_browsing/threat_dom_details.cc",
190 "safe_browsing/threat_dom_details.h", 190 "safe_browsing/threat_dom_details.h",
191 ] 191 ]
192 deps += [ "//components/safe_browsing/common:common" ]
192 if (safe_browsing_mode == 1) { 193 if (safe_browsing_mode == 1) {
193 sources += [ 194 sources += [
194 "safe_browsing/feature_extractor_clock.cc", 195 "safe_browsing/feature_extractor_clock.cc",
195 "safe_browsing/feature_extractor_clock.h", 196 "safe_browsing/feature_extractor_clock.h",
196 "safe_browsing/features.cc", 197 "safe_browsing/features.cc",
197 "safe_browsing/features.h", 198 "safe_browsing/features.h",
198 "safe_browsing/murmurhash3_util.cc", 199 "safe_browsing/murmurhash3_util.cc",
199 "safe_browsing/murmurhash3_util.h", 200 "safe_browsing/murmurhash3_util.h",
200 "safe_browsing/phishing_classifier.cc", 201 "safe_browsing/phishing_classifier.cc",
201 "safe_browsing/phishing_classifier.h", 202 "safe_browsing/phishing_classifier.h",
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 ] 393 ]
393 } 394 }
394 395
395 if (is_android) { 396 if (is_android) {
396 sources -= [ 397 sources -= [
397 "safe_browsing/mock_feature_extractor_clock.cc", 398 "safe_browsing/mock_feature_extractor_clock.cc",
398 "safe_browsing/mock_feature_extractor_clock.h", 399 "safe_browsing/mock_feature_extractor_clock.h",
399 ] 400 ]
400 } 401 }
401 } 402 }
OLDNEW
« no previous file with comments | « chrome/common/safe_browsing/safebrowsing_messages.h ('k') | chrome/renderer/safe_browsing/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698