summaryrefslogtreecommitdiffstats
path: root/webkit/build/V8Bindings/prebuild.bat
blob: fd30d03ad9c173d592945ce742e87c8dd1406045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo off

setlocal
set OUTDIR=%1
set INTDIR=%2
set CYGWIN_ROOT=%~dp0..\..\..\third_party\cygwin\
set GNU_ROOT=%~dp0..\..\..\third_party\gnu\files

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

:: Copy files that the V8 bindings share with the KJS bindings.
call copy_files.bat %IntDir%\SharedSources

:: Build the generated files from IDL files.
bash build-generated-files.sh ..\..\..\third_party\WebKit\WebCore ..\..\port "%OUTDIR%" "%INTDIR%"