OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |