summaryrefslogtreecommitdiffstats
path: root/components/metrics.gypi
diff options
context:
space:
mode:
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-21 09:20:32 +0000
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-21 09:20:32 +0000
commit728de07bcd33e9953b21db1a1bfe397d4bee4e3b (patch)
tree6fc2140f0aeb4d1cef600af063089e36d617fa75 /components/metrics.gypi
parentbc6427c7309617bad39bd591fb9f37f701d3aa43 (diff)
downloadchromium_src-728de07bcd33e9953b21db1a1bfe397d4bee4e3b.zip
chromium_src-728de07bcd33e9953b21db1a1bfe397d4bee4e3b.tar.gz
chromium_src-728de07bcd33e9953b21db1a1bfe397d4bee4e3b.tar.bz2
Pass MetricsServiceClient into MetricsService, and create a simple stubbed TestMetricsServiceClient class.
BUG=374237,374235 TEST=compiles R=asvitkine@chromium.org, blundell@chromium.org Review URL: https://codereview.chromium.org/290343005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271873 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/metrics.gypi')
-rw-r--r--components/metrics.gypi20
1 files changed, 20 insertions, 0 deletions
diff --git a/components/metrics.gypi b/components/metrics.gypi
index a572cda..850ecd09 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', {