summary refs log tree commit diff stats
path: root/build/dep-extract.bat
blob: a088c6a2b8aafdb4aa52cd9e54f37880724d72a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@echo off
set PATH=%PATH%;%PROGRAMW6432%\7-Zip
cd ..\dep-x64
7z x -y *.rpm
7z x *.cpio
del *.cpio
xcopy /q /s /i usr\x86_64-w64-mingw32\sys-root\mingw\* .
rmdir /q /s usr
set OPATH=%PATH%
set PATH=%PATH%;c:\mozilla-build\python-2.7-x64
python ..\build\convert-lib-x64.py
set PATH=%OPATH%
7z x *.7z
copy /y ..\build\glibconfig-x64.h lib\glib-2.0\include\glibconfig.h
cd ..\dep-x86
7z x -y *.rpm
7z x *.cpio
del *.cpio
xcopy /q /s /i usr\i686-w64-mingw32\sys-root\mingw\* .
rmdir /q /s usr
set OPATH=%PATH%
set PATH=%PATH%;c:\mozilla-build\python-2.7-x86
python ..\build\convert-lib-x86.py
set PATH=%OPATH%
7z x *.7z
copy /y ..\build\glibconfig-x86.h lib\glib-2.0\include\glibconfig.h
pause