зеркало из https://github.com/mozilla/pjs.git
Start on a packaging script. npodb
This commit is contained in:
Родитель
8c68cc7615
Коммит
87405ee8b5
|
@ -0,0 +1,65 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
echo MOZ_OBJDIR is $MOZ_OBJDIR
|
||||
|
||||
cd $MOZ_OBJDIR/dist
|
||||
rm -rf wince
|
||||
|
||||
echo Copying over files from MOZ_OBJDIR
|
||||
|
||||
mkdir wince
|
||||
cp -a bin/js3250.dll wince
|
||||
cp -a bin/minimo.exe wince
|
||||
cp -a bin/nspr4.dll wince
|
||||
cp -a bin/plc4.dll wince
|
||||
cp -a bin/plds4.dll wince
|
||||
cp -a bin/xpcom.dll wince
|
||||
cp -a bin/xpcom_compat.dll wince
|
||||
cp -a bin/xpcom_core.dll wince
|
||||
|
||||
mkdir -p wince/chrome
|
||||
cp -a bin/chrome/US.jar wince/chrome
|
||||
cp -a bin/chrome/classic.jar wince/chrome
|
||||
cp -a bin/chrome/comm.jar wince/chrome
|
||||
cp -a bin/chrome/embed-sample.jar wince/chrome
|
||||
cp -a bin/chrome/en-US.jar wince/chrome
|
||||
cp -a bin/chrome/en-mac.jar wince/chrome
|
||||
cp -a bin/chrome/en-unix.jar wince/chrome
|
||||
cp -a bin/chrome/en-win.jar wince/chrome
|
||||
cp -a bin/chrome/installed-chrome.txt wince/chrome
|
||||
cp -a bin/chrome/modern.jar wince/chrome
|
||||
cp -a bin/chrome/toolkit.jar wince/chrome
|
||||
|
||||
mkdir -p wince/components
|
||||
cp -a bin/components/nsDictionary.js wince/components
|
||||
cp -a bin/components/nsHelperAppDlg.js wince/components
|
||||
cp -a bin/components/nsInterfaceInfoToIDL.js wince/components
|
||||
cp -a bin/components/nsProgressDialog.js wince/components
|
||||
cp -a bin/components/nsProxyAutoConfig.js wince/components
|
||||
cp -a bin/components/nsXmlRpcClient.js wince/components
|
||||
cp -a bin/components/xulappinfo.js wince/components
|
||||
|
||||
mkdir -p wince/greprefs
|
||||
cp -a bin/greprefs/* wince/greprefs
|
||||
|
||||
mkdir -p wince/res
|
||||
cp -a bin/res/* wince/res
|
||||
|
||||
mkdir -p wince/plugins
|
||||
|
||||
echo Linking XPT files.
|
||||
|
||||
xpt_link wince/components/all.xpt bin/components/*.xpt
|
||||
|
||||
echo Copying over customized files
|
||||
|
||||
cp -a $MOZ_OBJDIR/../embedding/minimo/wince/all.js wince/greprefs
|
||||
|
||||
echo Applying SSR
|
||||
|
||||
cat $MOZ_OBJDIR/../embedding/minimo/smallScreen.css >> wince/res/ua.css
|
||||
|
||||
#cp -a $MOZ_OBJDIR/../build/wince/shunt/build/ARMV4Rel/shunt.dll wince
|
||||
|
||||
echo Done.
|
Загрузка…
Ссылка в новой задаче