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

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

Issue 2879703002: WebView: Add channel info for UMA (Closed)
Patch Set: rebase Created 3 years, 6 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 | « chrome/common/channel_info_android.cc ('k') | components/metrics/net/version_utils.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 import("//testing/test.gni") 5 import("//testing/test.gni")
6 6
7 static_library("metrics") { 7 static_library("metrics") {
8 sources = [ 8 sources = [
9 "call_stack_profile_metrics_provider.cc", 9 "call_stack_profile_metrics_provider.cc",
10 "call_stack_profile_metrics_provider.h", 10 "call_stack_profile_metrics_provider.h",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 "reporting_service.h", 81 "reporting_service.h",
82 "stability_metrics_helper.cc", 82 "stability_metrics_helper.cc",
83 "stability_metrics_helper.h", 83 "stability_metrics_helper.h",
84 "stability_metrics_provider.cc", 84 "stability_metrics_provider.cc",
85 "stability_metrics_provider.h", 85 "stability_metrics_provider.h",
86 "system_memory_stats_recorder.h", 86 "system_memory_stats_recorder.h",
87 "system_memory_stats_recorder_linux.cc", 87 "system_memory_stats_recorder_linux.cc",
88 "system_memory_stats_recorder_win.cc", 88 "system_memory_stats_recorder_win.cc",
89 "url_constants.cc", 89 "url_constants.cc",
90 "url_constants.h", 90 "url_constants.h",
91 "version_utils.cc",
92 "version_utils.h",
91 ] 93 ]
92 94
93 public_deps = [ 95 public_deps = [
94 "//components/metrics/proto", 96 "//components/metrics/proto",
95 ] 97 ]
96 98
97 deps = [ 99 deps = [
98 ":call_stack_profile_params", 100 ":call_stack_profile_params",
99 "//base", 101 "//base",
100 "//base:base_static", 102 "//base:base_static",
101 "//components/prefs", 103 "//components/prefs",
102 "//components/variations", 104 "//components/variations",
105 "//components/version_info:version_info",
103 "//third_party/zlib/google:compression_utils", 106 "//third_party/zlib/google:compression_utils",
104 ] 107 ]
105 108
106 if (is_chromeos) { 109 if (is_chromeos) {
107 deps += [ ":serialization" ] 110 deps += [ ":serialization" ]
108 } 111 }
109 112
110 if (is_mac) { 113 if (is_mac) {
111 libs = [ 114 libs = [
112 # The below are all needed for drive_metrics_provider_mac.mm. 115 # The below are all needed for drive_metrics_provider_mac.mm.
(...skipping 29 matching lines...) Expand all
142 } 145 }
143 146
144 static_library("net") { 147 static_library("net") {
145 sources = [ 148 sources = [
146 "net/cellular_logic_helper.cc", 149 "net/cellular_logic_helper.cc",
147 "net/cellular_logic_helper.h", 150 "net/cellular_logic_helper.h",
148 "net/net_metrics_log_uploader.cc", 151 "net/net_metrics_log_uploader.cc",
149 "net/net_metrics_log_uploader.h", 152 "net/net_metrics_log_uploader.h",
150 "net/network_metrics_provider.cc", 153 "net/network_metrics_provider.cc",
151 "net/network_metrics_provider.h", 154 "net/network_metrics_provider.h",
152 "net/version_utils.cc",
153 "net/version_utils.h",
154 "net/wifi_access_point_info_provider.cc", 155 "net/wifi_access_point_info_provider.cc",
155 "net/wifi_access_point_info_provider.h", 156 "net/wifi_access_point_info_provider.h",
156 ] 157 ]
157 158
158 public_deps = [ 159 public_deps = [
159 ":metrics", 160 ":metrics",
160 ] 161 ]
161 allow_circular_includes_from = [ ":metrics" ] 162 allow_circular_includes_from = [ ":metrics" ]
162 163
163 deps = [ 164 deps = [
164 "//base", 165 "//base",
165 "//components/data_use_measurement/core", 166 "//components/data_use_measurement/core",
166 "//components/variations", 167 "//components/variations",
167 "//components/version_info",
168 "//net", 168 "//net",
169 "//url", 169 "//url",
170 ] 170 ]
171 171
172 if (is_chromeos) { 172 if (is_chromeos) {
173 sources += [ 173 sources += [
174 "net/wifi_access_point_info_provider_chromeos.cc", 174 "net/wifi_access_point_info_provider_chromeos.cc",
175 "net/wifi_access_point_info_provider_chromeos.h", 175 "net/wifi_access_point_info_provider_chromeos.h",
176 ] 176 ]
177 deps += [ "//chromeos" ] 177 deps += [ "//chromeos" ]
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 # Convenience testing target 404 # Convenience testing target
405 test("metrics_unittests") { 405 test("metrics_unittests") {
406 sources = [ 406 sources = [
407 "//components/test/run_all_unittests.cc", 407 "//components/test/run_all_unittests.cc",
408 ] 408 ]
409 deps = [ 409 deps = [
410 ":unit_tests", 410 ":unit_tests",
411 "//components/test:test_support", 411 "//components/test:test_support",
412 ] 412 ]
413 } 413 }
OLDNEW
« no previous file with comments | « chrome/common/channel_info_android.cc ('k') | components/metrics/net/version_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698