summaryrefslogtreecommitdiffstats
path: root/components/metrics.gypi
diff options
context:
space:
mode:
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', {