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 15 matching lines...) Expand all Loading... |
26 "//components/prefs", | 26 "//components/prefs", |
27 "//components/variations", | 27 "//components/variations", |
28 ] | 28 ] |
29 } | 29 } |
30 | 30 |
31 # Helper library for observing signals that we need to clear any local data. | 31 # Helper library for observing signals that we need to clear any local data. |
32 static_library("observers") { | 32 static_library("observers") { |
33 sources = [ | 33 sources = [ |
34 "observers/history_delete_observer.cc", | 34 "observers/history_delete_observer.cc", |
35 "observers/history_delete_observer.h", | 35 "observers/history_delete_observer.h", |
| 36 "observers/sync_disable_observer.cc", |
| 37 "observers/sync_disable_observer.h", |
36 ] | 38 ] |
37 | 39 |
38 deps = [ | 40 deps = [ |
39 "//base", | 41 "//base", |
40 "//components/history/core/browser", | 42 "//components/history/core/browser", |
41 ] | 43 ] |
42 } | 44 } |
43 | 45 |
44 source_set("unit_tests") { | 46 source_set("unit_tests") { |
45 testonly = true | 47 testonly = true |
(...skipping 16 matching lines...) Expand all Loading... |
62 | 64 |
63 # Convenience testing target | 65 # Convenience testing target |
64 test("ukm_unittests") { | 66 test("ukm_unittests") { |
65 deps = [ | 67 deps = [ |
66 ":unit_tests", | 68 ":unit_tests", |
67 "//base", | 69 "//base", |
68 "//base/test:run_all_unittests", | 70 "//base/test:run_all_unittests", |
69 "//base/test:test_support", | 71 "//base/test:test_support", |
70 ] | 72 ] |
71 } | 73 } |
OLD | NEW |