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 source_set("core") { | 5 source_set("core") { |
6 sources = [ | 6 sources = [ |
7 "data_use.cc", | 7 "data_use.cc", |
8 "data_use.h", | 8 "data_use.h", |
9 "data_use_aggregator.cc", | 9 "data_use_aggregator.cc", |
10 "data_use_aggregator.h", | 10 "data_use_aggregator.h", |
| 11 "data_use_amortizer.h", |
11 ] | 12 ] |
12 deps = [ | 13 deps = [ |
13 "//base", | 14 "//base", |
14 "//net", | 15 "//net", |
15 "//url", | 16 "//url", |
16 ] | 17 ] |
17 } | 18 } |
18 | 19 |
19 source_set("unit_tests") { | 20 source_set("unit_tests") { |
20 testonly = true | 21 testonly = true |
21 sources = [ | 22 sources = [ |
22 "data_use_aggregator_unittest.cc", | 23 "data_use_aggregator_unittest.cc", |
23 ] | 24 ] |
24 | 25 |
25 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 26 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
26 | 27 |
27 deps = [ | 28 deps = [ |
28 ":core", | 29 ":core", |
29 "//base", | 30 "//base", |
30 "//base/test:test_support", | 31 "//base/test:test_support", |
31 "//net:test_support", | 32 "//net:test_support", |
32 "//testing/gtest", | 33 "//testing/gtest", |
33 ] | 34 ] |
34 } | 35 } |
OLD | NEW |