]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - JavaScriptCore.vcxproj/copy-files.cmd
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / JavaScriptCore.vcxproj / copy-files.cmd
index cdc39e76a5a72fe3927f48ce0179805d9737c2d9..a245c3ea08c5e73e2c1710d5423bcc1887955612 100755 (executable)
@@ -2,13 +2,14 @@
 \r
 set PublicHeadersDirectory=%CONFIGURATIONBUILDDIR%\include\JavaScriptCore\r
 set PrivateHeadersDirectory=%CONFIGURATIONBUILDDIR%\include\private\JavaScriptCore\r
-set ResourcesDirectory=%CONFIGURATIONBUILDDIR%\bin32\JavaScriptCore.resources\r
+set ResourcesDirectory=%CONFIGURATIONBUILDDIR%\bin%PlatformArchitecture%\JavaScriptCore.resources\r
+set DerivedSourcesDirectory=%CONFIGURATIONBUILDDIR%\obj%PlatformArchitecture%\JavaScriptCore\DerivedSources\r
 \r
 if "%1" EQU "clean" goto :clean\r
 if "%1" EQU "rebuild" call :clean\r
 \r
 echo Copying public headers...\r
-mkdir "%PublicHeadersDirectory%" 2>NUL\r
+@mkdir "%PublicHeadersDirectory%" 2>NUL\r
 for %%f in (\r
     APICast.h\r
     APIShims.h\r
@@ -16,6 +17,7 @@ for %%f in (
     JSClassRef.h\r
     JSContextRef.h\r
     JSContextRefPrivate.h\r
+       JSCTestRunnerUtils.h\r
     JSObjectRef.h\r
     JSObjectRefPrivate.h\r
     JSRetainPtr.h\r
@@ -31,38 +33,75 @@ for %%f in (
     OpaqueJSString.h\r
     WebKitAvailability.h\r
 ) do (\r
-    xcopy /y /d ..\API\%%f "%PublicHeadersDirectory%" >NUL\r
+    @xcopy /y /d ..\API\%%f "%PublicHeadersDirectory%" >NUL\r
 )\r
 \r
 echo Copying private headers...\r
 mkdir "%PrivateHeadersDirectory%" 2>NUL\r
 for %%d in (\r
     assembler\r
+    bindings\r
     bytecode\r
+    builtins\r
     dfg\r
     disassembler\r
     heap\r
     debugger\r
+    inspector\r
+    inspector\agents\r
     interpreter\r
     jit\r
     llint\r
     parser\r
     profiler\r
+    replay\r
     runtime\r
     yarr\r
 ) do (\r
-    xcopy /y /d ..\%%d\*.h "%PrivateHeadersDirectory%" >NUL\r
+    @xcopy /y /d ..\%%d\*.h "%PrivateHeadersDirectory%" >NUL\r
 )\r
 \r
+echo Copying Inspector scripts as if they were private headers...\r
+for %%d in (\r
+    inspector\scripts\r
+       inspector\scripts\codegen\r
+) do (\r
+    @xcopy /y /d ..\%%d\* "%PrivateHeadersDirectory%" >NUL\r
+)\r
+\r
+echo Copying Inspector generated files as if they were private headers...\r
+@xcopy /y "%DerivedSourcesDirectory%\CombinedDomains.json" "%PrivateHeadersDirectory%" >NUL\r
+@xcopy /y "%DerivedSourcesDirectory%\InspectorProtocolObjects.h" "%PrivateHeadersDirectory%" >NUL\r
+@xcopy /y "%DerivedSourcesDirectory%\InspectorBackendDispatchers.h" "%PrivateHeadersDirectory%" >NUL\r
+@xcopy /y "%DerivedSourcesDirectory%\InspectorFrontendDispatchers.h" "%PrivateHeadersDirectory%" >NUL\r
+@xcopy /y "%DerivedSourcesDirectory%\InspectorBackendCommands.js" "%PrivateHeadersDirectory%" >NUL\r
+\r
+echo Copying Web Replay scripts as if they were private headers...\r
+for %%d in (\r
+    replay\scripts\r
+) do (\r
+    @xcopy /y /d ..\%%d\* "%PrivateHeadersDirectory%" >NUL\r
+)\r
+\r
+echo Copying Web Replay generated headers as if they were private headers...\r
+@xcopy /y "%DerivedSourcesDirectory%\JSReplayInputs.h" "%PrivateHeadersDirectory%" >NUL\r
+\r
+echo Copying Web Replay specification files as if they were private headers...\r
+@xcopy /y /d ..\replay\*.json "%PrivateHeadersDirectory%" >NUL\r
+\r
+echo Copying builtins header as if it were a private header...\r
+@xcopy /y "%DerivedSourcesDirectory%\JSCBuiltins.h" "%PrivateHeadersDirectory%" >NUL\r
+@xcopy /y "%DerivedSourcesDirectory%\Bytecodes.h" "%PrivateHeadersDirectory%" >NUL\r
+\r
 echo Copying resources...\r
-mkdir "%ResourcesDirectory%" 2>NUL\r
-xcopy /y /d JavaScriptCore.resources\* "%ResourcesDirectory%" >NUL\r
+@mkdir "%ResourcesDirectory%" 2>NUL\r
+@xcopy /y /d JavaScriptCore.resources\* "%ResourcesDirectory%" >NUL\r
 \r
 goto :EOF\r
 \r
 :clean\r
 \r
 echo Deleting copied files...\r
-if exist "%PublicHeadersDirectory%" rmdir /s /q "%PublicHeadersDirectory%" >NUL\r
-if exist "%PrivateHeadersDirectory%" rmdir /s /q "%PrivateHeadersDirectory%" >NUL\r
-if exist "%ResourcesDirectory%" rmdir /s /q "%ResourcesDirectory%" >NUL\r
+@if exist "%PublicHeadersDirectory%" rmdir /s /q "%PublicHeadersDirectory%" >NUL 2>NUL\r
+@if exist "%PrivateHeadersDirectory%" rmdir /s /q "%PrivateHeadersDirectory%" >NUL 2>NUL\r
+@if exist "%ResourcesDirectory%" rmdir /s /q "%ResourcesDirectory%" >NUL 2>NUL\r