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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 deps = [ | 157 deps = [ |
158 ":v4_protocol_manager_util", | |
159 "//base", | 158 "//base", |
160 "//base:base", | 159 "//base:base", |
161 "//crypto", | 160 "//crypto", |
162 "//net", | 161 "//net", |
163 "//url:url", | 162 "//url:url", |
164 ] | 163 ] |
165 if (is_win) { | 164 if (is_win) { |
166 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 165 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
167 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 166 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
168 } | 167 } |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 "//base", | 329 "//base", |
331 "//components/variations", | 330 "//components/variations", |
332 "//testing/gtest", | 331 "//testing/gtest", |
333 "//url", | 332 "//url", |
334 ] | 333 ] |
335 if (is_win) { | 334 if (is_win) { |
336 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 335 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
337 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. | 336 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. |
338 } | 337 } |
339 } | 338 } |
OLD | NEW |