summaryrefslogtreecommitdiffstats
path: root/webkit/build/JSConfig/prebuild.bat
blob: 29e68d3092ed37f9ac88fb8434df992c7b249379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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%