Index: ppapi/ppapi_tests.gypi |
diff --git a/ppapi/ppapi_tests.gypi b/ppapi/ppapi_tests.gypi |
index 642f4597e8bbcad4e03a1fd6a32e1595846797e0..f9447d438d5a6f7a7fa0f95eacda0b5ee99c4999 100644 |
--- a/ppapi/ppapi_tests.gypi |
+++ b/ppapi/ppapi_tests.gypi |
@@ -125,7 +125,8 @@ |
], |
'conditions': [ |
# 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', |
], |
@@ -202,7 +203,8 @@ |
'conditions': [ |
[ 'os_posix == 1 and OS != "mac" and OS != "android" and OS != "ios"', { |
'conditions': [ |
- [ 'linux_use_tcmalloc == 1', { |
+ # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
+ [ '(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', |
], |