| 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 deps = [ |
| 164 "//base", |
| 165 ] |
| 166 } |
| 167 |
| 168 source_set("v4_database_impl") { |
| 169 sources = [ |
| 170 "v4_database_impl.cc", |
| 171 "v4_database_impl.h", |
| 172 ] |
| 173 public_deps = [ |
| 174 ":proto", |
| 175 ] |
| 176 deps = [ |
| 177 ":v4_database", |
| 178 ":v4_protocol_manager_util", |
| 179 ] |
| 180 } |
| 181 |
| 158 source_set("v4_get_hash_protocol_manager") { | 182 source_set("v4_get_hash_protocol_manager") { |
| 159 sources = [ | 183 sources = [ |
| 160 "v4_get_hash_protocol_manager.cc", | 184 "v4_get_hash_protocol_manager.cc", |
| 161 "v4_get_hash_protocol_manager.h", | 185 "v4_get_hash_protocol_manager.h", |
| 162 ] | 186 ] |
| 163 public_deps = [ | 187 public_deps = [ |
| 164 ":proto", | 188 ":proto", |
| 165 ] | 189 ] |
| 166 deps = [ | 190 deps = [ |
| 167 ":util", | 191 ":util", |
| 168 ":v4_protocol_manager_util", | 192 ":v4_protocol_manager_util", |
| 169 "//base", | 193 "//base", |
| 170 "//net", | 194 "//net", |
| 171 "//url:url", | 195 "//url:url", |
| 172 ] | 196 ] |
| 173 } | 197 } |
| 174 | 198 |
| 175 source_set("v4_local_database_manager") { | 199 source_set("v4_local_database_manager") { |
| 176 sources = [ | 200 sources = [ |
| 177 "v4_local_database_manager.cc", | 201 "v4_local_database_manager.cc", |
| 178 "v4_local_database_manager.h", | 202 "v4_local_database_manager.h", |
| 179 ] | 203 ] |
| 180 deps = [ | 204 deps = [ |
| 181 ":database_manager", | 205 ":database_manager", |
| 182 ":hit_report", | 206 ":hit_report", |
| 183 ":proto", | 207 ":proto", |
| 208 ":v4_database", |
| 209 ":v4_database_impl", |
| 184 ":v4_protocol_manager_util", | 210 ":v4_protocol_manager_util", |
| 185 ":v4_update_protocol_manager", | 211 ":v4_update_protocol_manager", |
| 186 "//base", | 212 "//base", |
| 187 "//content/public/browser", | 213 "//content/public/browser", |
| 188 "//net", | 214 "//net", |
| 189 "//url:url", | 215 "//url:url", |
| 190 ] | 216 ] |
| 191 } | 217 } |
| 192 | 218 |
| 193 source_set("v4_protocol_manager_util") { | 219 source_set("v4_protocol_manager_util") { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 "//base", | 292 "//base", |
| 267 "//components/variations", | 293 "//components/variations", |
| 268 "//testing/gtest", | 294 "//testing/gtest", |
| 269 "//url", | 295 "//url", |
| 270 ] | 296 ] |
| 271 if (is_win) { | 297 if (is_win) { |
| 272 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 298 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 273 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 299 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
| 274 } | 300 } |
| 275 } | 301 } |
| OLD | NEW |