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

Unified Diff: tools/clean_output_directory.py

Issue 11348061: Always clobber all of the output directory (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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 14947)
+++ tools/clean_output_directory.py (working copy)
@@ -67,14 +67,8 @@
parser.print_help()
return 1
- # Delete the output for the targets for each requested configuration.
- for mode in options.mode:
- for arch in options.arch:
- for target_os in options.os:
- build_root = utils.GetBuildRoot(
- HOST_OS, mode=mode, arch=arch, target_os=target_os)
- print "Deleting %s" % (build_root)
- shutil.rmtree(build_root, ignore_errors=True)
+ build_root = utils.GetBuildDir(HOST_OS, None)
ahe 2012/11/15 11:42:21 for target_os in options.os: build_root = utils.
+ shutil.rmtree(build_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