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

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: fix whitespace error. 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
« no previous file with comments | « components/startup_metric_utils.gypi ('k') | components/startup_metric_utils/browser/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8f44817680010c74ec14a0b9b57ac575b6bc6043 100644
--- a/components/startup_metric_utils/browser/BUILD.gn
+++ b/components/startup_metric_utils/browser/BUILD.gn
@@ -2,7 +2,20 @@
# 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 :lib,
+# but has symbols that conflict with mojo symbols that :message_filter_lib
+# indirectly depends on.
+
+group("browser") {
+ testonly = true
+
+ deps = [
+ ":lib",
+ ":message_filter_lib",
+ ]
+}
+
+source_set("lib") {
sources = [
"startup_metric_utils.cc",
"startup_metric_utils.h",
@@ -12,3 +25,17 @@ source_set("browser") {
"//base",
]
}
+
+source_set("message_filter_lib") {
+ sources = [
+ "startup_metric_message_filter.cc",
+ "startup_metric_message_filter.h",
+ ]
+
+ deps = [
+ ":lib",
+ "//base",
+ "//components/startup_metric_utils/common",
+ "//content/public/browser",
+ ]
+}
« no previous file with comments | « components/startup_metric_utils.gypi ('k') | components/startup_metric_utils/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698