summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterry@google.com <terry@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-17 15:55:35 +0000
committerterry@google.com <terry@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-17 15:55:35 +0000
commitb8faca2407cf7e3692d7ce9ff0a7aafc9a76cae1 (patch)
treeda1c276117f56f974c7e90cc1633ba8fb08e9210
parent33ba46a8c7f1b4ea5fdf6bca8c9b653ecddff702 (diff)
downloadchromium_src-b8faca2407cf7e3692d7ce9ff0a7aafc9a76cae1.zip
chromium_src-b8faca2407cf7e3692d7ce9ff0a7aafc9a76cae1.tar.gz
chromium_src-b8faca2407cf7e3692d7ce9ff0a7aafc9a76cae1.tar.bz2
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
-rwxr-xr-xdartium_tools/buildbot_annotated_steps.py9
1 files changed, 9 insertions, 0 deletions
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())