summaryrefslogtreecommitdiffstats
path: root/base/metrics/BUILD.gn
blob: 0154cfa31533d1ba3c3b3740a166e0e9f3ee7b2d (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
50
51
# 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",
  ]

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

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

  allow_circular_includes_from = [
    "//base/memory",
    "//base/process",
  ]

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