Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Side by Side Diff: components/packed_ct_ev_whitelist/BUILD.gn

Issue 929793006: Update existing uses of /wd4267 to use the GN config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@x64
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 static_library("packed_ct_ev_whitelist") { 5 static_library("packed_ct_ev_whitelist") {
6 sources = [ 6 sources = [
7 "bit_stream_reader.cc", 7 "bit_stream_reader.cc",
8 "bit_stream_reader.h", 8 "bit_stream_reader.h",
9 "packed_ct_ev_whitelist.cc", 9 "packed_ct_ev_whitelist.cc",
10 "packed_ct_ev_whitelist.h", 10 "packed_ct_ev_whitelist.h",
11 ] 11 ]
12 12
13 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
14
13 deps = [ 15 deps = [
14 "//base", 16 "//base",
15 "//content", 17 "//content",
16 "//net", 18 "//net",
17 ] 19 ]
18
19 if (is_win) {
20 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
21 cflags = [ "/wd4267" ]
22 }
23 } 20 }
24 21
25 source_set("unit_tests") { 22 source_set("unit_tests") {
26 testonly = true 23 testonly = true
27 sources = [ 24 sources = [
28 "bit_stream_reader_unittest.cc", 25 "bit_stream_reader_unittest.cc",
29 "packed_ct_ev_whitelist_unittest.cc", 26 "packed_ct_ev_whitelist_unittest.cc",
30 ] 27 ]
31 28
32 deps = [ 29 deps = [
33 ":packed_ct_ev_whitelist", 30 ":packed_ct_ev_whitelist",
34 "//testing/gtest", 31 "//testing/gtest",
35 ] 32 ]
36 } 33 }
OLDNEW
« no previous file with comments | « components/keyed_service/core/BUILD.gn ('k') | components/password_manager/core/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698