summaryrefslogtreecommitdiff
path: root/chromium/chromecast/browser/metrics/BUILD.gn
blob: ef66b24fb7b6edfd8152ac2c55534241a93128ea (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
# Copyright 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 = [
    "cast_metrics_prefs.cc",
    "cast_metrics_prefs.h",
    "cast_metrics_service_client.cc",
    "cast_metrics_service_client.h",
    "cast_stability_metrics_provider.cc",
    "cast_stability_metrics_provider.h",
  ]

  deps = [
    "//base",
    "//base:i18n",
    "//chromecast/base",
    "//chromecast/common",
    "//components/metrics",
    "//components/metrics:gpu",
    "//components/metrics:net",
    "//components/metrics:profiler",
    "//components/prefs",
    "//content/public/browser",
    "//content/public/common",
  ]

  if (is_linux) {
    sources += [
      "external_metrics.cc",
      "external_metrics.h",
    ]

    deps += [ "//components/metrics:serialization" ]
  }
}