Don't preload rarely seen large images
[chromium-blink-merge.git] / base / metrics / BUILD.gn
blob845ac4f79c83be5e301a14611583cfc18495f21e
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.
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.cc",
16     "histogram_delta_serialization.h",
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   ]
36   if (is_nacl) {
37     sources -= [ "field_trial.cc" ]
38   }
40   configs += [ "//base:base_implementation" ]
42   deps = [
43     "//base/debug",
44     "//base/json",
45     "//base/memory",
46   ]
48   visibility = [ "//base/*" ]