Index: ui/message_center/message_center.gyp |
diff --git a/ui/message_center/message_center.gyp b/ui/message_center/message_center.gyp |
index beda0c7e850e4d649ffaaf18e54f79694cf46085..8301a16132c0dae4099d6f4efb05ab8430b5f25e 100644 |
--- a/ui/message_center/message_center.gyp |
+++ b/ui/message_center/message_center.gyp |
@@ -235,7 +235,8 @@ |
], |
}], |
# See http://crbug.com/162998#c4 for why this is needed. |
- ['OS=="linux" and linux_use_tcmalloc==1', { |
+ # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
+ ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', { |
'dependencies': [ |
'../../base/allocator/allocator.gyp:allocator', |
], |