Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 95ce2db74bd0ea0fbc3abcf524fa3221fbd50879..e71eff050c986f4a9a06d4f846af7f8ca8e3bd02 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -955,6 +955,7 @@ |
# Enable TCMalloc. |
'linux_use_tcmalloc%': 1, |
+ 'android_use_tcmalloc%': 0, |
# Disable TCMalloc's heapchecker. |
'linux_use_heapchecker%': 0, |
@@ -3223,7 +3224,7 @@ |
}], |
], |
}], |
- ['linux_use_tcmalloc==0', { |
+ ['linux_use_tcmalloc==0 and android_use_tcmalloc==0', { |
'defines': ['NO_TCMALLOC'], |
}], |
['linux_keep_shadow_stacks==1', { |