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 ] |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 ] | 42 ] |
43 } | 43 } |
44 | 44 |
45 source_set("database_manager") { | 45 source_set("database_manager") { |
46 sources = [ | 46 sources = [ |
47 "database_manager.cc", | 47 "database_manager.cc", |
48 "database_manager.h", | 48 "database_manager.h", |
49 ] | 49 ] |
50 deps = [ | 50 deps = [ |
51 ":hit_report", | 51 ":hit_report", |
| 52 ":proto", |
52 ":util", | 53 ":util", |
| 54 ":v4_get_hash_protocol_manager", |
53 "//base:base", | 55 "//base:base", |
54 "//content/public/common", | 56 "//content/public/common", |
| 57 "//net", |
55 "//url:url", | 58 "//url:url", |
56 ] | 59 ] |
57 } | 60 } |
58 | 61 |
59 source_set("hit_report") { | 62 source_set("hit_report") { |
60 sources = [ | 63 sources = [ |
61 "hit_report.cc", | 64 "hit_report.cc", |
62 "hit_report.h", | 65 "hit_report.h", |
63 ] | 66 ] |
64 deps = [ | 67 deps = [ |
(...skipping 29 matching lines...) Expand all Loading... |
94 } | 97 } |
95 | 98 |
96 source_set("remote_database_manager") { | 99 source_set("remote_database_manager") { |
97 sources = [ | 100 sources = [ |
98 "remote_database_manager.cc", | 101 "remote_database_manager.cc", |
99 "remote_database_manager.h", | 102 "remote_database_manager.h", |
100 ] | 103 ] |
101 deps = [ | 104 deps = [ |
102 ":database_manager", | 105 ":database_manager", |
103 ":safe_browsing_api_handler", | 106 ":safe_browsing_api_handler", |
| 107 ":v4_get_hash_protocol_manager", |
104 "//base:base", | 108 "//base:base", |
105 "//components/variations", | 109 "//components/variations", |
106 "//content/public/browser", | 110 "//content/public/browser", |
107 "//url:url", | 111 "//url:url", |
108 ] | 112 ] |
109 } | 113 } |
110 | 114 |
111 source_set("safe_browsing_api_handler") { | 115 source_set("safe_browsing_api_handler") { |
112 sources = [ | 116 sources = [ |
113 "safe_browsing_api_handler.cc", | 117 "safe_browsing_api_handler.cc", |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 "//base", | 202 "//base", |
199 "//components/variations", | 203 "//components/variations", |
200 "//testing/gtest", | 204 "//testing/gtest", |
201 "//url", | 205 "//url", |
202 ] | 206 ] |
203 if (is_win) { | 207 if (is_win) { |
204 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 208 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
205 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 209 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
206 } | 210 } |
207 } | 211 } |
OLD | NEW |