Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chromecast / browser / metrics / BUILD.gn
blob81233e8ca05c98f1eb918d1a59937cb11d5de7a3
1 # Copyright 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     "cast_metrics_prefs.cc",
8     "cast_metrics_prefs.h",
9     "cast_metrics_service_client.cc",
10     "cast_metrics_service_client.h",
11     "cast_stability_metrics_provider.cc",
12     "cast_stability_metrics_provider.h",
13   ]
15   deps = [
16     "//base",
17     "//base:i18n",
18     "//base:prefs",
19     "//chromecast/base",
20     "//chromecast/common",
21     "//components/metrics",
22     "//components/metrics:gpu",
23     "//components/metrics:net",
24     "//components/metrics:profiler",
25     "//content/public/common",
26     "//content/public/browser",
27   ]
29   if (is_linux) {
30     sources += [
31       "external_metrics.cc",
32       "external_metrics.h",
33     ]
35     deps += [ "//components/metrics:serialization" ]
36   }