| 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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 # The Url-Keyed Metrics (UKM) service is responsible for gathering and | 7 # The Url-Keyed Metrics (UKM) service is responsible for gathering and |
| 8 # uploading reports that contain fine grained performance metrics including | 8 # uploading reports that contain fine grained performance metrics including |
| 9 # URLs for top-level navigations. | 9 # URLs for top-level navigations. |
| 10 static_library("ukm") { | 10 static_library("ukm") { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 deps = [ | 33 deps = [ |
| 34 "//base", | 34 "//base", |
| 35 "//components/data_use_measurement/core", | 35 "//components/data_use_measurement/core", |
| 36 "//components/metrics", | 36 "//components/metrics", |
| 37 "//components/prefs", | 37 "//components/prefs", |
| 38 "//components/variations", | 38 "//components/variations", |
| 39 "//url", | 39 "//url", |
| 40 ] | 40 ] |
| 41 } | 41 } |
| 42 | 42 |
| 43 static_library("ukm_interface") { |
| 44 sources = [ |
| 45 "ukm_interface.cc", |
| 46 "ukm_interface.h", |
| 47 ] |
| 48 |
| 49 public_deps = [ |
| 50 "//base", |
| 51 "//components/ukm/public/interfaces", |
| 52 ] |
| 53 |
| 54 deps = [ |
| 55 ":ukm", |
| 56 "//mojo/public/cpp/bindings", |
| 57 ] |
| 58 } |
| 59 |
| 43 # Helper library for observing signals that we need to clear any local data. | 60 # Helper library for observing signals that we need to clear any local data. |
| 44 static_library("observers") { | 61 static_library("observers") { |
| 45 sources = [ | 62 sources = [ |
| 46 "observers/history_delete_observer.cc", | 63 "observers/history_delete_observer.cc", |
| 47 "observers/history_delete_observer.h", | 64 "observers/history_delete_observer.h", |
| 48 "observers/sync_disable_observer.cc", | 65 "observers/sync_disable_observer.cc", |
| 49 "observers/sync_disable_observer.h", | 66 "observers/sync_disable_observer.h", |
| 50 ] | 67 ] |
| 51 | 68 |
| 52 deps = [ | 69 deps = [ |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 118 |
| 102 # Convenience testing target | 119 # Convenience testing target |
| 103 test("ukm_unittests") { | 120 test("ukm_unittests") { |
| 104 deps = [ | 121 deps = [ |
| 105 ":unit_tests", | 122 ":unit_tests", |
| 106 "//base", | 123 "//base", |
| 107 "//base/test:run_all_unittests", | 124 "//base/test:run_all_unittests", |
| 108 "//base/test:test_support", | 125 "//base/test:test_support", |
| 109 ] | 126 ] |
| 110 } | 127 } |
| OLD | NEW |