DescriptionUse rmdir /s/q instead of flaky shutil.rmtree on Windows
For unknown reasons (Windows!) shutil.rmtree has been failing frequently
when the landmines change due to a toolchain change. This avoids the
the problem. This is necessary because manually deleting the 'out'
directory causes args.gn to get lost, which is a hassle.
This was noticed because the VS 2015 toolchain upgrades kept failing
to clobber the out directory on multiple machines.
Committed: https://crrev.com/b0e768eae38f683886600ba869e31054273ebeab
Cr-Commit-Position: refs/heads/master@{#382140}
Patch Set 1 #Patch Set 2 : Use rmdir instead of iterating exceptions #Patch Set 3 : Restore return #
Total comments: 4
Patch Set 4 : Code review tweaks #Messages
Total messages: 15 (6 generated)
|