OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("metrics") { | 5 source_set("metrics") { |
6 sources = [ | 6 sources = [ |
7 "cast_metrics_prefs.cc", | 7 "cast_metrics_prefs.cc", |
8 "cast_metrics_prefs.h", | 8 "cast_metrics_prefs.h", |
9 "cast_metrics_service_client.cc", | 9 "cast_metrics_service_client.cc", |
10 "cast_metrics_service_client.h", | 10 "cast_metrics_service_client.h", |
11 "cast_stability_metrics_provider.cc", | 11 "cast_stability_metrics_provider.cc", |
12 "cast_stability_metrics_provider.h", | 12 "cast_stability_metrics_provider.h", |
13 "platform_metrics_providers.h", | |
14 ] | 13 ] |
15 | 14 |
16 deps = [ | 15 deps = [ |
17 "//base", | 16 "//base", |
18 "//base:i18n", | 17 "//base:i18n", |
19 "//base:prefs", | 18 "//base:prefs", |
20 "//chromecast/base", | 19 "//chromecast/base", |
21 "//chromecast/common", | 20 "//chromecast/common", |
22 "//components/metrics", | 21 "//components/metrics", |
23 "//components/metrics:gpu", | 22 "//components/metrics:gpu", |
24 "//components/metrics:net", | 23 "//components/metrics:net", |
25 "//components/metrics:profiler", | 24 "//components/metrics:profiler", |
26 "//content/public/common", | 25 "//content/public/common", |
27 "//content/public/browser", | 26 "//content/public/browser", |
28 ] | 27 ] |
29 | 28 |
30 if (is_linux) { | 29 if (is_linux) { |
31 sources += [ | 30 sources += [ |
32 "external_metrics.cc", | 31 "external_metrics.cc", |
33 "external_metrics.h", | 32 "external_metrics.h", |
34 ] | 33 ] |
35 | 34 |
36 deps += [ "//components/metrics:serialization" ] | 35 deps += [ "//components/metrics:serialization" ] |
37 } | 36 } |
38 | |
39 # TODO(kmackay) add source "platform_metrics_providers_simple.cc" | |
40 # according to condition (chromecast_branding != "Chrome") | |
41 } | 37 } |
OLD | NEW |