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

Unified Diff: components/startup_metric_utils/browser/BUILD.gn

Issue 1413533008: Add UMA metric: Startup.BrowserMainToRendererMain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: components/startup_metric_utils/browser/BUILD.gn
diff --git a/components/startup_metric_utils/browser/BUILD.gn b/components/startup_metric_utils/browser/BUILD.gn
index 258e2106499354b071c22df473727e0a1e51d4a2..d734231b545a4208189fd92bc4fa363028237175 100644
--- a/components/startup_metric_utils/browser/BUILD.gn
+++ b/components/startup_metric_utils/browser/BUILD.gn
@@ -2,7 +2,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("browser") {
+# We have 2 separate targets because //components/html_viewer requires :utils,
+# but has symbols that conflict with mojo symbols that :message_filter
+# indirectly depends on.
+
+source_set("utils") {
sources = [
"startup_metric_utils.cc",
"startup_metric_utils.h",
@@ -12,3 +16,17 @@ source_set("browser") {
"//base",
]
}
+
+source_set("message_filter") {
+ sources = [
+ "startup_metric_message_filter.cc",
+ "startup_metric_message_filter.h",
+ ]
+
+ deps = [
+ ":utils",
+ "//base",
+ "//components/startup_metric_utils/common",
+ "//content/public/browser",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698