Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: components/metrics/BUILD.gn

Issue 1818613002: Implement UMA log throttling for cellular connections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix param order Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
11 source_set("metrics") { 11 source_set("metrics") {
12 sources = [ 12 sources = [
13 "call_stack_profile_metrics_provider.cc", 13 "call_stack_profile_metrics_provider.cc",
14 "call_stack_profile_metrics_provider.h", 14 "call_stack_profile_metrics_provider.h",
15 "clean_exit_beacon.cc", 15 "clean_exit_beacon.cc",
16 "clean_exit_beacon.h", 16 "clean_exit_beacon.h",
17 "client_info.cc", 17 "client_info.cc",
18 "client_info.h", 18 "client_info.h",
19 "cloned_install_detector.cc", 19 "cloned_install_detector.cc",
20 "cloned_install_detector.h", 20 "cloned_install_detector.h",
21 "daily_event.cc", 21 "daily_event.cc",
22 "daily_event.h", 22 "daily_event.h",
23 "data_use_tracker.cc",
24 "data_use_tracker.h",
23 "drive_metrics_provider.cc", 25 "drive_metrics_provider.cc",
24 "drive_metrics_provider.h", 26 "drive_metrics_provider.h",
25 "drive_metrics_provider_android.cc", 27 "drive_metrics_provider_android.cc",
26 "drive_metrics_provider_ios.mm", 28 "drive_metrics_provider_ios.mm",
27 "drive_metrics_provider_linux.cc", 29 "drive_metrics_provider_linux.cc",
28 "drive_metrics_provider_mac.mm", 30 "drive_metrics_provider_mac.mm",
29 "drive_metrics_provider_win.cc", 31 "drive_metrics_provider_win.cc",
30 "file_metrics_provider.cc", 32 "file_metrics_provider.cc",
31 "file_metrics_provider.h", 33 "file_metrics_provider.h",
32 "histogram_encoder.cc", 34 "histogram_encoder.cc",
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 ] 307 ]
306 } 308 }
307 } 309 }
308 310
309 source_set("unit_tests") { 311 source_set("unit_tests") {
310 testonly = true 312 testonly = true
311 sources = [ 313 sources = [
312 "call_stack_profile_metrics_provider_unittest.cc", 314 "call_stack_profile_metrics_provider_unittest.cc",
313 "cloned_install_detector_unittest.cc", 315 "cloned_install_detector_unittest.cc",
314 "daily_event_unittest.cc", 316 "daily_event_unittest.cc",
317 "data_use_tracker_unittest.cc",
315 "drive_metrics_provider_unittest.cc", 318 "drive_metrics_provider_unittest.cc",
316 "histogram_encoder_unittest.cc", 319 "histogram_encoder_unittest.cc",
317 "machine_id_provider_win_unittest.cc", 320 "machine_id_provider_win_unittest.cc",
318 "metrics_log_manager_unittest.cc", 321 "metrics_log_manager_unittest.cc",
319 "metrics_log_unittest.cc", 322 "metrics_log_unittest.cc",
320 "metrics_reporting_scheduler_unittest.cc", 323 "metrics_reporting_scheduler_unittest.cc",
321 "metrics_service_unittest.cc", 324 "metrics_service_unittest.cc",
322 "metrics_state_manager_unittest.cc", 325 "metrics_state_manager_unittest.cc",
323 "net/net_metrics_log_uploader_unittest.cc", 326 "net/net_metrics_log_uploader_unittest.cc",
324 "persisted_logs_unittest.cc", 327 "persisted_logs_unittest.cc",
(...skipping 30 matching lines...) Expand all
355 # These are only used by the blimp team, which has entirely migrated to gn, 358 # These are only used by the blimp team, which has entirely migrated to gn,
356 # so this logic is not replicated in the gyp file. 359 # so this logic is not replicated in the gyp file.
357 if (metrics_use_blimp) { 360 if (metrics_use_blimp) {
358 defines = [ 361 defines = [
359 "OVERRIDE_OS_NAME_TO_BLIMP", 362 "OVERRIDE_OS_NAME_TO_BLIMP",
360 "ENABLE_REPORTING_BLIMP", 363 "ENABLE_REPORTING_BLIMP",
361 ] 364 ]
362 } 365 }
363 } 366 }
364 # TODO(GYP): metrics_chromeos 367 # TODO(GYP): metrics_chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698