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

Unified Diff: components/metrics/BUILD.gn

Issue 668863002: [Clean up] Move VariationsHttpHeaderProvider into a subdirectory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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 | « components/components_tests.gyp ('k') | components/metrics/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/BUILD.gn
diff --git a/components/metrics/BUILD.gn b/components/metrics/BUILD.gn
index 8bccd4582ab779b9f312198c973cd66462e51bba..13c34a941939b5358c849c55b9644488cde42c39 100644
--- a/components/metrics/BUILD.gn
+++ b/components/metrics/BUILD.gn
@@ -138,4 +138,27 @@ if (is_linux) {
}
}
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "compression_utils_unittest.cc",
+ "daily_event_unittest.cc",
+ "machine_id_provider_win_unittest.cc",
+ "metrics_hashes_unittest.cc",
+ "metrics_log_manager_unittest.cc",
+ "metrics_log_unittest.cc",
+ "metrics_reporting_scheduler_unittest.cc",
+ "metrics_service_unittest.cc",
+ "metrics_state_manager_unittest.cc",
+ "persisted_logs_unittest.cc",
+ "profiler/profiler_metrics_provider_unittest.cc",
+ ]
+
+ deps = [
+ ":metrics",
+ "//base/test:test_support",
+ "//testing/gtest",
+ ]
+}
+
# TODO(GYP): metrics_chromeos
« no previous file with comments | « components/components_tests.gyp ('k') | components/metrics/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698