| 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 | |
| 249 # GYP version: components/metrics.gypi:metrics_test_support | 243 # GYP version: components/metrics.gypi:metrics_test_support |
| 250 static_library("test_support") { | 244 static_library("test_support") { |
| 251 testonly = true | 245 testonly = true |
| 252 sources = [ | 246 sources = [ |
| 253 "test_enabled_state_provider.cc", | 247 "test_enabled_state_provider.cc", |
| 254 "test_enabled_state_provider.h", | 248 "test_enabled_state_provider.h", |
| 255 "test_metrics_provider.cc", | 249 "test_metrics_provider.cc", |
| 256 "test_metrics_provider.h", | 250 "test_metrics_provider.h", |
| 257 "test_metrics_service_client.cc", | 251 "test_metrics_service_client.cc", |
| 258 "test_metrics_service_client.h", | 252 "test_metrics_service_client.h", |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 "ui/screen_info_metrics_provider_unittest.cc", | 299 "ui/screen_info_metrics_provider_unittest.cc", |
| 306 ] | 300 ] |
| 307 | 301 |
| 308 deps = [ | 302 deps = [ |
| 309 ":metrics", | 303 ":metrics", |
| 310 ":net", | 304 ":net", |
| 311 ":profiler", | 305 ":profiler", |
| 312 ":test_support", | 306 ":test_support", |
| 313 ":ui", | 307 ":ui", |
| 314 "//base/test:test_support", | 308 "//base/test:test_support", |
| 315 "//components/metrics/public/cpp:call_stack_unit_tests", | |
| 316 "//components/prefs:test_support", | 309 "//components/prefs:test_support", |
| 317 "//components/variations", | 310 "//components/variations", |
| 318 "//net:test_support", | 311 "//net:test_support", |
| 319 "//testing/gtest", | 312 "//testing/gtest", |
| 320 "//third_party/zlib:compression_utils", | 313 "//third_party/zlib:compression_utils", |
| 321 "//ui/gfx/geometry", | 314 "//ui/gfx/geometry", |
| 322 ] | 315 ] |
| 323 | 316 |
| 324 if (is_linux) { | 317 if (is_linux) { |
| 325 sources += [ "serialization/serialization_utils_unittest.cc" ] | 318 sources += [ "serialization/serialization_utils_unittest.cc" ] |
| 326 deps += [ ":serialization" ] | 319 deps += [ ":serialization" ] |
| 327 } | 320 } |
| 328 | 321 |
| 329 if (is_chromeos) { | 322 if (is_chromeos) { |
| 330 deps += [ "leak_detector:unit_tests" ] | 323 deps += [ "leak_detector:unit_tests" ] |
| 331 } | 324 } |
| 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 } | |
| 338 } | 325 } |
| OLD | NEW |