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

Side by Side Diff: components/metrics.gypi

Issue 986503002: components/metrics: Add runtime memory leak detector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Alexei's comments Created 5 years, 1 month 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 { 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 'include_dirs': [
110 # In these modules, the tcmalloc include path does not take precendence
111 # over the top-level chromium path.
112 '..',
113 '../third_party/tcmalloc/chromium/src',
114 ],
115 'dependencies': [
116 '../base/base.gyp:base',
117 '../base/allocator/allocator.gyp:allocator',
118 ],
119 'sources': [
120 'metrics/leak_detector/call_stack_manager.cc',
121 'metrics/leak_detector/call_stack_manager.h',
122 'metrics/leak_detector/call_stack_table.cc',
123 'metrics/leak_detector/call_stack_table.h',
124 'metrics/leak_detector/custom_allocator.cc',
125 'metrics/leak_detector/custom_allocator.h',
126 'metrics/leak_detector/leak_analyzer.cc',
127 'metrics/leak_detector/leak_analyzer.h',
128 'metrics/leak_detector/leak_detector_impl.cc',
129 'metrics/leak_detector/leak_detector_impl.h',
130 'metrics/leak_detector/leak_detector_value_type.cc',
131 'metrics/leak_detector/leak_detector_value_type.h',
132 'metrics/leak_detector/ranked_list.cc',
133 'metrics/leak_detector/ranked_list.h',
134 ],
135 },
136 {
107 # GN version: //components/metrics:net 137 # GN version: //components/metrics:net
108 'target_name': 'metrics_net', 138 'target_name': 'metrics_net',
109 'type': 'static_library', 139 'type': 'static_library',
110 'include_dirs': [ 140 'include_dirs': [
111 '..', 141 '..',
112 ], 142 ],
113 'dependencies': [ 143 'dependencies': [
114 '../base/base.gyp:base', 144 '../base/base.gyp:base',
115 '../net/net.gyp:net', 145 '../net/net.gyp:net',
116 '../url/url.gyp:url_lib', 146 '../url/url.gyp:url_lib',
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 ], 326 ],
297 'sources': [ 327 'sources': [
298 'metrics/profiler/ios/ios_tracking_synchronizer_delegate.cc', 328 'metrics/profiler/ios/ios_tracking_synchronizer_delegate.cc',
299 'metrics/profiler/ios/ios_tracking_synchronizer_delegate.h', 329 'metrics/profiler/ios/ios_tracking_synchronizer_delegate.h',
300 ], 330 ],
301 }, 331 },
302 ], 332 ],
303 }], 333 }],
304 ], 334 ],
305 } 335 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698