Index: ui/views/views.gyp |
diff --git a/ui/views/views.gyp b/ui/views/views.gyp |
index 8717392fd63f46fa8b731ea73cb10ebc038bf65e..0663365992f62a08ce96073ce510542a70a36c7d 100644 |
--- a/ui/views/views.gyp |
+++ b/ui/views/views.gyp |
@@ -846,7 +846,8 @@ |
'../../base/allocator/allocator.gyp:allocator', |
], |
}], |
- ['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))', { |
# See http://crbug.com/162998#c4 for why this is needed. |
'dependencies': [ |
'../../base/allocator/allocator.gyp:allocator', |