summaryrefslogtreecommitdiffstats
path: root/chromium/base/metrics/BUILD.gn
blob: 845ac4f79c83be5e301a14611583cfc18495f21e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Copyright (c) 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("metrics") {
  sources = [
    "bucket_ranges.cc",
    "bucket_ranges.h",
    "field_trial.cc",
    "field_trial.h",
    "histogram.cc",
    "histogram.h",
    "histogram_base.cc",
    "histogram_base.h",
    "histogram_delta_serialization.cc",
    "histogram_delta_serialization.h",
    "histogram_flattener.h",
    "histogram_macros.h",
    "histogram_samples.cc",
    "histogram_samples.h",
    "histogram_snapshot_manager.cc",
    "histogram_snapshot_manager.h",
    "sample_map.cc",
    "sample_map.h",
    "sample_vector.cc",
    "sample_vector.h",
    "sparse_histogram.cc",
    "sparse_histogram.h",
    "statistics_recorder.cc",
    "statistics_recorder.h",
    "user_metrics.cc",
    "user_metrics.h",
    "user_metrics_action.h",
  ]

  if (is_nacl) {
    sources -= [ "field_trial.cc" ]
  }

  configs += [ "//base:base_implementation" ]

  deps = [
    "//base/debug",
    "//base/json",
    "//base/memory",
  ]

  visibility = [ "//base/*" ]
}