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

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

Issue 2225613002: V4LDM: Add check for HashPrefix match and some tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move declaration of stores_to_look close to site of use. Created 4 years, 4 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 | « no previous file | components/safe_browsing_db/v4_database.h » ('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 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 } 277 }
278 278
279 source_set("unit_tests") { 279 source_set("unit_tests") {
280 testonly = true 280 testonly = true
281 sources = [ 281 sources = [
282 "database_manager_unittest.cc", 282 "database_manager_unittest.cc",
283 "prefix_set_unittest.cc", 283 "prefix_set_unittest.cc",
284 "util_unittest.cc", 284 "util_unittest.cc",
285 "v4_database_unittest.cc", 285 "v4_database_unittest.cc",
286 "v4_get_hash_protocol_manager_unittest.cc", 286 "v4_get_hash_protocol_manager_unittest.cc",
287 "v4_local_database_manager_unittest.cc",
287 "v4_protocol_manager_util_unittest.cc", 288 "v4_protocol_manager_util_unittest.cc",
288 "v4_rice_unittest.cc", 289 "v4_rice_unittest.cc",
289 "v4_store_unittest.cc", 290 "v4_store_unittest.cc",
290 "v4_update_protocol_manager_unittest.cc", 291 "v4_update_protocol_manager_unittest.cc",
291 ] 292 ]
292 deps = [ 293 deps = [
293 ":database_manager", 294 ":database_manager",
294 ":prefix_set", 295 ":prefix_set",
295 ":safebrowsing_proto", 296 ":safebrowsing_proto",
296 ":test_database_manager", 297 ":test_database_manager",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 "//base", 333 "//base",
333 "//components/variations", 334 "//components/variations",
334 "//testing/gtest", 335 "//testing/gtest",
335 "//url", 336 "//url",
336 ] 337 ]
337 if (is_win) { 338 if (is_win) {
338 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 339 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
339 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. 340 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'.
340 } 341 }
341 } 342 }
OLDNEW
« no previous file with comments | « no previous file | components/safe_browsing_db/v4_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698