Index: base/allocator/BUILD.gn |
diff --git a/base/allocator/BUILD.gn b/base/allocator/BUILD.gn |
index dab03b5854f614f79f75e80e41f06c07c2e1e55c..1f69f9538c75af5c85c281624a4db69990ea20f9 100644 |
--- a/base/allocator/BUILD.gn |
+++ b/base/allocator/BUILD.gn |
@@ -216,7 +216,12 @@ if (use_allocator == "tcmalloc") { |
"$tcmalloc_dir/src", |
] |
- configs -= [ "//build/config/compiler:chromium_code" ] |
+ configs -= [ |
+ "//build/config/compiler:chromium_code", |
+ |
+ # The asm code in tcmalloc is not currently thumb compatible |
+ "//build/config/compiler:compiler_arm_thumb", |
+ ] |
configs += [ |
"//build/config/compiler:no_chromium_code", |
":tcmalloc_flags", |