Index: base/allocator/BUILD.gn |
diff --git a/base/allocator/BUILD.gn b/base/allocator/BUILD.gn |
index 5f0b6fa2b00f12a0e55d88e4d0aeae1ee48183be..7603d88d0d3734e9bbc8d1b98ef241c3a2a7d94d 100644 |
--- a/base/allocator/BUILD.gn |
+++ b/base/allocator/BUILD.gn |
@@ -245,4 +245,8 @@ source_set("allocator_extension_thunks") { |
"allocator_extension_thunks.cc", |
"allocator_extension_thunks.h", |
] |
+ if (is_android && !is_debug) { |
+ configs -= [ "//build/config/compiler:optimize" ] |
+ configs += [ "//build/config/compiler:optimize_max" ] |
+ } |
} |