| 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 # GYP version: components/metrics.gypi:metrics | 10 # GYP version: components/metrics.gypi:metrics |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 "url_constants.cc", | 66 "url_constants.cc", |
| 67 "url_constants.h", | 67 "url_constants.h", |
| 68 ] | 68 ] |
| 69 | 69 |
| 70 public_deps = [ | 70 public_deps = [ |
| 71 "//components/metrics/proto", | 71 "//components/metrics/proto", |
| 72 ] | 72 ] |
| 73 deps = [ | 73 deps = [ |
| 74 "//base", | 74 "//base", |
| 75 "//base:base_static", | 75 "//base:base_static", |
| 76 "//base:i18n", | |
| 77 "//components/prefs", | 76 "//components/prefs", |
| 78 "//components/variations", | 77 "//components/variations", |
| 79 "//third_party/zlib:compression_utils", | 78 "//third_party/zlib:compression_utils", |
| 80 ] | 79 ] |
| 81 | 80 |
| 82 if (is_chromeos) { | 81 if (is_chromeos) { |
| 83 deps += [ ":serialization" ] | 82 deps += [ ":serialization" ] |
| 84 } | 83 } |
| 85 | 84 |
| 86 if (is_mac) { | 85 if (is_mac) { |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 # These are only used by the blimp team, which has entirely migrated to gn, | 355 # These are only used by the blimp team, which has entirely migrated to gn, |
| 357 # so this logic is not replicated in the gyp file. | 356 # so this logic is not replicated in the gyp file. |
| 358 if (metrics_use_blimp) { | 357 if (metrics_use_blimp) { |
| 359 defines = [ | 358 defines = [ |
| 360 "OVERRIDE_OS_NAME_TO_BLIMP", | 359 "OVERRIDE_OS_NAME_TO_BLIMP", |
| 361 "ENABLE_REPORTING_BLIMP", | 360 "ENABLE_REPORTING_BLIMP", |
| 362 ] | 361 ] |
| 363 } | 362 } |
| 364 } | 363 } |
| 365 # TODO(GYP): metrics_chromeos | 364 # TODO(GYP): metrics_chromeos |
| OLD | NEW |