Add a script to delete manifest-related files when they are older than any .vsprops...
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Nov 2010 02:19:32 +0000 (02:19 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 19 Nov 2010 02:19:32 +0000 (02:19 +0000)
commitc4ac49d3ced66cee149e145ed20925a7dbc73328
treebdc7234a32a30e32a694e31613b85cf7e4266fbf
parentfbafba37f84b49dc17a2cbf9a722d600eac9f4e4
Add a script to delete manifest-related files when they are older than any .vsprops file

Changes to .vsprops files can cause the manifest files to become
invalid, and Visual Studio doesn't always figure out that it needs to
rebuild them.

Reviewed by Sam Weinig.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make:
Call the new script.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.vcproj:
Added the new script.

* JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py: Added.
(file_modification_times): Generator to return the modification time of
each file in a directory hierarchy.
(main): Get the modification time of the newest vsprops file, then find
all manifest-related files in the obj directory. Delete all
manifest-related files that are older than the newest vsprops file.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@72359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make
JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.vcproj
JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py [new file with mode: 0644]