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 18 matching lines...) Expand all Loading... |
29 "//components/variations", | 29 "//components/variations", |
30 "//url", | 30 "//url", |
31 ] | 31 ] |
32 } | 32 } |
33 | 33 |
34 # Helper library for observing signals that we need to clear any local data. | 34 # Helper library for observing signals that we need to clear any local data. |
35 static_library("observers") { | 35 static_library("observers") { |
36 sources = [ | 36 sources = [ |
37 "observers/history_delete_observer.cc", | 37 "observers/history_delete_observer.cc", |
38 "observers/history_delete_observer.h", | 38 "observers/history_delete_observer.h", |
| 39 "observers/sync_disable_observer.cc", |
| 40 "observers/sync_disable_observer.h", |
39 ] | 41 ] |
40 | 42 |
41 deps = [ | 43 deps = [ |
42 "//base", | 44 "//base", |
43 "//components/history/core/browser", | 45 "//components/history/core/browser", |
44 ] | 46 ] |
45 } | 47 } |
46 | 48 |
47 static_library("test_support") { | 49 static_library("test_support") { |
48 testonly = true | 50 testonly = true |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 86 |
85 # Convenience testing target | 87 # Convenience testing target |
86 test("ukm_unittests") { | 88 test("ukm_unittests") { |
87 deps = [ | 89 deps = [ |
88 ":unit_tests", | 90 ":unit_tests", |
89 "//base", | 91 "//base", |
90 "//base/test:run_all_unittests", | 92 "//base/test:run_all_unittests", |
91 "//base/test:test_support", | 93 "//base/test:test_support", |
92 ] | 94 ] |
93 } | 95 } |
OLD | NEW |