diff --git a/arm/config/compiler/BUILD.gn b/arm/config/compiler/BUILD.gn index d4e0e86b..a25c3311 100644 --- a/arm/config/compiler/BUILD.gn +++ b/arm/config/compiler/BUILD.gn @@ -152,6 +152,7 @@ declare_args() { # so only enable them by default for mainstream build configs. enable_wmax_tokens = !is_official_build && !(is_component_build && !is_debug) && + !using_sanitizer && ((is_mac && target_cpu == "x64" && !use_system_xcode) || (is_linux && target_cpu == "x64") || (is_win && target_cpu == "x86") || (is_win && target_cpu == "x64") || (is_android && target_cpu == "arm") ||