diff options
Diffstat (limited to 'webkit/build/JSConfig/prebuild.bat')
-rw-r--r-- | webkit/build/JSConfig/prebuild.bat | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/webkit/build/JSConfig/prebuild.bat b/webkit/build/JSConfig/prebuild.bat new file mode 100644 index 0000000..29e68d3 --- /dev/null +++ b/webkit/build/JSConfig/prebuild.bat @@ -0,0 +1,17 @@ +@echo off + +setlocal +set OUTDIR=%1 +set JSENG=%2 +set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\ +set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files + +:: Fix cp.exe on vista: without this flag, the files that it creates are not accessible. +set CYGWIN=nontsec + +set PATH=%CYGWIN_ROOT%bin;%GNU_ROOT%;%SystemRoot%;%SystemRoot%\system32 + +:: Ensure that the cygwin mount points are defined +CALL %CYGWIN_ROOT%setup_mount.bat > NUL + +bash -x create-config.sh %OUTDIR% %JSENG% |