• Mirko Bonadei's avatar
    Switch to VS 2019. · 8e82c6ab
    Mirko Bonadei authored
    Goma no longer supports cl.exe and the cl.exe version update in this CL hasn't
    been uploaded to goma's servers. Everyone who has bots that use cl.exe must make
    sure that these bots don't use goma before rolling this CL in.
    
    This change switches the MSVC toolchain to VS 2019 16.3.29324.
    
    Windows SDK is mostly 10.0.18362
    Debuggers from 10.0.17763
    d3dcompiler_47.dll from 10.0.17134
    
    The instructions for the previous package are included below:
    
    Packaging was done on a Windows Server 2019 VM, cleanly created for this
    purpose.
    
    The package was created by downloading VS 2019 Update 3.29324, from
    https://visualstudio.microsoft.com/downloads/ and downloading
    the 16.3 Visual Studio Professional 2019, and then running the installer
    like this:
    
    $ PATH_TO_INSTALLER.EXE ^
        --add Microsoft.VisualStudio.Workload.NativeDesktop ^
        --add Microsoft.VisualStudio.Component.VC.ATLMFC ^
        --add Microsoft.VisualStudio.Component.VC.Tools.ARM64 ^
        --add Microsoft.VisualStudio.Component.VC.MFC.ARM64 ^
        --includeRecommended --passive
    
    Then the 10.0.18362.0 SDK was installed from:
    https://developer.microsoft.com/en-US/windows/downloads/windows-10-sdk.
    
    Then Add or Remove Programs was used to modify the 10.0.18362.0 SDK to add
    the Debuggers package.
    
    Then the packaging script was run like this:
    
      python depot_tools\win_toolchain\package_from_installed.py 2019 -w 10.0.18362.0
    
    Since the new d3dcompiler_47.dll uses the UCRT and we want to avoid shipping
    that the final packaging step was to unzip the package, copy over the two copies
    of that DLL from win_sdk\Redist, replace the Debuggers directory with the
    10.0.17763 SDK, and then repackage the toolchain with:
      > python package_from_installed.py --repackage=<full-path-to-toolchain-dir>
    
    Bug: 1006238
    Change-Id: I623632bd72f018a74ab513d2c79e89199915e647
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1836195Reviewed-by: default avatarNico Weber <thakis@chromium.org>
    Reviewed-by: default avatarBruce Dawson <brucedawson@chromium.org>
    Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#704569}
    8e82c6ab
BUILD.gn 21 KB