Index: net/net.gyp |
diff --git a/net/net.gyp b/net/net.gyp |
index 13fd7390169f2df10dc9161c5480ed397d6f8eff..a9413f763da51be4b082ecdcb7931816de450dc0 100644 |
--- a/net/net.gyp |
+++ b/net/net.gyp |
@@ -2201,7 +2201,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', |
], |
@@ -2549,7 +2550,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', |
], |