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

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

Issue 2567263003: Basic UkmService implementation (Closed)
Patch Set: Observe helper Created 3 years, 11 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
(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 import("//testing/test.gni")
6
7 static_library("ukm") {
8 sources = [
9 "metrics_reporting_scheduler.cc",
10 "metrics_reporting_scheduler.h",
11 "persisted_logs_metrics_impl.cc",
12 "persisted_logs_metrics_impl.h",
13 "ukm_pref_names.cc",
14 "ukm_pref_names.h",
15 "ukm_service.cc",
16 "ukm_service.h",
17 ]
18
19 deps = [
20 "//base",
21 "//components/data_use_measurement/core",
22 "//components/metrics",
23 "//components/prefs",
24 "//components/variations",
25 ]
26 }
27
28 static_library("observers") {
29 sources = [
30 "observers/history_delete_observer.cc",
31 "observers/history_delete_observer.h",
32 ]
33
34 deps = [
35 "//base",
36 "//components/history/core/browser",
37 ]
38 }
39
40 source_set("unit_tests") {
41 testonly = true
42 sources = [
43 "ukm_service_unittest.cc",
44 ]
45
46 deps = [
47 ":ukm",
48 "//base",
49 "//base/test:test_support",
50 "//components/metrics",
51 "//components/metrics:test_support",
52 "//components/prefs:test_support",
53 "//net:test_support",
54 "//testing/gtest",
55 "//url",
56 ]
57 }
58
59 # Convenience testing target
60 test("ukm_unittests") {
61 deps = [
62 ":unit_tests",
63 "//base",
64 "//base/test:run_all_unittests",
65 "//base/test:test_support",
66 ]
67 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698