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

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

Issue 1974593002: Make the launch params the default client behavior for UMA 3g (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
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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 "//base", 144 "//base",
145 "//components/metrics/proto:proto", 145 "//components/metrics/proto:proto",
146 "//content/public/browser", 146 "//content/public/browser",
147 ] 147 ]
148 } 148 }
149 } 149 }
150 150
151 # GYP version: components/metrics.gypi:metrics_net 151 # GYP version: components/metrics.gypi:metrics_net
152 static_library("net") { 152 static_library("net") {
153 sources = [ 153 sources = [
154 "net/cellular_logic_helper.cc",
155 "net/cellular_logic_helper.h",
154 "net/net_metrics_log_uploader.cc", 156 "net/net_metrics_log_uploader.cc",
155 "net/net_metrics_log_uploader.h", 157 "net/net_metrics_log_uploader.h",
156 "net/network_metrics_provider.cc", 158 "net/network_metrics_provider.cc",
157 "net/network_metrics_provider.h", 159 "net/network_metrics_provider.h",
158 "net/version_utils.cc", 160 "net/version_utils.cc",
159 "net/version_utils.h", 161 "net/version_utils.h",
160 "net/wifi_access_point_info_provider.cc", 162 "net/wifi_access_point_info_provider.cc",
161 "net/wifi_access_point_info_provider.h", 163 "net/wifi_access_point_info_provider.h",
162 ] 164 ]
163 165
164 public_deps = [ 166 public_deps = [
165 ":metrics", 167 ":metrics",
166 ] 168 ]
167 allow_circular_includes_from = [ ":metrics" ] 169 allow_circular_includes_from = [ ":metrics" ]
168 170
169 deps = [ 171 deps = [
170 "//base", 172 "//base",
171 "//components/data_use_measurement/core", 173 "//components/data_use_measurement/core",
174 "//components/variations",
172 "//components/version_info", 175 "//components/version_info",
173 "//net", 176 "//net",
174 "//url", 177 "//url",
175 ] 178 ]
176 179
177 if (is_chromeos) { 180 if (is_chromeos) {
178 sources += [ 181 sources += [
179 "net/wifi_access_point_info_provider_chromeos.cc", 182 "net/wifi_access_point_info_provider_chromeos.cc",
180 "net/wifi_access_point_info_provider_chromeos.h", 183 "net/wifi_access_point_info_provider_chromeos.h",
181 ] 184 ]
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 365
363 # 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,
364 # so this logic is not replicated in the gyp file. 367 # so this logic is not replicated in the gyp file.
365 if (metrics_use_blimp) { 368 if (metrics_use_blimp) {
366 defines = [ 369 defines = [
367 "OVERRIDE_OS_NAME_TO_BLIMP", 370 "OVERRIDE_OS_NAME_TO_BLIMP",
368 "ENABLE_REPORTING_BLIMP", 371 "ENABLE_REPORTING_BLIMP",
369 ] 372 ]
370 } 373 }
371 } 374 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698