Index: components/startup_metric_utils.gypi |
diff --git a/components/startup_metric_utils.gypi b/components/startup_metric_utils.gypi |
index f70e7a0fbbe050d8224b4a1640fab4bf1ad8290d..2d8a2daa2bf648eaf69fe0d42c54c27864ab057b 100644 |
--- a/components/startup_metric_utils.gypi |
+++ b/components/startup_metric_utils.gypi |
@@ -2,6 +2,10 @@ |
# 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': [ |
{ |
@@ -18,5 +22,37 @@ |
'startup_metric_utils/browser/startup_metric_utils.h', |
], |
}, |
+ { |
+ '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', |
+ ], |
+ }, |
+ { |
+ 'target_name': 'startup_metric_utils_common', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '../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', |
+ ], |
+ }, |
], |
} |