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

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

Issue 2161363005: Convert some component source sets to static library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « components/memory_pressure/BUILD.gn ('k') | components/metrics_services_manager/BUILD.gn » ('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, 10 # These are only used by the blimp team, which has entirely migrated to gn,
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 ] 104 ]
105 } 105 }
106 106
107 if (is_win) { 107 if (is_win) {
108 sources -= [ "machine_id_provider_stub.cc" ] 108 sources -= [ "machine_id_provider_stub.cc" ]
109 } 109 }
110 } 110 }
111 111
112 if (!is_ios) { 112 if (!is_ios) {
113 # GYP version: components/metrics.gypi:metrics_gpu 113 # GYP version: components/metrics.gypi:metrics_gpu
114 source_set("gpu") { 114 static_library("gpu") {
115 sources = [ 115 sources = [
116 "gpu/gpu_metrics_provider.cc", 116 "gpu/gpu_metrics_provider.cc",
117 "gpu/gpu_metrics_provider.h", 117 "gpu/gpu_metrics_provider.h",
118 ] 118 ]
119 119
120 public_deps = [ 120 public_deps = [
121 ":metrics", 121 ":metrics",
122 ] 122 ]
123 deps = [ 123 deps = [
124 "//base", 124 "//base",
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 public_deps = [ 210 public_deps = [
211 ":metrics", 211 ":metrics",
212 ] 212 ]
213 deps = [ 213 deps = [
214 "//base", 214 "//base",
215 "//components/variations", 215 "//components/variations",
216 ] 216 ]
217 } 217 }
218 218
219 # GYP version: components/metrics.gypi:metrics_ui 219 # GYP version: components/metrics.gypi:metrics_ui
220 source_set("ui") { 220 static_library("ui") {
221 sources = [ 221 sources = [
222 "ui/screen_info_metrics_provider.cc", 222 "ui/screen_info_metrics_provider.cc",
223 "ui/screen_info_metrics_provider.h", 223 "ui/screen_info_metrics_provider.h",
224 ] 224 ]
225 225
226 public_deps = [ 226 public_deps = [
227 ":metrics", 227 ":metrics",
228 ] 228 ]
229 deps = [ 229 deps = [
230 "//base", 230 "//base",
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 367
368 if (is_linux) { 368 if (is_linux) {
369 sources += [ "serialization/serialization_utils_unittest.cc" ] 369 sources += [ "serialization/serialization_utils_unittest.cc" ]
370 deps += [ ":serialization" ] 370 deps += [ ":serialization" ]
371 } 371 }
372 372
373 if (is_chromeos) { 373 if (is_chromeos) {
374 deps += [ ":leak_detector_unit_tests" ] 374 deps += [ ":leak_detector_unit_tests" ]
375 } 375 }
376 } 376 }
OLDNEW
« no previous file with comments | « components/memory_pressure/BUILD.gn ('k') | components/metrics_services_manager/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698