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

Unified Diff: components/metrics/BUILD.gn

Issue 756233002: Add more components unittests to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « components/metrics.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/BUILD.gn
diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn
index ae31a2463dbd5fa78b3c9dc41e1a67e495c2acf3..59a6bc43e7046c03033e6296a7c2469a5cedf16c 100644
--- a/components/metrics/BUILD.gn
+++ b/components/metrics/BUILD.gn
@@ -51,6 +51,8 @@ source_set("metrics") {
]
deps = [
"//base",
+ "//base:i18n",
+ "//base:prefs",
"//components/variations",
"//third_party/zlib",
]
@@ -71,7 +73,10 @@ source_set("gpu") {
":metrics",
]
deps = [
+ "//base",
+ "//content/public/browser",
"//gpu/config",
+ "//ui/gfx",
]
}
@@ -92,7 +97,9 @@ static_library("net") {
":metrics",
]
deps = [
+ "//base",
"//net",
+ "//url",
]
}
@@ -111,12 +118,14 @@ source_set("profiler") {
]
deps = [
"//base",
+ "//components/variations",
"//content/public/browser",
+ "//content/public/common",
]
}
# GYP version: components/metrics.gypi:metrics_test_support
-static_library("test_support") {
+source_set("test_support") {
sources = [
"test_metrics_service_client.cc",
"test_metrics_service_client.h",
@@ -125,6 +134,9 @@ static_library("test_support") {
public_deps = [
":metrics",
]
+ deps = [
+ "//base",
+ ]
}
if (is_linux) {
@@ -158,7 +170,12 @@ source_set("unit_tests") {
deps = [
":metrics",
+ ":profiler",
+ ":test_support",
+ "//base:prefs_test_support",
"//base/test:test_support",
+ "//components/variations",
+ "//content/public/common",
"//testing/gtest",
]
}
« no previous file with comments | « components/metrics.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698