Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / chromecast / browser / metrics / BUILD.gn
bloba07fbdfc5ee4c2708bc27d934c0aef41f82fddce
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     "platform_metrics_providers.h",
14   ]
16   deps = [
17     "//base",
18     "//base:i18n",
19     "//base:prefs",
20     "//chromecast/base",
21     "//chromecast/common",
22     "//components/metrics",
23     "//components/metrics:gpu",
24     "//components/metrics:net",
25     "//components/metrics:profiler",
26     "//content/public/common",
27     "//content/public/browser",
28   ]
30   if (is_linux) {
31     sources += [
32       "external_metrics.cc",
33       "external_metrics.h",
34     ]
36     deps += [ "//components/metrics:serialization" ]
37   }
39   # TODO(kmackay) add source "platform_metrics_providers_simple.cc"
40   #               according to condition (chromecast_branding != "Chrome")