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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 "//crypto", | 148 "//crypto", |
149 "//net", | 149 "//net", |
150 "//url:url", | 150 "//url:url", |
151 ] | 151 ] |
152 if (is_win) { | 152 if (is_win) { |
153 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 153 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
154 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 154 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
155 } | 155 } |
156 } | 156 } |
157 | 157 |
| 158 source_set("v4_database") { |
| 159 sources = [ |
| 160 "v4_database.cc", |
| 161 "v4_database.h", |
| 162 ] |
| 163 public_deps = [ |
| 164 ":proto", |
| 165 ] |
| 166 deps = [ |
| 167 ":v4_protocol_manager_util", |
| 168 ":v4_store", |
| 169 "//base", |
| 170 ] |
| 171 } |
| 172 |
158 source_set("v4_get_hash_protocol_manager") { | 173 source_set("v4_get_hash_protocol_manager") { |
159 sources = [ | 174 sources = [ |
160 "v4_get_hash_protocol_manager.cc", | 175 "v4_get_hash_protocol_manager.cc", |
161 "v4_get_hash_protocol_manager.h", | 176 "v4_get_hash_protocol_manager.h", |
162 ] | 177 ] |
163 public_deps = [ | 178 public_deps = [ |
164 ":proto", | 179 ":proto", |
165 ] | 180 ] |
166 deps = [ | 181 deps = [ |
167 ":util", | 182 ":util", |
168 ":v4_protocol_manager_util", | 183 ":v4_protocol_manager_util", |
169 "//base", | 184 "//base", |
170 "//net", | 185 "//net", |
171 "//url:url", | 186 "//url:url", |
172 ] | 187 ] |
173 } | 188 } |
174 | 189 |
175 source_set("v4_local_database_manager") { | 190 source_set("v4_local_database_manager") { |
176 sources = [ | 191 sources = [ |
177 "v4_local_database_manager.cc", | 192 "v4_local_database_manager.cc", |
178 "v4_local_database_manager.h", | 193 "v4_local_database_manager.h", |
179 ] | 194 ] |
180 deps = [ | 195 deps = [ |
181 ":database_manager", | 196 ":database_manager", |
182 ":hit_report", | 197 ":hit_report", |
183 ":proto", | 198 ":proto", |
| 199 ":v4_database", |
184 ":v4_protocol_manager_util", | 200 ":v4_protocol_manager_util", |
185 ":v4_update_protocol_manager", | 201 ":v4_update_protocol_manager", |
186 "//base", | 202 "//base", |
187 "//content/public/browser", | 203 "//content/public/browser", |
188 "//net", | 204 "//net", |
189 "//url:url", | 205 "//url:url", |
190 ] | 206 ] |
191 } | 207 } |
192 | 208 |
193 source_set("v4_protocol_manager_util") { | 209 source_set("v4_protocol_manager_util") { |
194 sources = [ | 210 sources = [ |
195 "v4_protocol_manager_util.cc", | 211 "v4_protocol_manager_util.cc", |
196 "v4_protocol_manager_util.h", | 212 "v4_protocol_manager_util.h", |
197 ] | 213 ] |
198 deps = [ | 214 deps = [ |
199 ":proto", | 215 ":proto", |
200 "//base", | 216 "//base", |
201 "//net", | 217 "//net", |
202 "//url:url", | 218 "//url:url", |
203 ] | 219 ] |
204 } | 220 } |
205 | 221 |
| 222 source_set("v4_store") { |
| 223 sources = [ |
| 224 "v4_store.h", |
| 225 ] |
| 226 deps = [] |
| 227 } |
| 228 |
206 source_set("v4_update_protocol_manager") { | 229 source_set("v4_update_protocol_manager") { |
207 sources = [ | 230 sources = [ |
208 "v4_update_protocol_manager.cc", | 231 "v4_update_protocol_manager.cc", |
209 "v4_update_protocol_manager.h", | 232 "v4_update_protocol_manager.h", |
210 ] | 233 ] |
211 deps = [ | 234 deps = [ |
212 ":proto", | 235 ":proto", |
213 ":util", | 236 ":util", |
214 ":v4_protocol_manager_util", | 237 ":v4_protocol_manager_util", |
215 "//base", | 238 "//base", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 "//base", | 289 "//base", |
267 "//components/variations", | 290 "//components/variations", |
268 "//testing/gtest", | 291 "//testing/gtest", |
269 "//url", | 292 "//url", |
270 ] | 293 ] |
271 if (is_win) { | 294 if (is_win) { |
272 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 295 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
273 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 296 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
274 } | 297 } |
275 } | 298 } |
OLD | NEW |