diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn index 558994d7869429..3b3cdd898426d0 100644 --- a/build/config/compiler/BUILD.gn +++ b/build/config/compiler/BUILD.gn @@ -140,7 +140,8 @@ declare_args() { # so only enable them by default for mainstream build configs. enable_wmax_tokens = !is_official_build && - ((is_mac && target_cpu == "x64") || + ((is_mac && target_cpu == "x64" && !use_system_xcode && + mac_xcode_version == "default") || (is_linux && !is_chromeos && target_cpu == "x64") || (is_win && target_cpu == "x86") || (is_win && target_cpu == "x64") || (is_android && target_cpu == "arm") ||