root/trunk/llmozlib2/copy_products_windows.bat

Revision 8, 4.7 kB (checked in by rob.linden, 2 years ago)

Latest internal snapshot
Last Changed Rev: 80909
Last Changed Date: 2008-02-27 15:08:55 -0800 (Wed, 27 Feb 2008)

  • Property svn:eol-style set to CRLF
  • Property svn:executable set to *
Line 
1 @rem ===== source/destination dirs that may change depending where you build mozilla =====
2 @set SRC_DIR_OPT="c:\mozilla\objdir-opt-xulrunner-small"
3 @set SRC_DIR_DEBUG="c:\mozilla\objdir-debug-xulrunner-small"
4 @set DEST_DIR="libraries\i686-win32"
5
6 @rem =============== instructions ===============
7 @echo This batch file copies the files required to build the
8 @echo Linden Lab Mozilla Library2 (LLMozLib2).
9 @echo.
10 @echo It will copy the required files from a Mozilla build in the specified
11 @echo directories to the right location for LLMozLib2.
12 @echo.
13 @echo The release build will be copied from:
14 @echo  %SRC_DIR_OPT%
15 @echo.
16 @echo and the debug build from
17 @echo   %SRC_DIR_DEBUG%
18 @echo.
19 @echo to the %DEST_DIR% directory under the current directory.
20 @echo.
21 @echo IMPORTANT: delete the contents of the destination directory first.
22 @echo.
23 @pause
24
25 @echo ========== copying header files ==========
26 xcopy %SRC_DIR_OPT%\dist\include\content\*.*                                    %DEST_DIR%\include\mozilla\include\content\ /s
27 xcopy %SRC_DIR_OPT%\dist\include\docshell\*.*                                   %DEST_DIR%\include\mozilla\include\docshell\ /s
28 xcopy %SRC_DIR_OPT%\dist\include\dom\*.*                                                %DEST_DIR%\include\mozilla\include\dom\ /s
29 xcopy %SRC_DIR_OPT%\dist\include\gfx\*.*                                                %DEST_DIR%\include\mozilla\include\gfx\ /s
30 xcopy %SRC_DIR_OPT%\dist\include\js\*.*                                                 %DEST_DIR%\include\mozilla\include\js\ /s
31 xcopy %SRC_DIR_OPT%\dist\include\layout\*.*                                             %DEST_DIR%\include\mozilla\include\layout\ /s
32 xcopy %SRC_DIR_OPT%\dist\include\locale\*.*                                             %DEST_DIR%\include\mozilla\include\locale\ /s
33 xcopy %SRC_DIR_OPT%\dist\include\necko\*.*                                              %DEST_DIR%\include\mozilla\include\necko\ /s
34 xcopy %SRC_DIR_OPT%\dist\include\nkcache\*.*                                    %DEST_DIR%\include\mozilla\include\nkcache\ /s
35 xcopy %SRC_DIR_OPT%\dist\include\pref\*.*                                               %DEST_DIR%\include\mozilla\include\pref\ /s
36 xcopy %SRC_DIR_OPT%\dist\include\profdirserviceprovider\*.*             %DEST_DIR%\include\mozilla\include\profdirserviceprovider\ /s
37 xcopy %SRC_DIR_OPT%\dist\include\string\*.*                                             %DEST_DIR%\include\mozilla\include\string\ /s
38 xcopy %SRC_DIR_OPT%\dist\include\uriloader\*.*                                  %DEST_DIR%\include\mozilla\include\uriloader\ /s
39 xcopy %SRC_DIR_OPT%\dist\include\view\*.*                                               %DEST_DIR%\include\mozilla\include\view\ /s
40 xcopy %SRC_DIR_OPT%\dist\include\webbrwsr\*.*                                   %DEST_DIR%\include\mozilla\include\webbrwsr\ /s
41 xcopy %SRC_DIR_OPT%\dist\include\widget\*.*                                             %DEST_DIR%\include\mozilla\include\widget\ /s
42 xcopy %SRC_DIR_OPT%\dist\include\xpcom\*.*                                              %DEST_DIR%\include\mozilla\include\xpcom\ /s
43 xcopy %SRC_DIR_OPT%\dist\include\xulapp\*.*                                             %DEST_DIR%\include\mozilla\include\xulapp\ /s
44 xcopy %SRC_DIR_OPT%\dist\sdk\include\*.*                                                %DEST_DIR%\include\mozilla\sdk\include\ /s
45
46 @echo ========== copying debug libraries ==========
47 xcopy %SRC_DIR_DEBUG%\dist\lib\nspr4.lib                                                %DEST_DIR%\lib_debug\
48 xcopy %SRC_DIR_DEBUG%\dist\lib\plc4.lib                                                 %DEST_DIR%\lib_debug\
49 xcopy %SRC_DIR_DEBUG%\dist\lib\profdirserviceprovider_s.lib             %DEST_DIR%\lib_debug\
50 xcopy %SRC_DIR_DEBUG%\dist\lib\xpcom.lib                                                %DEST_DIR%\lib_debug\
51 xcopy %SRC_DIR_DEBUG%\dist\lib\xul.lib                                                  %DEST_DIR%\lib_debug\
52
53 @echo ========== copying debug runtime files ==========
54 xcopy %SRC_DIR_DEBUG%\dist\bin\chrome\*.*                                               %DEST_DIR%\runtime_debug\chrome\ /s
55 xcopy %SRC_DIR_DEBUG%\dist\bin\components\*.*                                   %DEST_DIR%\runtime_debug\components\ /s
56 xcopy %SRC_DIR_DEBUG%\dist\bin\greprefs\*.*                                             %DEST_DIR%\runtime_debug\greprefs\ /s
57 xcopy %SRC_DIR_DEBUG%\dist\bin\plugins\*.*                                              %DEST_DIR%\runtime_debug\plugins\ /s
58 xcopy %SRC_DIR_DEBUG%\dist\bin\res\*.*                                                  %DEST_DIR%\runtime_debug\res\ /s
59 xcopy %SRC_DIR_DEBUG%\dist\bin\*.dll                                                    %DEST_DIR%\runtime_debug\
60 xcopy %SRC_DIR_DEBUG%\dist\bin\windbgdlg.exe                                    %DEST_DIR%\runtime_debug\
61
62 @echo ========== copying release (opt) libraries ==========
63 xcopy %SRC_DIR_OPT%\dist\lib\nspr4.lib                                                  %DEST_DIR%\lib_release\
64 xcopy %SRC_DIR_OPT%\dist\lib\plc4.lib                                                   %DEST_DIR%\lib_release\
65 xcopy %SRC_DIR_OPT%\dist\lib\profdirserviceprovider_s.lib               %DEST_DIR%\lib_release\
66 xcopy %SRC_DIR_OPT%\dist\lib\xpcom.lib                                                  %DEST_DIR%\lib_release\
67 xcopy %SRC_DIR_OPT%\dist\lib\xul.lib                                                    %DEST_DIR%\lib_release\
68
69 @echo ========== copying release (opt) runtime files ==========
70 xcopy %SRC_DIR_OPT%\dist\bin\chrome\*.*                                                 %DEST_DIR%\runtime_release\chrome\ /s
71 xcopy %SRC_DIR_OPT%\dist\bin\components\*.*                                             %DEST_DIR%\runtime_release\components\ /s
72 xcopy %SRC_DIR_OPT%\dist\bin\greprefs\*.*                                               %DEST_DIR%\runtime_release\greprefs\ /s
73 xcopy %SRC_DIR_OPT%\dist\bin\plugins\*.*                                                %DEST_DIR%\runtime_release\plugins\ /s
74 xcopy %SRC_DIR_OPT%\dist\bin\res\*.*                                                    %DEST_DIR%\runtime_release\res\ /s
75 xcopy %SRC_DIR_OPT%\dist\bin\*.dll                                                              %DEST_DIR%\runtime_release\
76
77 @echo ========== finished ==========
78 @pause
Note: See TracBrowser for help on using the browser.