Copy the Universal CRT files to the output dirs

Chromium component builds rely on the Windows 10 Universal CRT which
must be either installed (problematic) or copied to the directory where
the executables are located. This change copies those files to the
output directories when "gclient runhooks" or "gclient sync" is run.
It also copies ucrtbase.dll to release directories, which was
previously erroneously skipped.

Note that this process doesn't happen and isn't needed when
DEPOT_TOOLS_WIN_TOOLCHAIN=0 is set because then the UCRT is guaranteed
to be installed.

This also updates msvs_dependencies.isolate so that the necessary DLLs,
include vcruntime140*.dll and ucrtbase*.dll, get copied to swarming
machines.

TBR=thakis@chromium.org
BUG=440500

Review URL: https://codereview.chromium.org/1676943002

Cr-Commit-Position: refs/heads/master@{#374300}


CrOS-Libchrome-Original-Commit: d5273ddb31a98cc84c2ec6e74ff0d8ccd5952693
1 file changed
tree: a1274456f207c30fdf3866613c561cc558315253
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/