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

Unified Diff: components/metrics.gypi

Issue 1472763003: Reland of: components/metrics: Add runtime memory leak detector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics.gypi
diff --git a/components/metrics.gypi b/components/metrics.gypi
index ef38c3783328f717b47d5d09449532b45937b8dc..e889923ab345f3471fd0f3eea32ee46f66c9a987 100644
--- a/components/metrics.gypi
+++ b/components/metrics.gypi
@@ -240,6 +240,34 @@
},
],
}],
+ ['chromeos==1', {
+ 'targets': [
+ {
+ # GN version: //components/metrics:leak_detector
+ 'target_name': 'metrics_leak_detector',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ ],
+ 'sources': [
+ 'metrics/leak_detector/call_stack_manager.cc',
+ 'metrics/leak_detector/call_stack_manager.h',
+ 'metrics/leak_detector/call_stack_table.cc',
+ 'metrics/leak_detector/call_stack_table.h',
+ 'metrics/leak_detector/custom_allocator.cc',
+ 'metrics/leak_detector/custom_allocator.h',
+ 'metrics/leak_detector/leak_analyzer.cc',
+ 'metrics/leak_detector/leak_analyzer.h',
+ 'metrics/leak_detector/leak_detector_impl.cc',
+ 'metrics/leak_detector/leak_detector_impl.h',
+ 'metrics/leak_detector/leak_detector_value_type.cc',
+ 'metrics/leak_detector/leak_detector_value_type.h',
+ 'metrics/leak_detector/ranked_list.cc',
+ 'metrics/leak_detector/ranked_list.h',
+ ],
+ },
+ ],
+ }],
['OS!="ios"', {
'targets': [
{
« no previous file with comments | « components/components_tests.gyp ('k') | components/metrics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698