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

Unified Diff: chromecast/chromecast.gyp

Issue 522853002: Chromecast fix: MetricsStateManager segfaults if callbacks are empty. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: file rename 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/metrics/cast_metrics_service_client.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 5b7ffe40cbd11f4da04d3e2ee538b3df4f76a7bb..682437953dd95cd60be467e004530db95c45ff7b 100644
--- a/chromecast/chromecast.gyp
+++ b/chromecast/chromecast.gyp
@@ -45,6 +45,7 @@
'target_name': 'cast_metrics',
'type': '<(component)',
'dependencies': [
+ 'cast_common',
'../components/components.gyp:component_metrics_proto',
'../components/components.gyp:metrics',
'../components/components.gyp:metrics_net',
@@ -69,6 +70,21 @@
],
},
{
+ 'target_name': 'cast_metrics_unittests',
+ 'type': '<(gtest_target_type)',
+ 'dependencies': [
+ 'cast_metrics',
+ '../base/base.gyp:base_prefs_test_support',
+ '../base/base.gyp:run_all_unittests',
+ '../base/base.gyp:test_support_base',
+ '../components/components.gyp:component_metrics_proto',
+ '../testing/gtest.gyp:gtest',
+ ],
+ 'sources': [
+ 'metrics/cast_metrics_service_client_unittest.cc',
+ ],
+ }, # end of target 'cast_metrics_unittests'
+ {
'target_name': 'cast_service',
'type': '<(component)',
'dependencies': [
« no previous file with comments | « no previous file | chromecast/metrics/cast_metrics_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698