| Index: cc/cc_tests.gyp
|
| diff --git a/cc/cc_tests.gyp b/cc/cc_tests.gyp
|
| index c03f7122c0bcc64bda885317fd1f854325127120..5978c604f6662a16c0b3fc993298a8109d6b39fa 100644
|
| --- a/cc/cc_tests.gyp
|
| +++ b/cc/cc_tests.gyp
|
| @@ -257,7 +257,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',
|
| @@ -314,7 +315,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',
|
|
|