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

Unified Diff: components/metrics/BUILD.gn

Issue 2861153002: Make single_sample_metrics into its own target (Closed)
Patch Set: self 2 Created 3 years, 7 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
« no previous file with comments | « no previous file | content/browser/BUILD.gn » ('j') | 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 1f18b9346d20b8b1861d25e65182dc058d8a646e..105572559b71aafbcf48b9d6b0a125c83a65081c 100644
--- a/components/metrics/BUILD.gn
+++ b/components/metrics/BUILD.gn
@@ -91,9 +91,7 @@ static_library("metrics") {
]
public_deps = [
- ":single_sample_metrics",
"//components/metrics/proto",
- "//components/metrics/public/interfaces:single_sample_metrics_mojo_bindings",
]
deps = [
@@ -250,7 +248,7 @@ if (!is_ios) {
}
}
-source_set("single_sample_metrics") {
+static_library("single_sample_metrics") {
sources = [
"single_sample_metrics.cc",
"single_sample_metrics.h",
@@ -259,11 +257,14 @@ source_set("single_sample_metrics") {
]
deps = [
- "//components/metrics/public/interfaces:single_sample_metrics_mojo_bindings",
"//mojo/public/cpp/bindings",
"//services/service_manager/public/cpp",
"//services/service_manager/public/interfaces",
]
+
+ public_deps = [
+ "//components/metrics/public/interfaces:single_sample_metrics_mojo_bindings",
+ ]
}
source_set("call_stack_profile_params") {
@@ -365,6 +366,7 @@ source_set("unit_tests") {
":metrics",
":net",
":profiler",
+ ":single_sample_metrics",
":test_support",
":ui",
"//base/test:test_support",
« no previous file with comments | « no previous file | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698