Index: build/config/allocator.gni |
diff --git a/build/config/allocator.gni b/build/config/allocator.gni |
index c79f930b3d911e1d2eb654813f6de593d53199be..b6444a2a730c09e6d493c8998cd2f4155b9d0cd5 100644 |
--- a/build/config/allocator.gni |
+++ b/build/config/allocator.gni |
@@ -30,5 +30,6 @@ declare_args() { |
assert(use_allocator == "none" || use_allocator == "tcmalloc") |
assert(!is_win || use_allocator == "none", "Tcmalloc doesn't work on Windows.") |
-assert(!use_experimental_allocator_shim || is_linux, |
- "use_experimental_allocator_shim supported only on Linux") |
+assert( |
+ !use_experimental_allocator_shim || is_linux || is_android, |
+ "use_experimental_allocator_shim supported only on Linux and Android targets") |