delete-stale-build-files does not clear .d files
authorjpfau@apple.com <jpfau@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Apr 2013 00:51:12 +0000 (00:51 +0000)
committerjpfau@apple.com <jpfau@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 27 Apr 2013 00:51:12 +0000 (00:51 +0000)
http://bugs.webkit.org/show_bug.cgi?id=115293

Reviewed by Ryosuke Niwa.

* BuildSlaveSupport/delete-stale-build-files:
(main): Add .d to the file type list

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@149228 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/BuildSlaveSupport/delete-stale-build-files
Tools/ChangeLog

index 8933d3b..d4c50d7 100755 (executable)
@@ -62,7 +62,7 @@ def main():
             ext = os.path.splitext(full_path)[1]
 
             try:
             ext = os.path.splitext(full_path)[1]
 
             try:
-                if ext not in ('.o',) or os.path.getsize(full_path):
+                if ext not in ('.o', '.d') or os.path.getsize(full_path):
                     continue
             except OSError as exception:
                 print exception
                     continue
             except OSError as exception:
                 print exception
index b3856e4..7b98fed 100644 (file)
@@ -1,3 +1,13 @@
+2013-04-26  Jeffrey Pfau  <jpfau@apple.com>
+
+        delete-stale-build-files does not clear .d files
+        http://bugs.webkit.org/show_bug.cgi?id=115293
+
+        Reviewed by Ryosuke Niwa.
+
+        * BuildSlaveSupport/delete-stale-build-files:
+        (main): Add .d to the file type list
+
 2013-04-26  Roger Fong  <roger_fong@apple.com>
 
         Make Apple Windows VS2010 build results into and get dependencies from __32 suffixed folders.
 2013-04-26  Roger Fong  <roger_fong@apple.com>
 
         Make Apple Windows VS2010 build results into and get dependencies from __32 suffixed folders.