From b8faca2407cf7e3692d7ce9ff0a7aafc9a76cae1 Mon Sep 17 00:00:00 2001 From: "terry@google.com" Date: Thu, 17 Apr 2014 15:55:35 +0000 Subject: Fix clobbering on dartium full linux bots R=whesse@google.com Review URL: https://codereview.chromium.org/206293003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264538 0039d316-1c4b-4281-b951-d872f2087c98 --- dartium_tools/buildbot_annotated_steps.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dartium_tools/buildbot_annotated_steps.py b/dartium_tools/buildbot_annotated_steps.py index 122afe6..ed090c0 100755 --- a/dartium_tools/buildbot_annotated_steps.py +++ b/dartium_tools/buildbot_annotated_steps.py @@ -361,5 +361,14 @@ def main(): if result == 0 and channel == 'be': result = archiveAndUpload(archive_latest=True) or result + # BIG HACK + # Normal ninja clobbering does not work due to symlinks/python on windows + # Full clobbering before building does not work since it will destroy + # the ninja build files + # So we basically clobber at the end here + if is_full and platform.system() == 'Windows': + print '@@@BUILD_STEP Dartium hackish clobber@@@' + shutil.rmtree(os.path.join(SRC_PATH, 'out'), ignore_errors=True) + if __name__ == '__main__': sys.exit(main()) -- cgit v1.1