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

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: Create CallStackManager out of LeakDetectorImpl Created 5 years, 3 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 '../ui/gfx/gfx.gyp:gfx', 95 '../ui/gfx/gfx.gyp:gfx',
96 'component_metrics_proto', 96 'component_metrics_proto',
97 'metrics', 97 'metrics',
98 ], 98 ],
99 'sources': [ 99 'sources': [
100 'metrics/gpu/gpu_metrics_provider.cc', 100 'metrics/gpu/gpu_metrics_provider.cc',
101 'metrics/gpu/gpu_metrics_provider.h', 101 'metrics/gpu/gpu_metrics_provider.h',
102 ], 102 ],
103 }, 103 },
104 { 104 {
105 'target_name': 'metrics_leak_detector',
106 'type': 'static_library',
107 'include_dirs': [
108 # In these modules, the tcmalloc include path does not take precendence
109 # over the top-level chromium path.
110 '..',
111 '../third_party/tcmalloc/chromium/src',
112 ],
113 'dependencies': [
114 '../base/base.gyp:base',
115 '../base/allocator/allocator.gyp:allocator',
116 ],
117 'sources': [
118 'metrics/leak_detector/call_stack_manager.cc',
119 'metrics/leak_detector/call_stack_manager.h',
120 'metrics/leak_detector/call_stack_table.cc',
121 'metrics/leak_detector/call_stack_table.h',
122 'metrics/leak_detector/leak_analyzer.cc',
123 'metrics/leak_detector/leak_analyzer.h',
124 'metrics/leak_detector/leak_detector.cc',
125 'metrics/leak_detector/leak_detector.h',
126 'metrics/leak_detector/leak_detector_impl.cc',
127 'metrics/leak_detector/leak_detector_impl.h',
128 'metrics/leak_detector/leak_detector_value_type.cc',
129 'metrics/leak_detector/leak_detector_value_type.h',
130 'metrics/leak_detector/ranked_list.cc',
131 'metrics/leak_detector/ranked_list.h',
132 ],
133 },
134 {
105 # GN version: //components/metrics:net 135 # GN version: //components/metrics:net
106 'target_name': 'metrics_net', 136 'target_name': 'metrics_net',
107 'type': 'static_library', 137 'type': 'static_library',
108 'include_dirs': [ 138 'include_dirs': [
109 '..', 139 '..',
110 ], 140 ],
111 'dependencies': [ 141 'dependencies': [
112 '../base/base.gyp:base', 142 '../base/base.gyp:base',
113 '../net/net.gyp:net', 143 '../net/net.gyp:net',
114 '../url/url.gyp:url_lib', 144 '../url/url.gyp:url_lib',
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 'metrics/serialization/serialization_utils.h', 245 'metrics/serialization/serialization_utils.h',
216 ], 246 ],
217 'dependencies': [ 247 'dependencies': [
218 '../base/base.gyp:base', 248 '../base/base.gyp:base',
219 ], 249 ],
220 }, 250 },
221 ], 251 ],
222 }], 252 }],
223 ], 253 ],
224 } 254 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698