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("proto") { | 7 proto_library("proto") { |
8 sources = [ | 8 sources = [ |
9 "safebrowsing.proto", | 9 "safebrowsing.proto", |
10 ] | 10 ] |
11 } | 11 } |
12 | 12 |
13 group("safe_browsing_db") { | 13 group("safe_browsing_db") { |
14 deps = [ | 14 deps = [ |
15 ":prefix_set", | 15 ":prefix_set", |
| 16 ":proto", |
16 ":util", | 17 ":util", |
17 ] | 18 ] |
18 } | 19 } |
19 | 20 |
20 source_set("prefix_set") { | 21 source_set("prefix_set") { |
21 sources = [ | 22 sources = [ |
22 "prefix_set.cc", | 23 "prefix_set.cc", |
23 "prefix_set.h", | 24 "prefix_set.h", |
24 ] | 25 ] |
25 deps = [ | 26 deps = [ |
(...skipping 29 matching lines...) Expand all Loading... |
55 ":util", | 56 ":util", |
56 "//base", | 57 "//base", |
57 "//testing/gtest", | 58 "//testing/gtest", |
58 "//url", | 59 "//url", |
59 ] | 60 ] |
60 if (is_win) { | 61 if (is_win) { |
61 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 62 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
62 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 63 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
63 } | 64 } |
64 } | 65 } |
OLD | NEW |