summaryrefslogtreecommitdiffstats
path: root/components/metrics/BUILD.gn
diff options
context:
space:
mode:
authorblundell <blundell@chromium.org>2015-07-30 13:18:30 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-30 20:19:42 +0000
commitb5c6b5a18863e2e9094b5bb3328edab690fa7111 (patch)
tree0c36eec1009b7a9ab601ebcf91c4590058f4e775 /components/metrics/BUILD.gn
parent34960e7a547930177cc05020921b7ee3eec4fd39 (diff)
downloadchromium_src-b5c6b5a18863e2e9094b5bb3328edab690fa7111.zip
chromium_src-b5c6b5a18863e2e9094b5bb3328edab690fa7111.tar.gz
chromium_src-b5c6b5a18863e2e9094b5bb3328edab690fa7111.tar.bz2
Componentize DriveMetricsProvider*
This metrics provider is used on iOS, so to enable clean integration on iOS this CL componentizes it and injects its //chrome-level dependencies from the embedder. BUG=512426 Review URL: https://codereview.chromium.org/1254983003 Cr-Commit-Position: refs/heads/master@{#341183}
Diffstat (limited to 'components/metrics/BUILD.gn')
-rw-r--r--components/metrics/BUILD.gn8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn
index 90e1c6a..58e88bf 100644
--- a/components/metrics/BUILD.gn
+++ b/components/metrics/BUILD.gn
@@ -17,6 +17,13 @@ source_set("metrics") {
"compression_utils.h",
"daily_event.cc",
"daily_event.h",
+ "drive_metrics_provider.cc",
+ "drive_metrics_provider.h",
+ "drive_metrics_provider_android.cc",
+ "drive_metrics_provider_ios.mm",
+ "drive_metrics_provider_linux.cc",
+ "drive_metrics_provider_mac.mm",
+ "drive_metrics_provider_win.cc",
"histogram_encoder.cc",
"histogram_encoder.h",
"machine_id_provider.h",
@@ -172,6 +179,7 @@ source_set("unit_tests") {
sources = [
"compression_utils_unittest.cc",
"daily_event_unittest.cc",
+ "drive_metrics_provider_unittest.cc",
"histogram_encoder_unittest.cc",
"machine_id_provider_win_unittest.cc",
"metrics_hashes_unittest.cc",