| 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",
|
| + ]
|
| +}
|
|
|