Index: build/config/allocator.gni |
diff --git a/build/config/allocator.gni b/build/config/allocator.gni |
index b6444a2a730c09e6d493c8998cd2f4155b9d0cd5..06447af0b40660b00525bea0eea90b131a9ef6a2 100644 |
--- a/build/config/allocator.gni |
+++ b/build/config/allocator.gni |
@@ -11,7 +11,7 @@ if (is_android || current_cpu == "mipsel" || is_mac || is_ios || is_asan || |
_default_allocator = "tcmalloc" |
} |
-if (is_linux && !is_asan && !is_lsan && !is_tsan && !is_msan) { |
+if ((is_linux || is_android) && !is_asan && !is_lsan && !is_tsan && !is_msan) { |
_default_use_experimental_allocator_shim = true |
} else { |
_default_use_experimental_allocator_shim = false |