Allow building on Windows without Cygwin
authormmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Mar 2015 23:59:02 +0000 (23:59 +0000)
committermmaxfield@apple.com <mmaxfield@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Mar 2015 23:59:02 +0000 (23:59 +0000)
commit68ef5ed5603691e2de2bdeb0ce757bd4af6e5558
tree0dce55415e9997980bdbb1d0da4ef45aab0d8138
parent82ce7154fd294f0c733646094b9ca2e7bc54d372
Allow building on Windows without Cygwin
https://bugs.webkit.org/show_bug.cgi?id=143219

Reviewed by Brent Fulgham.

* AVFoundationSupport.py: Renamed from Source/WebCore/WebCore.vcxproj/MigrateScripts.
Move logic from DerivedSources.make to its own script
(lookFor):
* DerivedSources.make: Paths like /usr/bin don't exist on Windows.
Windows uses del instead of rm -f
Windows doesn't have printf
* WebCore.vcxproj/WebCoreGenerated.make: Pass the CC executable to
build-generated-files.pl
* WebCore.vcxproj/build-generated-files.pl: Export the CC executable as an environment
variable. Don't use /usr/bin.
* WebCore.vcxproj/migrate-scripts.pl: Deleted the MigrateScripts makefile. We don't
need a whole Makefile just to copy 5 files. Moved this logic into migrate-scripts.pl.
(copyFile):
* bindings/scripts/preprocessor.pm:
(applyPreprocessor): Support passing preprocessing flags to the Visual Studio
compiler.
* dom/make_names.pl: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/AVFoundationSupport.py [moved from Source/WebCore/WebCore.vcxproj/MigrateScripts with 65% similarity]
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.make
Source/WebCore/WebCore.vcxproj/WebCoreGenerated.make
Source/WebCore/WebCore.vcxproj/build-generated-files.pl
Source/WebCore/WebCore.vcxproj/migrate-scripts.pl
Source/WebCore/bindings/scripts/preprocessor.pm
Source/WebCore/dom/make_names.pl