| 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 13 matching lines...) Expand all Loading... |
| 24 "metadata.proto", | 24 "metadata.proto", |
| 25 ] | 25 ] |
| 26 } | 26 } |
| 27 | 27 |
| 28 # This target is shared between the desktop and mobile versions. | 28 # This target is shared between the desktop and mobile versions. |
| 29 group("safe_browsing_db_shared") { | 29 group("safe_browsing_db_shared") { |
| 30 deps = [ | 30 deps = [ |
| 31 ":database_manager", | 31 ":database_manager", |
| 32 ":hit_report", | 32 ":hit_report", |
| 33 ":prefix_set", | 33 ":prefix_set", |
| 34 ":safe_browsing_prefs", |
| 34 ":safebrowsing_proto", | 35 ":safebrowsing_proto", |
| 35 ":util", | 36 ":util", |
| 36 ] | 37 ] |
| 37 } | 38 } |
| 38 | 39 |
| 39 # This target is for the desktop version. | 40 # This target is for the desktop version. |
| 40 group("safe_browsing_db") { | 41 group("safe_browsing_db") { |
| 41 deps = [ | 42 deps = [ |
| 42 ":safe_browsing_db_shared", | 43 ":safe_browsing_db_shared", |
| 43 ":v4_local_database_manager", | 44 ":v4_local_database_manager", |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 "safe_browsing_api_handler_util.cc", | 130 "safe_browsing_api_handler_util.cc", |
| 130 "safe_browsing_api_handler_util.h", | 131 "safe_browsing_api_handler_util.h", |
| 131 ] | 132 ] |
| 132 deps = [ | 133 deps = [ |
| 133 ":metadata_proto", | 134 ":metadata_proto", |
| 134 ":util", | 135 ":util", |
| 135 "//base", | 136 "//base", |
| 136 ] | 137 ] |
| 137 } | 138 } |
| 138 | 139 |
| 140 static_library("safe_browsing_prefs") { |
| 141 sources = [ |
| 142 "safe_browsing_prefs.cc", |
| 143 "safe_browsing_prefs.h", |
| 144 ] |
| 145 deps = [ |
| 146 "//base:base", |
| 147 "//components/prefs", |
| 148 ] |
| 149 } |
| 150 |
| 139 static_library("test_database_manager") { | 151 static_library("test_database_manager") { |
| 140 sources = [ | 152 sources = [ |
| 141 "test_database_manager.cc", | 153 "test_database_manager.cc", |
| 142 "test_database_manager.h", | 154 "test_database_manager.h", |
| 143 ] | 155 ] |
| 144 deps = [ | 156 deps = [ |
| 145 ":database_manager", | 157 ":database_manager", |
| 146 "//base:base", | 158 "//base:base", |
| 147 "//net", | 159 "//net", |
| 148 ] | 160 ] |
| (...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 "//base", | 413 "//base", |
| 402 "//components/variations", | 414 "//components/variations", |
| 403 "//testing/gtest", | 415 "//testing/gtest", |
| 404 "//url", | 416 "//url", |
| 405 ] | 417 ] |
| 406 if (is_win) { | 418 if (is_win) { |
| 407 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 419 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 408 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 420 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
| 409 } | 421 } |
| 410 } | 422 } |
| OLD | NEW |