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 declare_args() { | 5 declare_args() { |
6 # Overrides os name in uma metrics log to "Blimp". | 6 # Overrides os name in uma metrics log to "Blimp". |
7 metrics_use_blimp = false | 7 metrics_use_blimp = false |
8 } | 8 } |
9 | 9 |
10 # These are only used by the blimp team, which has entirely migrated to gn, | 10 # These are only used by the blimp team, which has entirely migrated to gn, |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
233 | 233 |
234 public_deps = [ | 234 public_deps = [ |
235 ":profiler", | 235 ":profiler", |
236 ] | 236 ] |
237 deps = [ | 237 deps = [ |
238 "//base", | 238 "//base", |
239 ] | 239 ] |
240 } | 240 } |
241 } | 241 } |
242 | 242 |
243 static_library("call_stacks") { | |
244 deps = [ | |
245 "//components/metrics/public/interfaces:call_stack_mojo_bindings", | |
246 ] | |
247 } | |
248 | |
243 # GYP version: components/metrics.gypi:metrics_test_support | 249 # GYP version: components/metrics.gypi:metrics_test_support |
244 static_library("test_support") { | 250 static_library("test_support") { |
245 testonly = true | 251 testonly = true |
246 sources = [ | 252 sources = [ |
247 "test_enabled_state_provider.cc", | 253 "test_enabled_state_provider.cc", |
248 "test_enabled_state_provider.h", | 254 "test_enabled_state_provider.h", |
249 "test_metrics_provider.cc", | 255 "test_metrics_provider.cc", |
250 "test_metrics_provider.h", | 256 "test_metrics_provider.h", |
251 "test_metrics_service_client.cc", | 257 "test_metrics_service_client.cc", |
252 "test_metrics_service_client.h", | 258 "test_metrics_service_client.h", |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
299 "ui/screen_info_metrics_provider_unittest.cc", | 305 "ui/screen_info_metrics_provider_unittest.cc", |
300 ] | 306 ] |
301 | 307 |
302 deps = [ | 308 deps = [ |
303 ":metrics", | 309 ":metrics", |
304 ":net", | 310 ":net", |
305 ":profiler", | 311 ":profiler", |
306 ":test_support", | 312 ":test_support", |
307 ":ui", | 313 ":ui", |
308 "//base/test:test_support", | 314 "//base/test:test_support", |
315 "//components/metrics/public/cpp:call_stack_unit_tests", | |
309 "//components/prefs:test_support", | 316 "//components/prefs:test_support", |
310 "//components/variations", | 317 "//components/variations", |
311 "//net:test_support", | 318 "//net:test_support", |
312 "//testing/gtest", | 319 "//testing/gtest", |
313 "//third_party/zlib:compression_utils", | 320 "//third_party/zlib:compression_utils", |
314 "//ui/gfx/geometry", | 321 "//ui/gfx/geometry", |
315 ] | 322 ] |
316 | 323 |
317 if (is_linux) { | 324 if (is_linux) { |
318 sources += [ "serialization/serialization_utils_unittest.cc" ] | 325 sources += [ "serialization/serialization_utils_unittest.cc" ] |
319 deps += [ ":serialization" ] | 326 deps += [ ":serialization" ] |
320 } | 327 } |
321 | 328 |
322 if (is_chromeos) { | 329 if (is_chromeos) { |
323 deps += [ "leak_detector:unit_tests" ] | 330 deps += [ "leak_detector:unit_tests" ] |
324 } | 331 } |
332 | |
333 # iOS is not supported by the profiler and the ios-simulator bot chokes on | |
334 # this test. | |
335 if (is_ios) { | |
336 deps -= [ "//components/metrics/public/cpp:call_stack_unit_tests" ] | |
337 } | |
Ilya Sherman
2016/08/19 23:09:31
Hmm, why did you move this to here? If it can be
Mike Wittman
2016/08/19 23:27:54
The previous approach still transitively added the
| |
325 } | 338 } |
OLD | NEW |