OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("ukm") { | 5 static_library("ukm") { |
6 sources = [ | 6 sources = [ |
7 "metrics_reporting_scheduler.cc", | 7 "metrics_reporting_scheduler.cc", |
8 "metrics_reporting_scheduler.h", | 8 "metrics_reporting_scheduler.h", |
9 "persisted_logs_metrics_impl.cc", | 9 "persisted_logs_metrics_impl.cc", |
10 "persisted_logs_metrics_impl.h", | 10 "persisted_logs_metrics_impl.h", |
11 "ukm_pref_names.cc", | 11 "ukm_pref_names.cc", |
12 "ukm_pref_names.h", | 12 "ukm_pref_names.h", |
13 "ukm_service.cc", | 13 "ukm_service.cc", |
14 "ukm_service.h", | 14 "ukm_service.h", |
| 15 "ukm_source.cc", |
| 16 "ukm_source.h", |
15 ] | 17 ] |
16 | 18 |
17 deps = [ | 19 deps = [ |
18 "//base", | 20 "//base", |
19 "//components/data_use_measurement/core", | 21 "//components/data_use_measurement/core", |
20 "//components/metrics", | 22 "//components/metrics", |
21 "//components/prefs", | 23 "//components/prefs", |
22 "//components/variations", | 24 "//components/variations", |
23 ] | 25 ] |
24 } | 26 } |
25 | 27 |
26 source_set("unit_tests") { | 28 source_set("unit_tests") { |
27 testonly = true | 29 testonly = true |
28 sources = [ | 30 sources = [ |
29 "ukm_service_unittest.cc", | 31 "ukm_service_unittest.cc", |
30 ] | 32 ] |
31 | 33 |
32 deps = [ | 34 deps = [ |
33 ":ukm", | 35 ":ukm", |
34 "//base", | 36 "//base", |
35 "//base/test:test_support", | 37 "//base/test:test_support", |
36 "//components/metrics", | 38 "//components/metrics", |
37 "//components/prefs:test_support", | 39 "//components/prefs:test_support", |
38 "//net:test_support", | 40 "//net:test_support", |
39 "//testing/gtest", | 41 "//testing/gtest", |
40 "//url", | 42 "//url", |
41 ] | 43 ] |
42 } | 44 } |
OLD | NEW |