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

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

Issue 1958003003: Splitting the concept of UMA consent, and should UMA report. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/enabled_state_provider.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 11 matching lines...) Expand all
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
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
362 366
363 # These are only used by the blimp team, which has entirely migrated to gn, 367 # These are only used by the blimp team, which has entirely migrated to gn,
364 # so this logic is not replicated in the gyp file. 368 # so this logic is not replicated in the gyp file.
365 if (metrics_use_blimp) { 369 if (metrics_use_blimp) {
366 defines = [ 370 defines = [
367 "OVERRIDE_OS_NAME_TO_BLIMP", 371 "OVERRIDE_OS_NAME_TO_BLIMP",
368 "ENABLE_REPORTING_BLIMP", 372 "ENABLE_REPORTING_BLIMP",
369 ] 373 ]
370 } 374 }
371 } 375 }
OLDNEW
« no previous file with comments | « components/metrics.gypi ('k') | components/metrics/enabled_state_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698