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

Unified Diff: components/startup_metric_utils.gypi

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/html_viewer/BUILD.gn ('k') | components/startup_metric_utils/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/startup_metric_utils.gypi
diff --git a/components/startup_metric_utils.gypi b/components/startup_metric_utils.gypi
index f70e7a0fbbe050d8224b4a1640fab4bf1ad8290d..c93819a8f24e81a8fc8e7498038d74b0dbbd8a1d 100644
--- a/components/startup_metric_utils.gypi
+++ b/components/startup_metric_utils.gypi
@@ -2,9 +2,14 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# We have 2 separate browser targets because //components/html_viewer requires
+# startup_metric_utils_browser, but has symbols that conflict with mojo symbols
+# that startup_metric_utils_browser_message_filter indirectly depends on.
+
{
'targets': [
{
+ # GN version: //components/startup_metric_utils/browser:lib
'target_name': 'startup_metric_utils_browser',
'type': 'static_library',
'dependencies': [
@@ -18,5 +23,40 @@
'startup_metric_utils/browser/startup_metric_utils.h',
],
},
+ {
+ # GN version: //components/startup_metric_utils/browser:message_filter_lib
+ 'target_name': 'startup_metric_utils_browser_message_filter',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../content/content.gyp:content_browser',
+ 'startup_metric_utils_browser',
+ 'startup_metric_utils_common',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'startup_metric_utils/browser/startup_metric_message_filter.cc',
+ 'startup_metric_utils/browser/startup_metric_message_filter.h',
+ ],
+ },
+ {
+ # GN version: //components/startup_metric_utils/common
+ 'target_name': 'startup_metric_utils_common',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../ipc/ipc.gyp:ipc',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'startup_metric_utils/common/startup_metric_message_generator.cc',
+ 'startup_metric_utils/common/startup_metric_message_generator.h',
+ 'startup_metric_utils/common/startup_metric_messages.h',
+ ],
+ },
],
}
« no previous file with comments | « components/html_viewer/BUILD.gn ('k') | components/startup_metric_utils/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698