Index: base/base.gyp |
diff --git a/base/base.gyp b/base/base.gyp |
index 114d119974dd96cf15710b0715ee42954d2152df..72164e0205091bf0f318a7580b4fae609d16d26f 100644 |
--- a/base/base.gyp |
+++ b/base/base.gyp |
@@ -180,7 +180,8 @@ |
], |
}, |
'conditions': [ |
- ['linux_use_tcmalloc==0', { |
+ # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
+ ['use_allocator!="tcmalloc" and (use_allocator!="see_use_tcmalloc" or linux_use_tcmalloc==0)', { |
'defines': [ |
'NO_TCMALLOC', |
], |
@@ -755,7 +756,8 @@ |
'message_loop/message_pump_glib_unittest.cc', |
] |
}], |
- ['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': [ |
'allocator/allocator.gyp:allocator', |
], |