3 set PublicHeadersDirectory=%CONFIGURATIONBUILDDIR%\include\JavaScriptCore
4 set PrivateHeadersDirectory=%CONFIGURATIONBUILDDIR%\include\private\JavaScriptCore
5 set ResourcesDirectory=%CONFIGURATIONBUILDDIR%\bin\JavaScriptCore.resources
7 if "%1" EQU "clean" goto :clean
8 if "%1" EQU "rebuild" call :clean
10 echo Copying public headers...
11 mkdir "%PublicHeadersDirectory%" 2>NUL
26 JSWeakObjectMapRefInternal.h
27 JSWeakObjectMapRefPrivate.h
33 xcopy /y /d ..\..\API\%%f "%PublicHeadersDirectory%" >NUL
36 echo Copying private headers...
37 mkdir "%PrivateHeadersDirectory%" 2>NUL
57 xcopy /y /d ..\..\%%d\*.h "%PrivateHeadersDirectory%" >NUL
60 echo Copying resources...
61 mkdir "%ResourcesDirectory%" 2>NUL
62 xcopy /y /d ..\JavaScriptCore.resources\* "%ResourcesDirectory%" >NUL
64 echo Copying other files...
67 wtf\text\AtomicString.cpp
68 wtf\text\StringBuilder.cpp
69 wtf\text\StringImpl.cpp
70 wtf\text\WTFString.cpp
72 xcopy /y /d ..\..\%%f "%PrivateHeadersDirectory%" >NUL
79 echo Deleting copied files...
80 if exist "%PublicHeadersDirectory%" rmdir /s /q "%PublicHeadersDirectory%" >NUL
81 if exist "%PrivateHeadersDirectory%" rmdir /s /q "%PrivateHeadersDirectory%" >NUL
82 if exist "%ResourcesDirectory%" rmdir /s /q "%ResourcesDirectory%" >NUL