| 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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 ":v4_protocol_manager_util", | 195 ":v4_protocol_manager_util", |
| 196 "//base", | 196 "//base", |
| 197 "//net", | 197 "//net", |
| 198 "//url:url", | 198 "//url:url", |
| 199 ] | 199 ] |
| 200 } | 200 } |
| 201 | 201 |
| 202 source_set("unit_tests") { | 202 source_set("unit_tests") { |
| 203 testonly = true | 203 testonly = true |
| 204 sources = [ | 204 sources = [ |
| 205 "database_manager_unittest.cc", |
| 205 "prefix_set_unittest.cc", | 206 "prefix_set_unittest.cc", |
| 206 "util_unittest.cc", | 207 "util_unittest.cc", |
| 207 "v4_get_hash_protocol_manager_unittest.cc", | 208 "v4_get_hash_protocol_manager_unittest.cc", |
| 208 "v4_protocol_manager_util_unittest.cc", | 209 "v4_protocol_manager_util_unittest.cc", |
| 209 "v4_update_protocol_manager_unittest.cc", | 210 "v4_update_protocol_manager_unittest.cc", |
| 210 ] | 211 ] |
| 211 deps = [ | 212 deps = [ |
| 213 ":database_manager", |
| 212 ":prefix_set", | 214 ":prefix_set", |
| 213 ":proto", | 215 ":proto", |
| 216 ":test_database_manager", |
| 214 ":util", | 217 ":util", |
| 215 ":v4_get_hash_protocol_manager", | 218 ":v4_get_hash_protocol_manager", |
| 216 ":v4_protocol_manager_util", | 219 ":v4_protocol_manager_util", |
| 217 ":v4_update_protocol_manager", | 220 ":v4_update_protocol_manager", |
| 218 "//base", | 221 "//base", |
| 222 "//content/test:test_support", |
| 219 "//net", | 223 "//net", |
| 220 "//net:test_support", | 224 "//net:test_support", |
| 221 "//testing/gtest", | 225 "//testing/gtest", |
| 222 "//url", | 226 "//url", |
| 223 ] | 227 ] |
| 224 if (is_win) { | 228 if (is_win) { |
| 225 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 229 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 226 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 230 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
| 227 } | 231 } |
| 228 } | 232 } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 242 "//base", | 246 "//base", |
| 243 "//components/variations", | 247 "//components/variations", |
| 244 "//testing/gtest", | 248 "//testing/gtest", |
| 245 "//url", | 249 "//url", |
| 246 ] | 250 ] |
| 247 if (is_win) { | 251 if (is_win) { |
| 248 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 252 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 249 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 253 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
| 250 } | 254 } |
| 251 } | 255 } |
| OLD | NEW |