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

Unified Diff: components/ukm/BUILD.gn

Issue 2617883004: Initial UKMPageLoadMetricsObserver (Closed)
Patch Set: Class rename 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 side-by-side diff with in-line comments
Download patch
Index: components/ukm/BUILD.gn
diff --git a/components/ukm/BUILD.gn b/components/ukm/BUILD.gn
index 0dabe32ed8fbb992f1b496369a031270e82cde53..e0afdcd27d22de3ee2c325390b10bf7d65837f68 100644
--- a/components/ukm/BUILD.gn
+++ b/components/ukm/BUILD.gn
@@ -14,6 +14,8 @@ static_library("ukm") {
"ukm_pref_names.h",
"ukm_service.cc",
"ukm_service.h",
+ "ukm_source.cc",
+ "ukm_source.h",
]
deps = [
@@ -25,6 +27,23 @@ static_library("ukm") {
]
}
+static_library("test_support") {
+ testonly = true
+ sources = [
+ "test_ukm_service.cc",
+ "test_ukm_service.h",
+ ]
+
+ public_deps = [
+ ":ukm",
+ ]
+ deps = [
+ "//base",
+ "//components/metrics:test_support",
+ "//components/prefs:test_support",
+ ]
+}
+
source_set("unit_tests") {
testonly = true
sources = [
@@ -32,6 +51,7 @@ source_set("unit_tests") {
]
deps = [
+ ":test_support",
":ukm",
"//base",
"//base/test:test_support",

Powered by Google App Engine
This is Rietveld 408576698