| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 "//base:base", | 147 "//base:base", |
| 148 "//net", | 148 "//net", |
| 149 ] | 149 ] |
| 150 } | 150 } |
| 151 | 151 |
| 152 static_library("util") { | 152 static_library("util") { |
| 153 sources = [ | 153 sources = [ |
| 154 "util.cc", | 154 "util.cc", |
| 155 "util.h", | 155 "util.h", |
| 156 ] | 156 ] |
| 157 public_deps = [ |
| 158 ":v4_protocol_manager_util", |
| 159 ] |
| 157 deps = [ | 160 deps = [ |
| 158 ":v4_protocol_manager_util", | |
| 159 "//base", | 161 "//base", |
| 160 "//crypto", | 162 "//crypto", |
| 161 "//net", | 163 "//net", |
| 162 "//url", | 164 "//url", |
| 163 ] | 165 ] |
| 164 if (is_win) { | 166 if (is_win) { |
| 165 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 167 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 166 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 168 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
| 167 } | 169 } |
| 168 } | 170 } |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 "//net", | 221 "//net", |
| 220 "//url", | 222 "//url", |
| 221 ] | 223 ] |
| 222 } | 224 } |
| 223 | 225 |
| 224 source_set("v4_protocol_manager_util") { | 226 source_set("v4_protocol_manager_util") { |
| 225 sources = [ | 227 sources = [ |
| 226 "v4_protocol_manager_util.cc", | 228 "v4_protocol_manager_util.cc", |
| 227 "v4_protocol_manager_util.h", | 229 "v4_protocol_manager_util.h", |
| 228 ] | 230 ] |
| 231 public_deps = [ |
| 232 ":safebrowsing_proto", |
| 233 ] |
| 229 deps = [ | 234 deps = [ |
| 230 ":safebrowsing_proto", | |
| 231 "//base", | 235 "//base", |
| 232 "//net", | 236 "//net", |
| 233 "//url", | 237 "//url", |
| 234 ] | 238 ] |
| 235 } | 239 } |
| 236 | 240 |
| 237 source_set("v4_rice") { | 241 source_set("v4_rice") { |
| 238 sources = [ | 242 sources = [ |
| 239 "v4_rice.cc", | 243 "v4_rice.cc", |
| 240 "v4_rice.h", | 244 "v4_rice.h", |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 "//base", | 390 "//base", |
| 387 "//components/variations", | 391 "//components/variations", |
| 388 "//testing/gtest", | 392 "//testing/gtest", |
| 389 "//url", | 393 "//url", |
| 390 ] | 394 ] |
| 391 if (is_win) { | 395 if (is_win) { |
| 392 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 396 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 393 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 397 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
| 394 } | 398 } |
| 395 } | 399 } |
| OLD | NEW |