| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 ":profiler", | 250 ":profiler", |
| 251 ] | 251 ] |
| 252 deps = [ | 252 deps = [ |
| 253 "//base", | 253 "//base", |
| 254 ] | 254 ] |
| 255 } | 255 } |
| 256 } | 256 } |
| 257 | 257 |
| 258 # GYP version: components/metrics.gypi:metrics_test_support | 258 # GYP version: components/metrics.gypi:metrics_test_support |
| 259 source_set("test_support") { | 259 source_set("test_support") { |
| 260 testonly = true |
| 260 sources = [ | 261 sources = [ |
| 261 "test_metrics_provider.cc", | 262 "test_metrics_provider.cc", |
| 262 "test_metrics_provider.h", | 263 "test_metrics_provider.h", |
| 263 "test_metrics_service_client.cc", | 264 "test_metrics_service_client.cc", |
| 264 "test_metrics_service_client.h", | 265 "test_metrics_service_client.h", |
| 265 ] | 266 ] |
| 266 | 267 |
| 267 public_deps = [ | 268 public_deps = [ |
| 268 ":metrics", | 269 ":metrics", |
| 269 ] | 270 ] |
| 270 deps = [ | 271 deps = [ |
| 271 "//base", | 272 "//base", |
| 273 "//base/test:test_support", |
| 272 ] | 274 ] |
| 273 } | 275 } |
| 274 | 276 |
| 275 if (is_linux) { | 277 if (is_linux) { |
| 276 # GYP version: components/metrics.gypi:metrics_serialization | 278 # GYP version: components/metrics.gypi:metrics_serialization |
| 277 source_set("serialization") { | 279 source_set("serialization") { |
| 278 sources = [ | 280 sources = [ |
| 279 "serialization/metric_sample.cc", | 281 "serialization/metric_sample.cc", |
| 280 "serialization/metric_sample.h", | 282 "serialization/metric_sample.h", |
| 281 "serialization/serialization_utils.cc", | 283 "serialization/serialization_utils.cc", |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 358 # These are only used by the blimp team, which has entirely migrated to gn, | 360 # These are only used by the blimp team, which has entirely migrated to gn, |
| 359 # so this logic is not replicated in the gyp file. | 361 # so this logic is not replicated in the gyp file. |
| 360 if (metrics_use_blimp) { | 362 if (metrics_use_blimp) { |
| 361 defines = [ | 363 defines = [ |
| 362 "OVERRIDE_OS_NAME_TO_BLIMP", | 364 "OVERRIDE_OS_NAME_TO_BLIMP", |
| 363 "ENABLE_REPORTING_BLIMP", | 365 "ENABLE_REPORTING_BLIMP", |
| 364 ] | 366 ] |
| 365 } | 367 } |
| 366 } | 368 } |
| 367 # TODO(GYP): metrics_chromeos | 369 # TODO(GYP): metrics_chromeos |
| OLD | NEW |