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