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

Unified Diff: components/metrics.gypi

Issue 290343005: Pass MetricsServiceClient into MetricsService, and create a simple stubbed TestMetricsServiceClient… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 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 | « chrome/chrome_tests_unit.gypi ('k') | components/metrics/test_metrics_service_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics.gypi
diff --git a/components/metrics.gypi b/components/metrics.gypi
index a572cda8f0a88d028ec3fe8de2b84df80c7cc9dc..850ecd091a13472dd2b21460ae1bd015f4a2e21e 100644
--- a/components/metrics.gypi
+++ b/components/metrics.gypi
@@ -60,6 +60,26 @@
},
'includes': [ '../build/protoc.gypi' ],
},
+ {
+ # TODO(isherman): Remove all //chrome dependencies on this target, and
+ # merge the files in this target with components_unittests.
+ 'target_name': 'metrics_test_support',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '..',
+ ],
+ 'dependencies': [
+ 'component_metrics_proto',
+ 'metrics',
+ ],
+ 'export_dependent_settings': [
+ 'component_metrics_proto',
+ ],
+ 'sources': [
+ 'metrics/test_metrics_service_client.cc',
+ 'metrics/test_metrics_service_client.h',
+ ],
+ },
],
'conditions': [
['chromeos==1', {
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/metrics/test_metrics_service_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698