| OLD | NEW |
| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 "//base", | 146 "//base", |
| 147 "//components/metrics/proto:proto", | 147 "//components/metrics/proto:proto", |
| 148 "//content/public/browser", | 148 "//content/public/browser", |
| 149 ] | 149 ] |
| 150 } | 150 } |
| 151 } | 151 } |
| 152 | 152 |
| 153 # GYP version: components/metrics.gypi:metrics_net | 153 # GYP version: components/metrics.gypi:metrics_net |
| 154 static_library("net") { | 154 static_library("net") { |
| 155 sources = [ | 155 sources = [ |
| 156 "net/cellular_logic_helper.cc", |
| 157 "net/cellular_logic_helper.h", |
| 156 "net/net_metrics_log_uploader.cc", | 158 "net/net_metrics_log_uploader.cc", |
| 157 "net/net_metrics_log_uploader.h", | 159 "net/net_metrics_log_uploader.h", |
| 158 "net/network_metrics_provider.cc", | 160 "net/network_metrics_provider.cc", |
| 159 "net/network_metrics_provider.h", | 161 "net/network_metrics_provider.h", |
| 160 "net/version_utils.cc", | 162 "net/version_utils.cc", |
| 161 "net/version_utils.h", | 163 "net/version_utils.h", |
| 162 "net/wifi_access_point_info_provider.cc", | 164 "net/wifi_access_point_info_provider.cc", |
| 163 "net/wifi_access_point_info_provider.h", | 165 "net/wifi_access_point_info_provider.h", |
| 164 ] | 166 ] |
| 165 | 167 |
| 166 public_deps = [ | 168 public_deps = [ |
| 167 ":metrics", | 169 ":metrics", |
| 168 ] | 170 ] |
| 169 allow_circular_includes_from = [ ":metrics" ] | 171 allow_circular_includes_from = [ ":metrics" ] |
| 170 | 172 |
| 171 deps = [ | 173 deps = [ |
| 172 "//base", | 174 "//base", |
| 173 "//components/data_use_measurement/core", | 175 "//components/data_use_measurement/core", |
| 176 "//components/variations", |
| 174 "//components/version_info", | 177 "//components/version_info", |
| 175 "//net", | 178 "//net", |
| 176 "//url", | 179 "//url", |
| 177 ] | 180 ] |
| 178 | 181 |
| 179 if (is_chromeos) { | 182 if (is_chromeos) { |
| 180 sources += [ | 183 sources += [ |
| 181 "net/wifi_access_point_info_provider_chromeos.cc", | 184 "net/wifi_access_point_info_provider_chromeos.cc", |
| 182 "net/wifi_access_point_info_provider_chromeos.h", | 185 "net/wifi_access_point_info_provider_chromeos.h", |
| 183 ] | 186 ] |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 deps += [ ":serialization" ] | 363 deps += [ ":serialization" ] |
| 361 } | 364 } |
| 362 | 365 |
| 363 if (is_chromeos) { | 366 if (is_chromeos) { |
| 364 deps += [ ":leak_detector_unit_tests" ] | 367 deps += [ ":leak_detector_unit_tests" ] |
| 365 } | 368 } |
| 366 | 369 |
| 367 # These are only used by the blimp team, which has entirely migrated to gn, | 370 # These are only used by the blimp team, which has entirely migrated to gn, |
| 368 # so this logic is not replicated in the gyp file. | 371 # so this logic is not replicated in the gyp file. |
| 369 if (metrics_use_blimp) { | 372 if (metrics_use_blimp) { |
| 370 defines = [ | 373 defines = [ "OVERRIDE_OS_NAME_TO_BLIMP" ] |
| 371 "OVERRIDE_OS_NAME_TO_BLIMP", | |
| 372 ] | |
| 373 } | 374 } |
| 374 } | 375 } |
| OLD | NEW |