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

Side by Side Diff: components/safe_browsing_db/BUILD.gn

Issue 2371043003: Small: Start checking URLs using PVer4. Verdict not returned to client yet. (Closed)
Patch Set: Remove NOTREACHED Created 4 years, 2 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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("//third_party/protobuf/proto_library.gni") 5 import("//third_party/protobuf/proto_library.gni")
6 6
7 proto_library("safebrowsing_proto") { 7 proto_library("safebrowsing_proto") {
8 sources = [ 8 sources = [
9 "safebrowsing.proto", 9 "safebrowsing.proto",
10 ] 10 ]
(...skipping 23 matching lines...) Expand all
34 ":safebrowsing_proto", 34 ":safebrowsing_proto",
35 ":util", 35 ":util",
36 ] 36 ]
37 } 37 }
38 38
39 # This target is for the desktop version. 39 # This target is for the desktop version.
40 group("safe_browsing_db") { 40 group("safe_browsing_db") {
41 deps = [ 41 deps = [
42 ":safe_browsing_db_shared", 42 ":safe_browsing_db_shared",
43 ":v4_local_database_manager", 43 ":v4_local_database_manager",
44 ":v4_update_protocol_manager",
45 ] 44 ]
46 } 45 }
47 46
48 # This target is for the mobile version. 47 # This target is for the mobile version.
49 group("safe_browsing_db_mobile") { 48 group("safe_browsing_db_mobile") {
50 deps = [ 49 deps = [
51 ":remote_database_manager", 50 ":remote_database_manager",
52 ":safe_browsing_api_handler", 51 ":safe_browsing_api_handler",
53 ":safe_browsing_api_handler_util", 52 ":safe_browsing_api_handler_util",
54 ":safe_browsing_db_shared", 53 ":safe_browsing_db_shared",
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 ":safebrowsing_proto", 177 ":safebrowsing_proto",
179 ] 178 ]
180 deps = [ 179 deps = [
181 ":v4_protocol_manager_util", 180 ":v4_protocol_manager_util",
182 ":v4_store", 181 ":v4_store",
183 "//base", 182 "//base",
184 "//content/public/browser", 183 "//content/public/browser",
185 ] 184 ]
186 } 185 }
187 186
187 static_library("v4_feature_list") {
188 sources = [
189 "v4_feature_list.cc",
190 "v4_feature_list.h",
191 ]
192 deps = [
193 "//base",
194 ]
195 }
196
188 static_library("v4_get_hash_protocol_manager") { 197 static_library("v4_get_hash_protocol_manager") {
189 sources = [ 198 sources = [
190 "v4_get_hash_protocol_manager.cc", 199 "v4_get_hash_protocol_manager.cc",
191 "v4_get_hash_protocol_manager.h", 200 "v4_get_hash_protocol_manager.h",
192 ] 201 ]
193 public_deps = [ 202 public_deps = [
194 ":safebrowsing_proto", 203 ":safebrowsing_proto",
195 ] 204 ]
196 deps = [ 205 deps = [
197 ":util", 206 ":util",
198 ":v4_protocol_manager_util", 207 ":v4_protocol_manager_util",
199 "//base", 208 "//base",
200 "//content/public/browser", 209 "//content/public/browser",
201 "//net", 210 "//net",
202 "//url", 211 "//url",
203 ] 212 ]
204 } 213 }
205 214
206 static_library("v4_local_database_manager") { 215 static_library("v4_local_database_manager") {
207 sources = [ 216 sources = [
208 "v4_local_database_manager.cc", 217 "v4_local_database_manager.cc",
209 "v4_local_database_manager.h", 218 "v4_local_database_manager.h",
210 ] 219 ]
211 deps = [ 220 deps = [
212 ":database_manager", 221 ":database_manager",
213 ":hit_report", 222 ":hit_report",
214 ":safebrowsing_proto", 223 ":safebrowsing_proto",
215 ":v4_database", 224 ":v4_database",
225 ":v4_feature_list",
216 ":v4_get_hash_protocol_manager", 226 ":v4_get_hash_protocol_manager",
217 ":v4_protocol_manager_util", 227 ":v4_protocol_manager_util",
218 ":v4_update_protocol_manager", 228 ":v4_update_protocol_manager",
219 "//base", 229 "//base",
220 "//content/public/browser", 230 "//content/public/browser",
221 "//net", 231 "//net",
222 "//url", 232 "//url",
223 ] 233 ]
224 } 234 }
225 235
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 "//base", 401 "//base",
392 "//components/variations", 402 "//components/variations",
393 "//testing/gtest", 403 "//testing/gtest",
394 "//url", 404 "//url",
395 ] 405 ]
396 if (is_win) { 406 if (is_win) {
397 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 407 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
398 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. 408 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'.
399 } 409 }
400 } 410 }
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/services_delegate_stub.cc ('k') | components/safe_browsing_db/v4_feature_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698