Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 source_set("metrics") { | 5 source_set("metrics") { |
| 6 sources = [ | 6 sources = [ |
| 7 "bucket_ranges.cc", | 7 "bucket_ranges.cc", |
| 8 "bucket_ranges.h", | 8 "bucket_ranges.h", |
| 9 "field_trial.cc", | 9 "field_trial.cc", |
| 10 "field_trial.h", | 10 "field_trial.h", |
| 11 "histogram.cc", | 11 "histogram.cc", |
| 12 "histogram.h", | 12 "histogram.h", |
| 13 "histogram_base.cc", | 13 "histogram_base.cc", |
| 14 "histogram_base.h", | 14 "histogram_base.h", |
| 15 "histogram_delta_serialization.cc", | 15 "histogram_delta_serialization.cc", |
| 16 "histogram_delta_serialization.h", | 16 "histogram_delta_serialization.h", |
| 17 "histogram_flattener.h", | 17 "histogram_flattener.h", |
| 18 "histogram_macros.h", | 18 "histogram_macros.h", |
| 19 "histogram_samples.cc", | 19 "histogram_samples.cc", |
| 20 "histogram_samples.h", | 20 "histogram_samples.h", |
| 21 "histogram_snapshot_manager.cc", | 21 "histogram_snapshot_manager.cc", |
| 22 "histogram_snapshot_manager.h", | 22 "histogram_snapshot_manager.h", |
| 23 "metrics_hashes.cc", | |
| 24 "metrics_hashes.h", | |
| 23 "sample_map.cc", | 25 "sample_map.cc", |
| 24 "sample_map.h", | 26 "sample_map.h", |
| 25 "sample_vector.cc", | 27 "sample_vector.cc", |
| 26 "sample_vector.h", | 28 "sample_vector.h", |
| 27 "sparse_histogram.cc", | 29 "sparse_histogram.cc", |
| 28 "sparse_histogram.h", | 30 "sparse_histogram.h", |
| 29 "statistics_recorder.cc", | 31 "statistics_recorder.cc", |
| 30 "statistics_recorder.h", | 32 "statistics_recorder.h", |
| 31 "user_metrics.cc", | 33 "user_metrics.cc", |
| 32 "user_metrics.h", | 34 "user_metrics.h", |
| 33 "user_metrics_action.h", | 35 "user_metrics_action.h", |
| 34 ] | 36 ] |
| 35 | 37 |
| 36 configs += [ "//base:base_implementation" ] | 38 configs += [ "//base:base_implementation" ] |
| 37 | 39 |
| 38 deps = [ | 40 deps = [ |
| 39 "//base/debug", | 41 "//base/debug", |
| 40 "//base/json", | 42 "//base/json", |
| 41 "//base/memory", | 43 "//base/memory", |
| 42 ] | 44 ] |
| 43 | 45 |
| 44 allow_circular_includes_from = [ "//base/memory" ] | 46 allow_circular_includes_from = [ "//base/memory" ] |
| 45 | 47 |
| 46 visibility = [ "//base/*" ] | 48 visibility = [ "//base/*" ] |
| 47 } | 49 } |
| 50 | |
| 51 source_set("unit_tests") { | |
| 52 testonly = true | |
| 53 sources = [ | |
| 54 "metrics_hashes_unittest.cc", | |
|
Alexei Svitkine (slow)
2015/11/25 21:05:40
The other unit tests in this folder are listed her
bcwhite
2015/11/25 22:58:26
Ahh, there they are. Will do.
| |
| 55 ] | |
| 56 | |
| 57 deps = [ | |
| 58 ":metrics", | |
| 59 "//base:prefs_test_support", | |
| 60 "//base/test:test_support", | |
| 61 "//components/variations", | |
| 62 "//testing/gtest", | |
| 63 ] | |
| 64 } | |
| OLD | NEW |