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

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

Issue 2005513002: Fix for setting the os listed in metrics reporting for Blimp. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to resolve patch failure. 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 | « no previous file | components/metrics/metrics_log.cc » ('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 # These are only used by the blimp team, which has entirely migrated to gn,
11 # so this logic is not replicated in the gyp file.
12 if (metrics_use_blimp) {
13 defines = [ "OVERRIDE_OS_NAME_TO_BLIMP" ]
14 }
15
10 # GYP version: components/metrics.gypi:metrics 16 # GYP version: components/metrics.gypi:metrics
11 source_set("metrics") { 17 source_set("metrics") {
12 sources = [ 18 sources = [
13 "call_stack_profile_metrics_provider.cc", 19 "call_stack_profile_metrics_provider.cc",
14 "call_stack_profile_metrics_provider.h", 20 "call_stack_profile_metrics_provider.h",
15 "clean_exit_beacon.cc", 21 "clean_exit_beacon.cc",
16 "clean_exit_beacon.h", 22 "clean_exit_beacon.h",
17 "client_info.cc", 23 "client_info.cc",
18 "client_info.h", 24 "client_info.h",
19 "cloned_install_detector.cc", 25 "cloned_install_detector.cc",
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 ] 365 ]
360 366
361 if (is_linux) { 367 if (is_linux) {
362 sources += [ "serialization/serialization_utils_unittest.cc" ] 368 sources += [ "serialization/serialization_utils_unittest.cc" ]
363 deps += [ ":serialization" ] 369 deps += [ ":serialization" ]
364 } 370 }
365 371
366 if (is_chromeos) { 372 if (is_chromeos) {
367 deps += [ ":leak_detector_unit_tests" ] 373 deps += [ ":leak_detector_unit_tests" ]
368 } 374 }
369
370 # These are only used by the blimp team, which has entirely migrated to gn,
371 # so this logic is not replicated in the gyp file.
372 if (metrics_use_blimp) {
373 defines = [ "OVERRIDE_OS_NAME_TO_BLIMP" ]
374 }
375 } 375 }
OLDNEW
« no previous file with comments | « no previous file | components/metrics/metrics_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698