OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 source_set("metrics") { |
| 6 sources = [ |
| 7 "bucket_ranges.cc", |
| 8 "bucket_ranges.h", |
| 9 "field_trial.cc", |
| 10 "field_trial.h", |
| 11 "histogram.cc", |
| 12 "histogram.h", |
| 13 "histogram_base.cc", |
| 14 "histogram_base.h", |
| 15 "histogram_delta_serialization.", |
| 16 "histogram_delta_serialization.cc", |
| 17 "histogram_flattener.h", |
| 18 "histogram_macros.h", |
| 19 "histogram_samples.cc", |
| 20 "histogram_samples.h", |
| 21 "histogram_snapshot_manager.cc", |
| 22 "histogram_snapshot_manager.h", |
| 23 "sample_map.cc", |
| 24 "sample_map.h", |
| 25 "sample_vector.cc", |
| 26 "sample_vector.h", |
| 27 "sparse_histogram.cc", |
| 28 "sparse_histogram.h", |
| 29 "statistics_recorder.cc", |
| 30 "statistics_recorder.h", |
| 31 "user_metrics.cc", |
| 32 "user_metrics.h", |
| 33 "user_metrics_action.h", |
| 34 ] |
| 35 |
| 36 if (is_nacl) { |
| 37 sources -= [ "field_trial.cc" ] |
| 38 } |
| 39 |
| 40 defines = [ "BASE_IMPLEMENTATION" ] |
| 41 |
| 42 deps = [ |
| 43 "//base/debug", |
| 44 "//base/json", |
| 45 "//base/memory", |
| 46 ] |
| 47 |
| 48 visibility = [ "//base/*" ] |
| 49 } |
OLD | NEW |