~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/copy-files.cmd

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@echo off
 
2
 
 
3
set PublicHeadersDirectory=%CONFIGURATIONBUILDDIR%\include\JavaScriptCore
 
4
set PrivateHeadersDirectory=%CONFIGURATIONBUILDDIR%\include\private\JavaScriptCore
 
5
set ResourcesDirectory=%CONFIGURATIONBUILDDIR%\bin\JavaScriptCore.resources
 
6
 
 
7
if "%1" EQU "clean" goto :clean
 
8
if "%1" EQU "rebuild" call :clean
 
9
 
 
10
echo Copying public headers...
 
11
mkdir "%PublicHeadersDirectory%" 2>NUL
 
12
for %%f in (
 
13
    APICast.h
 
14
    APIShims.h
 
15
    JSBase.h
 
16
    JSContextRef.h
 
17
    JSContextRefPrivate.h
 
18
    JSObjectRef.h
 
19
    JSObjectRefPrivate.h
 
20
    JSRetainPtr.h
 
21
    JSRetainPtr.h
 
22
    JSStringRef.h
 
23
    JSStringRefBSTR.h
 
24
    JSStringRefCF.h
 
25
    JSValueRef.h
 
26
    JSWeakObjectMapRefInternal.h
 
27
    JSWeakObjectMapRefPrivate.h
 
28
    JavaScript.h
 
29
    JavaScriptCore.h
 
30
    OpaqueJSString.h
 
31
    WebKitAvailability.h
 
32
) do (
 
33
    xcopy /y /d ..\..\API\%%f "%PublicHeadersDirectory%" >NUL
 
34
)
 
35
 
 
36
echo Copying private headers...
 
37
mkdir "%PrivateHeadersDirectory%" 2>NUL
 
38
for %%d in (
 
39
    assembler
 
40
    bytecode
 
41
    dfg
 
42
    disassembler
 
43
    heap
 
44
    debugger
 
45
    interpreter
 
46
    jit
 
47
    llint
 
48
    parser
 
49
    profiler
 
50
    runtime
 
51
    yarr
 
52
) do (
 
53
    xcopy /y /d ..\..\%%d\*.h "%PrivateHeadersDirectory%" >NUL
 
54
)
 
55
 
 
56
echo Copying resources...
 
57
mkdir "%ResourcesDirectory%" 2>NUL
 
58
xcopy /y /d ..\JavaScriptCore.resources\* "%ResourcesDirectory%" >NUL
 
59
 
 
60
goto :EOF
 
61
 
 
62
:clean
 
63
 
 
64
echo Deleting copied files...
 
65
if exist "%PublicHeadersDirectory%" rmdir /s /q "%PublicHeadersDirectory%" >NUL
 
66
if exist "%PrivateHeadersDirectory%" rmdir /s /q "%PrivateHeadersDirectory%" >NUL
 
67
if exist "%ResourcesDirectory%" rmdir /s /q "%ResourcesDirectory%" >NUL