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

Unified Diff: components/ukm/BUILD.gn

Issue 2649303004: UKM: Added support for navigation sources (Closed)
Patch Set: 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 5b97d07fc98382a7b66f922ace57e9f0e4e22ded..3f1ff2fa12489c644f035512e784b3659e80bf2a 100644
--- a/components/ukm/BUILD.gn
+++ b/components/ukm/BUILD.gn
@@ -17,6 +17,8 @@ static_library("ukm") {
"ukm_pref_names.h",
"ukm_service.cc",
"ukm_service.h",
+ "ukm_source.cc",
+ "ukm_source.h",
]
deps = [
@@ -41,6 +43,23 @@ static_library("observers") {
]
}
+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 = [
@@ -48,6 +67,7 @@ source_set("unit_tests") {
]
deps = [
+ ":test_support",
":ukm",
"//base",
"//base/test:test_support",

Powered by Google App Engine
This is Rietveld 408576698