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 "call_stack_profile_metrics_provider.cc", | 8 "call_stack_profile_metrics_provider.cc", |
9 "call_stack_profile_metrics_provider.h", | 9 "call_stack_profile_metrics_provider.h", |
10 "clean_exit_beacon.cc", | 10 "clean_exit_beacon.cc", |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 deps = [ | 198 deps = [ |
199 ":metrics", | 199 ":metrics", |
200 ":net", | 200 ":net", |
201 ":test_support", | 201 ":test_support", |
202 "//base:prefs_test_support", | 202 "//base:prefs_test_support", |
203 "//base/test:test_support", | 203 "//base/test:test_support", |
204 "//components/variations", | 204 "//components/variations", |
205 "//testing/gtest", | 205 "//testing/gtest", |
206 ] | 206 ] |
207 | 207 |
208 if (is_linux) { | |
209 sources += [ "serialization/serialization_utils_unittest.cc" ] | |
210 deps += [ ":serialization" ] | |
211 } | |
212 | |
213 if (!is_ios) { | 208 if (!is_ios) { |
| 209 deps += [ |
| 210 "//content/public/common", |
| 211 ":gpu", |
| 212 ":profiler", |
| 213 ] |
214 sources += [ | 214 sources += [ |
215 "gpu/gpu_metrics_provider_unittest.cc", | 215 "gpu/gpu_metrics_provider_unittest.cc", |
216 "profiler/profiler_metrics_provider_unittest.cc", | 216 "profiler/profiler_metrics_provider_unittest.cc", |
217 "profiler/tracking_synchronizer_unittest.cc", | 217 "profiler/tracking_synchronizer_unittest.cc", |
218 ] | 218 ] |
219 deps += [ | 219 } |
220 ":gpu", | 220 if (is_linux) { |
221 ":profiler", | 221 sources += [ "serialization/serialization_utils_unittest.cc" ] |
222 "//content/public/common", | 222 deps += [ ":serialization" ] |
223 ] | |
224 } | 223 } |
225 } | 224 } |
226 # TODO(GYP): metrics_chromeos | 225 # TODO(GYP): metrics_chromeos |
OLD | NEW |