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

Unified Diff: components/components_tests.gyp

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, 4 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 side-by-side diff with in-line comments
Download patch
Index: components/components_tests.gyp
diff --git a/components/components_tests.gyp b/components/components_tests.gyp
index 17e37f0828924796eeb4776ba941e3f587fa144d..89e06a42521479f548398a956927b1cd4cf94432 100644
--- a/components/components_tests.gyp
+++ b/components/components_tests.gyp
@@ -313,6 +313,13 @@
'metrics/profiler/profiler_metrics_provider_unittest.cc',
'metrics/profiler/tracking_synchronizer_unittest.cc',
],
+ 'metrics_leak_detector_unittest_sources': [
+ 'metrics/leak_detector/call_stack_manager_unittest.cc',
+ 'metrics/leak_detector/call_stack_table_unittest.cc',
+ 'metrics/leak_detector/leak_analyzer_unittest.cc',
+ 'metrics/leak_detector/leak_detector_impl_unittest.cc',
+ 'metrics/leak_detector/ranked_list_unittest.cc',
+ ],
'mime_util_unittest_sources': [
'mime_util/mime_util_unittest.cc',
],
@@ -1092,6 +1099,9 @@
],
}],
['chromeos==1', {
+ 'include_dirs': [
+ '../third_party/tcmalloc/chromium/src',
+ ],
'sources': [
'pairing/message_buffer_unittest.cc',
'timers/alarm_timer_unittest.cc',
@@ -1100,6 +1110,7 @@
'wifi_sync/wifi_credential_unittest.cc',
'wifi_sync/wifi_security_class_chromeos_unittest.cc',
'wifi_sync/wifi_security_class_unittest.cc',
+ '<@(metrics_leak_detector_unittest_sources)',
'<@(ownership_unittest_sources)',
],
'sources!': [
@@ -1107,6 +1118,7 @@
],
'dependencies': [
'../chromeos/chromeos.gyp:chromeos_test_support',
+ 'components.gyp:metrics_leak_detector',
'components.gyp:ownership',
'components.gyp:pairing',
'components.gyp:user_manager_test_support',

Powered by Google App Engine
This is Rietveld 408576698