Index: net/net.gyp |
diff --git a/net/net.gyp b/net/net.gyp |
index 6442ab03654d6a2cc1ce09f127add98abf3bdae6..3e1156d7f332506b6e304cf3fd494b4dbc6b7bd6 100644 |
--- a/net/net.gyp |
+++ b/net/net.gyp |
@@ -2202,7 +2202,8 @@ |
], |
[ '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', |
], |
@@ -2550,7 +2551,8 @@ |
}], |
['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', |
], |