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

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: Replace tcmalloc's wrappers with pthread_spinlock and standard allocator (no more tcmalloc changes) Created 5 years, 2 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
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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 '../ui/gfx/gfx.gyp:gfx', 100 '../ui/gfx/gfx.gyp:gfx',
101 'component_metrics_proto', 101 'component_metrics_proto',
102 'metrics', 102 'metrics',
103 ], 103 ],
104 'sources': [ 104 'sources': [
105 'metrics/gpu/gpu_metrics_provider.cc', 105 'metrics/gpu/gpu_metrics_provider.cc',
106 'metrics/gpu/gpu_metrics_provider.h', 106 'metrics/gpu/gpu_metrics_provider.h',
107 ], 107 ],
108 }, 108 },
109 { 109 {
110 'target_name': 'metrics_leak_detector',
111 'type': 'static_library',
112 'include_dirs': [
113 # In these modules, the tcmalloc include path does not take precendence
114 # over the top-level chromium path.
115 '..',
116 '../third_party/tcmalloc/chromium/src',
117 ],
118 'dependencies': [
119 '../base/base.gyp:base',
120 '../base/allocator/allocator.gyp:allocator',
121 ],
122 'sources': [
123 'metrics/leak_detector/call_stack_manager.cc',
124 'metrics/leak_detector/call_stack_manager.h',
125 'metrics/leak_detector/call_stack_table.cc',
126 'metrics/leak_detector/call_stack_table.h',
127 'metrics/leak_detector/custom_allocator.cc',
128 'metrics/leak_detector/custom_allocator.h',
129 'metrics/leak_detector/leak_analyzer.cc',
130 'metrics/leak_detector/leak_analyzer.h',
131 'metrics/leak_detector/leak_detector.cc',
132 'metrics/leak_detector/leak_detector.h',
133 'metrics/leak_detector/leak_detector_impl.cc',
134 'metrics/leak_detector/leak_detector_impl.h',
135 'metrics/leak_detector/leak_detector_value_type.cc',
136 'metrics/leak_detector/leak_detector_value_type.h',
137 'metrics/leak_detector/ranked_list.cc',
138 'metrics/leak_detector/ranked_list.h',
139 ],
140 },
141 {
110 # GN version: //components/metrics:net 142 # GN version: //components/metrics:net
111 'target_name': 'metrics_net', 143 'target_name': 'metrics_net',
112 'type': 'static_library', 144 'type': 'static_library',
113 'include_dirs': [ 145 'include_dirs': [
114 '..', 146 '..',
115 ], 147 ],
116 'dependencies': [ 148 'dependencies': [
117 '../base/base.gyp:base', 149 '../base/base.gyp:base',
118 '../net/net.gyp:net', 150 '../net/net.gyp:net',
119 '../url/url.gyp:url_lib', 151 '../url/url.gyp:url_lib',
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 'metrics/serialization/serialization_utils.h', 252 'metrics/serialization/serialization_utils.h',
221 ], 253 ],
222 'dependencies': [ 254 'dependencies': [
223 '../base/base.gyp:base', 255 '../base/base.gyp:base',
224 ], 256 ],
225 }, 257 },
226 ], 258 ],
227 }], 259 }],
228 ], 260 ],
229 } 261 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698