Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: components/ukm/BUILD.gn

Issue 2653693004: UKM Sync Observer (Closed)
Patch Set: MSVC struct initializer Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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",
46 "//components/sync",
44 ] 47 ]
45 } 48 }
46 49
47 static_library("test_support") { 50 static_library("test_support") {
48 testonly = true 51 testonly = true
49 sources = [ 52 sources = [
50 "test_ukm_service.cc", 53 "test_ukm_service.cc",
51 "test_ukm_service.h", 54 "test_ukm_service.h",
52 ] 55 ]
53 56
54 public_deps = [ 57 public_deps = [
55 ":ukm", 58 ":ukm",
56 ] 59 ]
57 deps = [ 60 deps = [
58 "//base", 61 "//base",
59 "//components/metrics:test_support", 62 "//components/metrics:test_support",
60 "//components/prefs:test_support", 63 "//components/prefs:test_support",
61 ] 64 ]
62 } 65 }
63 66
64 source_set("unit_tests") { 67 source_set("unit_tests") {
65 testonly = true 68 testonly = true
66 sources = [ 69 sources = [
70 "observers/sync_disable_observer_unittest.cc",
67 "ukm_service_unittest.cc", 71 "ukm_service_unittest.cc",
68 ] 72 ]
69 73
70 deps = [ 74 deps = [
75 ":observers",
71 ":test_support", 76 ":test_support",
72 ":ukm", 77 ":ukm",
73 "//base", 78 "//base",
74 "//base/test:test_support", 79 "//base/test:test_support",
75 "//components/metrics", 80 "//components/metrics",
76 "//components/metrics:test_support", 81 "//components/metrics:test_support",
77 "//components/prefs:test_support", 82 "//components/prefs:test_support",
83 "//components/sync:test_support_driver",
78 "//net:test_support", 84 "//net:test_support",
79 "//testing/gtest", 85 "//testing/gtest",
80 "//third_party/zlib:compression_utils", 86 "//third_party/zlib:compression_utils",
81 "//url", 87 "//url",
82 ] 88 ]
83 } 89 }
84 90
85 # Convenience testing target 91 # Convenience testing target
86 test("ukm_unittests") { 92 test("ukm_unittests") {
87 deps = [ 93 deps = [
88 ":unit_tests", 94 ":unit_tests",
89 "//base", 95 "//base",
90 "//base/test:run_all_unittests", 96 "//base/test:run_all_unittests",
91 "//base/test:test_support", 97 "//base/test:test_support",
92 ] 98 ]
93 } 99 }
OLDNEW
« no previous file with comments | « components/metrics_services_manager/metrics_services_manager.cc ('k') | components/ukm/observers/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698