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

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

Issue 1859213002: Move the thread hop for UMA user actions from content:: to base::. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Initializing in content. 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
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 ":profiler", 251 ":profiler",
252 ] 252 ]
253 deps = [ 253 deps = [
254 "//base", 254 "//base",
255 ] 255 ]
256 } 256 }
257 } 257 }
258 258
259 # GYP version: components/metrics.gypi:metrics_test_support 259 # GYP version: components/metrics.gypi:metrics_test_support
260 source_set("test_support") { 260 source_set("test_support") {
261 testonly = true
261 sources = [ 262 sources = [
262 "test_metrics_provider.cc", 263 "test_metrics_provider.cc",
263 "test_metrics_provider.h", 264 "test_metrics_provider.h",
264 "test_metrics_service_client.cc", 265 "test_metrics_service_client.cc",
265 "test_metrics_service_client.h", 266 "test_metrics_service_client.h",
266 ] 267 ]
267 268
268 public_deps = [ 269 public_deps = [
269 ":metrics", 270 ":metrics",
270 ] 271 ]
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 # These are only used by the blimp team, which has entirely migrated to gn, 361 # These are only used by the blimp team, which has entirely migrated to gn,
361 # so this logic is not replicated in the gyp file. 362 # so this logic is not replicated in the gyp file.
362 if (metrics_use_blimp) { 363 if (metrics_use_blimp) {
363 defines = [ 364 defines = [
364 "OVERRIDE_OS_NAME_TO_BLIMP", 365 "OVERRIDE_OS_NAME_TO_BLIMP",
365 "ENABLE_REPORTING_BLIMP", 366 "ENABLE_REPORTING_BLIMP",
366 ] 367 ]
367 } 368 }
368 } 369 }
369 # TODO(GYP): metrics_chromeos 370 # TODO(GYP): metrics_chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698