Make the PGO profiling step work with VS2017

The PGO build is failing for the VS2017 binaries because some of the
dependencies (pgort140.dll, pgosweep.exe...) have moved to a different
directory of the toolchain.

There's also a change to the profiling script to use a copy of
pgosweep.exe from the build directory rather than the one in the
toolchain's directory, this is required in order to be able to use
Swarming for the profiling step (and this is probably cleaner because
it avoid duplicating the logic that find these runtime dependencies).

BUG=719319

Review-Url: https://codereview.chromium.org/2878693002
Cr-Commit-Position: refs/heads/master@{#471299}


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