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 11 matching lines...) Expand all Loading... |
22 "daily_event.h", | 22 "daily_event.h", |
23 "data_use_tracker.cc", | 23 "data_use_tracker.cc", |
24 "data_use_tracker.h", | 24 "data_use_tracker.h", |
25 "drive_metrics_provider.cc", | 25 "drive_metrics_provider.cc", |
26 "drive_metrics_provider.h", | 26 "drive_metrics_provider.h", |
27 "drive_metrics_provider_android.cc", | 27 "drive_metrics_provider_android.cc", |
28 "drive_metrics_provider_ios.mm", | 28 "drive_metrics_provider_ios.mm", |
29 "drive_metrics_provider_linux.cc", | 29 "drive_metrics_provider_linux.cc", |
30 "drive_metrics_provider_mac.mm", | 30 "drive_metrics_provider_mac.mm", |
31 "drive_metrics_provider_win.cc", | 31 "drive_metrics_provider_win.cc", |
| 32 "enabled_state_provider.cc", |
| 33 "enabled_state_provider.h", |
32 "file_metrics_provider.cc", | 34 "file_metrics_provider.cc", |
33 "file_metrics_provider.h", | 35 "file_metrics_provider.h", |
34 "histogram_encoder.cc", | 36 "histogram_encoder.cc", |
35 "histogram_encoder.h", | 37 "histogram_encoder.h", |
36 "machine_id_provider.h", | 38 "machine_id_provider.h", |
37 "machine_id_provider_stub.cc", | 39 "machine_id_provider_stub.cc", |
38 "machine_id_provider_win.cc", | 40 "machine_id_provider_win.cc", |
39 "metrics_log.cc", | 41 "metrics_log.cc", |
40 "metrics_log.h", | 42 "metrics_log.h", |
41 "metrics_log_manager.cc", | 43 "metrics_log_manager.cc", |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 deps = [ | 256 deps = [ |
255 "//base", | 257 "//base", |
256 ] | 258 ] |
257 } | 259 } |
258 } | 260 } |
259 | 261 |
260 # GYP version: components/metrics.gypi:metrics_test_support | 262 # GYP version: components/metrics.gypi:metrics_test_support |
261 source_set("test_support") { | 263 source_set("test_support") { |
262 testonly = true | 264 testonly = true |
263 sources = [ | 265 sources = [ |
| 266 "test_enabled_state_provider.cc", |
| 267 "test_enabled_state_provider.h", |
264 "test_metrics_provider.cc", | 268 "test_metrics_provider.cc", |
265 "test_metrics_provider.h", | 269 "test_metrics_provider.h", |
266 "test_metrics_service_client.cc", | 270 "test_metrics_service_client.cc", |
267 "test_metrics_service_client.h", | 271 "test_metrics_service_client.h", |
268 ] | 272 ] |
269 | 273 |
270 public_deps = [ | 274 public_deps = [ |
271 ":metrics", | 275 ":metrics", |
272 ] | 276 ] |
273 deps = [ | 277 deps = [ |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 # These are only used by the blimp team, which has entirely migrated to gn, | 366 # These are only used by the blimp team, which has entirely migrated to gn, |
363 # so this logic is not replicated in the gyp file. | 367 # so this logic is not replicated in the gyp file. |
364 if (metrics_use_blimp) { | 368 if (metrics_use_blimp) { |
365 defines = [ | 369 defines = [ |
366 "OVERRIDE_OS_NAME_TO_BLIMP", | 370 "OVERRIDE_OS_NAME_TO_BLIMP", |
367 "ENABLE_REPORTING_BLIMP", | 371 "ENABLE_REPORTING_BLIMP", |
368 ] | 372 ] |
369 } | 373 } |
370 } | 374 } |
371 # TODO(GYP): metrics_chromeos | 375 # TODO(GYP): metrics_chromeos |
OLD | NEW |