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', |