| OLD | NEW |
| 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 } |
| OLD | NEW |