Index: base/allocator/BUILD.gn |
diff --git a/base/allocator/BUILD.gn b/base/allocator/BUILD.gn |
index 02a7ba0b82a9112eee79b82e0755bd1fe9f10704..dab03b5854f614f79f75e80e41f06c07c2e1e55c 100644 |
--- a/base/allocator/BUILD.gn |
+++ b/base/allocator/BUILD.gn |
@@ -222,6 +222,9 @@ if (use_allocator == "tcmalloc") { |
":tcmalloc_flags", |
] |
+ # TODO(crbug.com/633719) Make tcmalloc work with AFDO if possible. |
+ configs -= [ "//build/config/compiler:afdo" ] |
+ |
deps = [] |
if (enable_profiling) { |