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

Unified Diff: chromecast/chromecast.gyp

Issue 482813004: Adds CastMetricsServiceClient to Chromecast shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address asvitkine's comments Created 6 years, 4 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 | chromecast/common/chromecast_config.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/chromecast.gyp
diff --git a/chromecast/chromecast.gyp b/chromecast/chromecast.gyp
index e2846662cbc72f17a54088e15620ef572fc05b4c..eca14718c3fc706bc297c2ed677926e74e8d8407 100644
--- a/chromecast/chromecast.gyp
+++ b/chromecast/chromecast.gyp
@@ -42,6 +42,33 @@
],
},
{
+ 'target_name': 'cast_metrics',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../components/components.gyp:component_metrics_proto',
+ '../components/components.gyp:metrics',
+ '../components/components.gyp:metrics_net',
+ ],
+ 'sources': [
+ 'metrics/cast_metrics_prefs.cc',
+ 'metrics/cast_metrics_prefs.h',
+ 'metrics/cast_metrics_service_client.cc',
+ 'metrics/cast_metrics_service_client.h',
+ 'metrics/platform_metrics_providers.h',
+ ],
+ 'conditions': [
+ ['chromecast_branding=="Chrome"', {
+ 'dependencies': [
+ '<(cast_internal_gyp):cast_metrics_internal',
+ ],
+ }, {
+ 'sources': [
+ 'metrics/platform_metrics_providers_simple.cc',
+ ],
+ }],
+ ],
+ },
+ {
'target_name': 'cast_service',
'type': '<(component)',
'dependencies': [
@@ -128,16 +155,18 @@
'type': 'executable',
'dependencies': [
'cast_common',
+ 'cast_metrics',
'cast_service',
'cast_shell_pak',
'cast_shell_resources',
'cast_version_header',
'chromecast_locales.gyp:chromecast_locales_pak',
'chromecast_locales.gyp:chromecast_settings',
- '../ui/aura/aura.gyp:aura_test_support',
+ '../components/components.gyp:component_metrics_proto',
'../content/content.gyp:content',
'../content/content.gyp:content_app_browser',
'../skia/skia.gyp:skia',
+ '../ui/aura/aura.gyp:aura_test_support',
],
'sources': [
'net/network_change_notifier_cast.cc',
« no previous file with comments | « no previous file | chromecast/common/chromecast_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698