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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 "//net", | 174 "//net", |
175 ] | 175 ] |
176 } | 176 } |
177 | 177 |
178 static_library("util") { | 178 static_library("util") { |
179 sources = [ | 179 sources = [ |
180 "util.cc", | 180 "util.cc", |
181 "util.h", | 181 "util.h", |
182 ] | 182 ] |
183 public_deps = [ | 183 public_deps = [ |
| 184 ":safe_browsing_prefs", |
184 ":v4_protocol_manager_util", | 185 ":v4_protocol_manager_util", |
185 ] | 186 ] |
186 deps = [ | 187 deps = [ |
187 "//base", | 188 "//base", |
| 189 "//components/version_info:version_info", |
188 "//crypto", | 190 "//crypto", |
| 191 "//google_apis:google_apis", |
189 "//net", | 192 "//net", |
190 "//url", | 193 "//url", |
191 ] | 194 ] |
192 if (is_win) { | 195 if (is_win) { |
193 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 196 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
194 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 197 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
195 } | 198 } |
196 } | 199 } |
197 | 200 |
198 static_library("v4_database") { | 201 static_library("v4_database") { |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 "//base", | 470 "//base", |
468 "//components/variations", | 471 "//components/variations", |
469 "//testing/gtest", | 472 "//testing/gtest", |
470 "//url", | 473 "//url", |
471 ] | 474 ] |
472 if (is_win) { | 475 if (is_win) { |
473 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 476 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
474 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 477 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
475 } | 478 } |
476 } | 479 } |
OLD | NEW |