Index: gpu/gpu.gyp |
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp |
index 477e62a2f92ac09ed70995c3e2d6485747f40bf9..322a3c09a68357037d1c33c322e156841659479c 100644 |
--- a/gpu/gpu.gyp |
+++ b/gpu/gpu.gyp |
@@ -264,7 +264,8 @@ |
], |
}], |
# 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', |
], |