• Yuly Novikov's avatar
    Add UWP support to Windows toolchain. · 97c38202
    Yuly Novikov authored
    Slight update to MSVC - VS version from 16.3.1 to 16.4.3 as a side effect.
    Other components kept at the old versions:
    Windows SDK 10.0.18362
    Debuggers 10.0.17763
    d3dcompiler_47.dll 10.0.17134
    
    Packaging was done on a Windows Server 2019 VM, cleanly created for this
    purpose.
    
    The package was created by downloading VS Professional 2019 installer
    from https://visualstudio.microsoft.com/downloads/
    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
    
    The 10.0.18362.0 SDK was installed by this as well.
    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>
    
    UWP support was previously added to package_from_installed.py
    in http://crrev.com/c/2007881 and http://crrev.com/c/2013579
    
    Bug: 1032635
    Change-Id: I85313de0529aa7591e5066bc697c640c5dc52463
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2015984Reviewed-by: default avatarNico Weber <thakis@chromium.org>
    Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#734608}
    97c38202
vs_toolchain.py 22.2 KB