Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: tools/clean_output_directory.py

Issue 10823341: Update clobber functionality to clobber runtime/{Debug,Release} on windows (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/clean_output_directory.py
===================================================================
--- tools/clean_output_directory.py (revision 10699)
+++ tools/clean_output_directory.py (working copy)
@@ -54,6 +54,11 @@
build_root = utils.GetBuildRoot(HOST_OS, mode=mode, arch=arch)
print "Deleting %s" % (build_root)
shutil.rmtree(build_root, ignore_errors=True)
+ # On windows we have additional object files within the runtime library.
+ if HOST_OS == 'win32':
+ runtime_root = 'runtime/' + build_root
+ print "Deleting %s" % (runtime_root)
+ shutil.rmtree(runtime_root, ignore_errors=True)
return 0
if __name__ == '__main__':
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698