X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..refs/heads/master:/JavaScriptCore.vcxproj/copy-files.cmd diff --git a/JavaScriptCore.vcxproj/copy-files.cmd b/JavaScriptCore.vcxproj/copy-files.cmd index 535e27b..a245c3e 100755 --- a/JavaScriptCore.vcxproj/copy-files.cmd +++ b/JavaScriptCore.vcxproj/copy-files.cmd @@ -9,7 +9,7 @@ if "%1" EQU "clean" goto :clean if "%1" EQU "rebuild" call :clean echo Copying public headers... -mkdir "%PublicHeadersDirectory%" 2>NUL +@mkdir "%PublicHeadersDirectory%" 2>NUL for %%f in ( APICast.h APIShims.h @@ -33,7 +33,7 @@ for %%f in ( OpaqueJSString.h WebKitAvailability.h ) do ( - xcopy /y /d ..\API\%%f "%PublicHeadersDirectory%" >NUL + @xcopy /y /d ..\API\%%f "%PublicHeadersDirectory%" >NUL ) echo Copying private headers... @@ -58,45 +58,50 @@ for %%d in ( runtime yarr ) do ( - xcopy /y /d ..\%%d\*.h "%PrivateHeadersDirectory%" >NUL + @xcopy /y /d ..\%%d\*.h "%PrivateHeadersDirectory%" >NUL ) echo Copying Inspector scripts as if they were private headers... for %%d in ( inspector\scripts + inspector\scripts\codegen ) do ( - xcopy /y /d ..\%%d\* "%PrivateHeadersDirectory%" >NUL + @xcopy /y /d ..\%%d\* "%PrivateHeadersDirectory%" >NUL ) echo Copying Inspector generated files as if they were private headers... -xcopy /y "%DerivedSourcesDirectory%\InspectorJS.json" "%PrivateHeadersDirectory%" >NUL -xcopy /y "%DerivedSourcesDirectory%\InspectorJSTypeBuilders.h" "%PrivateHeadersDirectory%" >NUL -xcopy /y "%DerivedSourcesDirectory%\InspectorJSBackendDispatchers.h" "%PrivateHeadersDirectory%" >NUL -xcopy /y "%DerivedSourcesDirectory%\InspectorJSFrontendDispatchers.h" "%PrivateHeadersDirectory%" >NUL +@xcopy /y "%DerivedSourcesDirectory%\CombinedDomains.json" "%PrivateHeadersDirectory%" >NUL +@xcopy /y "%DerivedSourcesDirectory%\InspectorProtocolObjects.h" "%PrivateHeadersDirectory%" >NUL +@xcopy /y "%DerivedSourcesDirectory%\InspectorBackendDispatchers.h" "%PrivateHeadersDirectory%" >NUL +@xcopy /y "%DerivedSourcesDirectory%\InspectorFrontendDispatchers.h" "%PrivateHeadersDirectory%" >NUL +@xcopy /y "%DerivedSourcesDirectory%\InspectorBackendCommands.js" "%PrivateHeadersDirectory%" >NUL echo Copying Web Replay scripts as if they were private headers... for %%d in ( replay\scripts ) do ( - xcopy /y /d ..\%%d\* "%PrivateHeadersDirectory%" >NUL + @xcopy /y /d ..\%%d\* "%PrivateHeadersDirectory%" >NUL ) echo Copying Web Replay generated headers as if they were private headers... -xcopy /y "%DerivedSourcesDirectory%\JSReplayInputs.h" "%PrivateHeadersDirectory%" >NUL +@xcopy /y "%DerivedSourcesDirectory%\JSReplayInputs.h" "%PrivateHeadersDirectory%" >NUL + +echo Copying Web Replay specification files as if they were private headers... +@xcopy /y /d ..\replay\*.json "%PrivateHeadersDirectory%" >NUL echo Copying builtins header as if it were a private header... -xcopy /y "%DerivedSourcesDirectory%\JSCBuiltins.h" "%PrivateHeadersDirectory%" >NUL -xcopy /y "%DerivedSourcesDirectory%\Bytecodes.h" "%PrivateHeadersDirectory%" >NUL +@xcopy /y "%DerivedSourcesDirectory%\JSCBuiltins.h" "%PrivateHeadersDirectory%" >NUL +@xcopy /y "%DerivedSourcesDirectory%\Bytecodes.h" "%PrivateHeadersDirectory%" >NUL echo Copying resources... -mkdir "%ResourcesDirectory%" 2>NUL -xcopy /y /d JavaScriptCore.resources\* "%ResourcesDirectory%" >NUL +@mkdir "%ResourcesDirectory%" 2>NUL +@xcopy /y /d JavaScriptCore.resources\* "%ResourcesDirectory%" >NUL goto :EOF :clean echo Deleting copied files... -if exist "%PublicHeadersDirectory%" rmdir /s /q "%PublicHeadersDirectory%" >NUL -if exist "%PrivateHeadersDirectory%" rmdir /s /q "%PrivateHeadersDirectory%" >NUL -if exist "%ResourcesDirectory%" rmdir /s /q "%ResourcesDirectory%" >NUL +@if exist "%PublicHeadersDirectory%" rmdir /s /q "%PublicHeadersDirectory%" >NUL 2>NUL +@if exist "%PrivateHeadersDirectory%" rmdir /s /q "%PrivateHeadersDirectory%" >NUL 2>NUL +@if exist "%ResourcesDirectory%" rmdir /s /q "%ResourcesDirectory%" >NUL 2>NUL