| 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() { | |
| 6 # Overrides os name in uma metrics log to "Blimp". | |
| 7 metrics_use_blimp = false | |
| 8 } | |
| 9 | |
| 10 # These are only used by the blimp team, which has entirely migrated to gn, | |
| 11 # so this logic is not replicated in the gyp file. | |
| 12 if (metrics_use_blimp) { | |
| 13 defines = [ "OVERRIDE_OS_NAME_TO_BLIMP" ] | |
| 14 } | |
| 15 | |
| 16 static_library("metrics") { | 5 static_library("metrics") { |
| 17 sources = [ | 6 sources = [ |
| 18 "call_stack_profile_metrics_provider.cc", | 7 "call_stack_profile_metrics_provider.cc", |
| 19 "call_stack_profile_metrics_provider.h", | 8 "call_stack_profile_metrics_provider.h", |
| 20 "clean_exit_beacon.cc", | 9 "clean_exit_beacon.cc", |
| 21 "clean_exit_beacon.h", | 10 "clean_exit_beacon.h", |
| 22 "client_info.cc", | 11 "client_info.cc", |
| 23 "client_info.h", | 12 "client_info.h", |
| 24 "cloned_install_detector.cc", | 13 "cloned_install_detector.cc", |
| 25 "cloned_install_detector.h", | 14 "cloned_install_detector.h", |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 ] | 354 ] |
| 366 } | 355 } |
| 367 | 356 |
| 368 # iOS is not supported by the profiler and the ios-simulator bot chokes on | 357 # iOS is not supported by the profiler and the ios-simulator bot chokes on |
| 369 # these tests. | 358 # these tests. |
| 370 if (is_ios) { | 359 if (is_ios) { |
| 371 sources -= [ "child_call_stack_profile_collector_unittest.cc" ] | 360 sources -= [ "child_call_stack_profile_collector_unittest.cc" ] |
| 372 deps -= [ "//components/metrics/public/cpp:call_stack_unit_tests" ] | 361 deps -= [ "//components/metrics/public/cpp:call_stack_unit_tests" ] |
| 373 } | 362 } |
| 374 } | 363 } |
| OLD | NEW |