Index: ui/events/events.gyp |
diff --git a/ui/events/events.gyp b/ui/events/events.gyp |
index e4aa2a90e26b52635eb42110762eaf5dc78cd9b5..d07dc707346985ad3b17ae3fb4b16f9dec146904 100644 |
--- a/ui/events/events.gyp |
+++ b/ui/events/events.gyp |
@@ -278,7 +278,8 @@ |
'x/events_x_unittest.cc', |
], |
'conditions': [ |
- ['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': [ |
'<(DEPTH)/base/allocator/allocator.gyp:allocator', |
], |