OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # GYP version: components/metrics.gypi:metrics | 5 # GYP version: components/metrics.gypi:metrics |
6 source_set("metrics") { | 6 source_set("metrics") { |
7 sources = [ | 7 sources = [ |
8 "clean_exit_beacon.cc", | 8 "clean_exit_beacon.cc", |
9 "clean_exit_beacon.h", | 9 "clean_exit_beacon.h", |
10 "client_info.cc", | 10 "client_info.cc", |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 ] | 45 ] |
46 | 46 |
47 public_deps = [ | 47 public_deps = [ |
48 "//components/metrics/proto", | 48 "//components/metrics/proto", |
49 ] | 49 ] |
50 deps = [ | 50 deps = [ |
51 "//base", | 51 "//base", |
52 "//components/variations", | 52 "//components/variations", |
53 "//third_party/zlib", | 53 "//third_party/zlib", |
54 ] | 54 ] |
| 55 |
| 56 if (is_chromeos) { |
| 57 deps += [ ":serialization" ] |
| 58 } |
55 } | 59 } |
56 | 60 |
57 # GYP version: components/metrics.gypi:metrics_gpu | 61 # GYP version: components/metrics.gypi:metrics_gpu |
58 source_set("gpu") { | 62 source_set("gpu") { |
59 sources = [ | 63 sources = [ |
60 "gpu/gpu_metrics_provider.cc", | 64 "gpu/gpu_metrics_provider.cc", |
61 "gpu/gpu_metrics_provider.h", | 65 "gpu/gpu_metrics_provider.h", |
62 ] | 66 ] |
63 | 67 |
64 public_deps = [ | 68 public_deps = [ |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 sources = [ | 118 sources = [ |
115 "test_metrics_service_client.cc", | 119 "test_metrics_service_client.cc", |
116 "test_metrics_service_client.h", | 120 "test_metrics_service_client.h", |
117 ] | 121 ] |
118 | 122 |
119 public_deps = [ | 123 public_deps = [ |
120 ":metrics", | 124 ":metrics", |
121 ] | 125 ] |
122 } | 126 } |
123 | 127 |
| 128 if (is_linux) { |
| 129 # GYP version: components/metrics.gypi:metrics_serialization |
| 130 source_set("serialization") { |
| 131 sources = [ |
| 132 "serialization/serialization_utils.cc", |
| 133 "serialization/serialization_utils.h", |
| 134 "serialization/metric_sample.cc", |
| 135 "serialization/metric_sample.h", |
| 136 ] |
| 137 deps = [ "//base" ] |
| 138 } |
| 139 } |
| 140 |
124 # TODO(GYP): metrics_chromeos | 141 # TODO(GYP): metrics_chromeos |
OLD | NEW |