Index: build/config/allocator.gni |
diff --git a/build/config/allocator.gni b/build/config/allocator.gni |
index 9fcfe4983c1a0df43c66c22d527ecb5f2b0557b3..4c9ae67a6863a44c0182e141f1a5a40a40f02fda 100644 |
--- a/build/config/allocator.gni |
+++ b/build/config/allocator.gni |
@@ -3,7 +3,7 @@ |
# found in the LICENSE file. |
# TODO(GYP): Make tcmalloc work on win. |
-if (is_android || cpu_arch == "mipsel" || is_mac || is_asan || is_win) { |
+if (is_android || current_cpu == "mipsel" || is_mac || is_asan || is_win) { |
_default_allocator = "none" |
} else { |
_default_allocator = "tcmalloc" |