gn args outDebug_GN_x86 用来配置编译参数,执行gn args outRelease_GN_x86时异常:
Toolchain is out of date. Run "gclient runhooks" to update the toolchain, or set DEPOT_TOOLS_WIN_TOOLCHAIN=0 to use the locally installed toolchain.
解决方案:
先执行set DEPOT_TOOLS_WIN_TOOLCHAIN=0,使用本地安装的工具链
然后再执行gn args outRelease_GN_x86