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

Side by Side Diff: components/metrics.gypi

Issue 1468873002: metrics: Wrap leak detector sources in Chrome OS condition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //components/metrics 8 # GN version: //components/metrics
9 'target_name': 'metrics', 9 'target_name': 'metrics',
10 'type': 'static_library', 10 'type': 'static_library',
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 }, 97 },
98 }], 98 }],
99 ['OS=="win"', { 99 ['OS=="win"', {
100 'sources!': [ 100 'sources!': [
101 'metrics/machine_id_provider_stub.cc', 101 'metrics/machine_id_provider_stub.cc',
102 ], 102 ],
103 }], 103 }],
104 ], 104 ],
105 }, 105 },
106 { 106 {
107 'target_name': 'metrics_leak_detector',
108 'type': 'static_library',
109 'dependencies': [
110 '../base/base.gyp:base',
111 ],
112 'sources': [
113 'metrics/leak_detector/call_stack_manager.cc',
114 'metrics/leak_detector/call_stack_manager.h',
115 'metrics/leak_detector/call_stack_table.cc',
116 'metrics/leak_detector/call_stack_table.h',
117 'metrics/leak_detector/custom_allocator.cc',
118 'metrics/leak_detector/custom_allocator.h',
119 'metrics/leak_detector/leak_analyzer.cc',
120 'metrics/leak_detector/leak_analyzer.h',
121 'metrics/leak_detector/leak_detector_impl.cc',
122 'metrics/leak_detector/leak_detector_impl.h',
123 'metrics/leak_detector/leak_detector_value_type.cc',
124 'metrics/leak_detector/leak_detector_value_type.h',
125 'metrics/leak_detector/ranked_list.cc',
126 'metrics/leak_detector/ranked_list.h',
127 ],
128 },
129 {
130 # GN version: //components/metrics:net 107 # GN version: //components/metrics:net
131 'target_name': 'metrics_net', 108 'target_name': 'metrics_net',
132 'type': 'static_library', 109 'type': 'static_library',
133 'include_dirs': [ 110 'include_dirs': [
134 '..', 111 '..',
135 ], 112 ],
136 'dependencies': [ 113 'dependencies': [
137 '../base/base.gyp:base', 114 '../base/base.gyp:base',
138 '../net/net.gyp:net', 115 '../net/net.gyp:net',
139 '../url/url.gyp:url_lib', 116 '../url/url.gyp:url_lib',
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 'metrics/serialization/metric_sample.h', 235 'metrics/serialization/metric_sample.h',
259 'metrics/serialization/serialization_utils.cc', 236 'metrics/serialization/serialization_utils.cc',
260 'metrics/serialization/serialization_utils.h', 237 'metrics/serialization/serialization_utils.h',
261 ], 238 ],
262 'dependencies': [ 239 'dependencies': [
263 '../base/base.gyp:base', 240 '../base/base.gyp:base',
264 ], 241 ],
265 }, 242 },
266 ], 243 ],
267 }], 244 }],
245 ['chromeos==1', {
246 'targets': [
247 {
248 # GN version: //components/metrics:leak_detector
249 'target_name': 'metrics_leak_detector',
250 'type': 'static_library',
251 'dependencies': [
252 '../base/base.gyp:base',
253 ],
254 'sources': [
255 'metrics/leak_detector/call_stack_manager.cc',
256 'metrics/leak_detector/call_stack_manager.h',
257 'metrics/leak_detector/call_stack_table.cc',
258 'metrics/leak_detector/call_stack_table.h',
259 'metrics/leak_detector/custom_allocator.cc',
260 'metrics/leak_detector/custom_allocator.h',
261 'metrics/leak_detector/leak_analyzer.cc',
262 'metrics/leak_detector/leak_analyzer.h',
263 'metrics/leak_detector/leak_detector_impl.cc',
264 'metrics/leak_detector/leak_detector_impl.h',
265 'metrics/leak_detector/leak_detector_value_type.cc',
266 'metrics/leak_detector/leak_detector_value_type.h',
267 'metrics/leak_detector/ranked_list.cc',
268 'metrics/leak_detector/ranked_list.h',
269 ],
270 },
271 ],
272 }],
268 ['OS!="ios"', { 273 ['OS!="ios"', {
269 'targets': [ 274 'targets': [
270 { 275 {
271 # GN version: //components/metrics:gpu 276 # GN version: //components/metrics:gpu
272 'target_name': 'metrics_gpu', 277 'target_name': 'metrics_gpu',
273 'type': 'static_library', 278 'type': 'static_library',
274 'include_dirs': [ 279 'include_dirs': [
275 '..', 280 '..',
276 ], 281 ],
277 'dependencies': [ 282 'dependencies': [
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 ], 324 ],
320 'sources': [ 325 'sources': [
321 'metrics/profiler/ios/ios_tracking_synchronizer_delegate.cc', 326 'metrics/profiler/ios/ios_tracking_synchronizer_delegate.cc',
322 'metrics/profiler/ios/ios_tracking_synchronizer_delegate.h', 327 'metrics/profiler/ios/ios_tracking_synchronizer_delegate.h',
323 ], 328 ],
324 }, 329 },
325 ], 330 ],
326 }], 331 }],
327 ], 332 ],
328 } 333 }
OLDNEW
« no previous file with comments | « no previous file | components/metrics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698