| 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 23 matching lines...) Expand all Loading... |
| 34 ":safebrowsing_proto", | 34 ":safebrowsing_proto", |
| 35 ":util", | 35 ":util", |
| 36 ] | 36 ] |
| 37 } | 37 } |
| 38 | 38 |
| 39 # This target is for the desktop version. | 39 # This target is for the desktop version. |
| 40 group("safe_browsing_db") { | 40 group("safe_browsing_db") { |
| 41 deps = [ | 41 deps = [ |
| 42 ":safe_browsing_db_shared", | 42 ":safe_browsing_db_shared", |
| 43 ":v4_local_database_manager", | 43 ":v4_local_database_manager", |
| 44 ":v4_update_protocol_manager", |
| 44 ] | 45 ] |
| 45 } | 46 } |
| 46 | 47 |
| 47 # This target is for the mobile version. | 48 # This target is for the mobile version. |
| 48 group("safe_browsing_db_mobile") { | 49 group("safe_browsing_db_mobile") { |
| 49 deps = [ | 50 deps = [ |
| 50 ":remote_database_manager", | 51 ":remote_database_manager", |
| 51 ":safe_browsing_api_handler", | 52 ":safe_browsing_api_handler", |
| 52 ":safe_browsing_api_handler_util", | 53 ":safe_browsing_api_handler_util", |
| 53 ":safe_browsing_db_shared", | 54 ":safe_browsing_db_shared", |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 ":safebrowsing_proto", | 178 ":safebrowsing_proto", |
| 178 ] | 179 ] |
| 179 deps = [ | 180 deps = [ |
| 180 ":v4_protocol_manager_util", | 181 ":v4_protocol_manager_util", |
| 181 ":v4_store", | 182 ":v4_store", |
| 182 "//base", | 183 "//base", |
| 183 "//content/public/browser", | 184 "//content/public/browser", |
| 184 ] | 185 ] |
| 185 } | 186 } |
| 186 | 187 |
| 187 static_library("v4_feature_list") { | |
| 188 sources = [ | |
| 189 "v4_feature_list.cc", | |
| 190 "v4_feature_list.h", | |
| 191 ] | |
| 192 deps = [ | |
| 193 "//base", | |
| 194 ] | |
| 195 } | |
| 196 | |
| 197 static_library("v4_get_hash_protocol_manager") { | 188 static_library("v4_get_hash_protocol_manager") { |
| 198 sources = [ | 189 sources = [ |
| 199 "v4_get_hash_protocol_manager.cc", | 190 "v4_get_hash_protocol_manager.cc", |
| 200 "v4_get_hash_protocol_manager.h", | 191 "v4_get_hash_protocol_manager.h", |
| 201 ] | 192 ] |
| 202 public_deps = [ | 193 public_deps = [ |
| 203 ":safebrowsing_proto", | 194 ":safebrowsing_proto", |
| 204 ] | 195 ] |
| 205 deps = [ | 196 deps = [ |
| 206 ":util", | 197 ":util", |
| 207 ":v4_protocol_manager_util", | 198 ":v4_protocol_manager_util", |
| 208 "//base", | 199 "//base", |
| 209 "//content/public/browser", | 200 "//content/public/browser", |
| 210 "//net", | 201 "//net", |
| 211 "//url", | 202 "//url", |
| 212 ] | 203 ] |
| 213 } | 204 } |
| 214 | 205 |
| 215 static_library("v4_local_database_manager") { | 206 static_library("v4_local_database_manager") { |
| 216 sources = [ | 207 sources = [ |
| 217 "v4_local_database_manager.cc", | 208 "v4_local_database_manager.cc", |
| 218 "v4_local_database_manager.h", | 209 "v4_local_database_manager.h", |
| 219 ] | 210 ] |
| 220 deps = [ | 211 deps = [ |
| 221 ":database_manager", | 212 ":database_manager", |
| 222 ":hit_report", | 213 ":hit_report", |
| 223 ":safebrowsing_proto", | 214 ":safebrowsing_proto", |
| 224 ":v4_database", | 215 ":v4_database", |
| 225 ":v4_feature_list", | |
| 226 ":v4_get_hash_protocol_manager", | 216 ":v4_get_hash_protocol_manager", |
| 227 ":v4_protocol_manager_util", | 217 ":v4_protocol_manager_util", |
| 228 ":v4_update_protocol_manager", | 218 ":v4_update_protocol_manager", |
| 229 "//base", | 219 "//base", |
| 230 "//content/public/browser", | 220 "//content/public/browser", |
| 231 "//net", | 221 "//net", |
| 232 "//url", | 222 "//url", |
| 233 ] | 223 ] |
| 234 } | 224 } |
| 235 | 225 |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 "//base", | 391 "//base", |
| 402 "//components/variations", | 392 "//components/variations", |
| 403 "//testing/gtest", | 393 "//testing/gtest", |
| 404 "//url", | 394 "//url", |
| 405 ] | 395 ] |
| 406 if (is_win) { | 396 if (is_win) { |
| 407 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 397 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 408 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 398 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
| 409 } | 399 } |
| 410 } | 400 } |
| OLD | NEW |