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

Unified Diff: base/metrics/BUILD.gn

Issue 1471073007: Reorganize histograms for persistence. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shmem-alloc
Patch Set: added GN changes Created 5 years, 1 month 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
Index: base/metrics/BUILD.gn
diff --git a/base/metrics/BUILD.gn b/base/metrics/BUILD.gn
index 94bfb6c34da7a3b57e38eb1dd4121c329e7ef2cf..b3ede465eaf0fc987277887415a148f9bca02f65 100644
--- a/base/metrics/BUILD.gn
+++ b/base/metrics/BUILD.gn
@@ -20,6 +20,8 @@ source_set("metrics") {
"histogram_samples.h",
"histogram_snapshot_manager.cc",
"histogram_snapshot_manager.h",
+ "metrics_hashes.cc",
+ "metrics_hashes.h",
"sample_map.cc",
"sample_map.h",
"sample_vector.cc",
@@ -45,3 +47,18 @@ source_set("metrics") {
visibility = [ "//base/*" ]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "metrics_hashes_unittest.cc",
+ ]
+
+ deps = [
+ ":metrics",
+ "//base:prefs_test_support",
+ "//base/test:test_support",
+ "//components/variations",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « base/base.gypi ('k') | base/metrics/histogram.h » ('j') | base/metrics/histogram_base.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698