зеркало из https://github.com/mozilla/pjs.git
*** empty log message ***
This commit is contained in:
Родитель
59cb88b365
Коммит
d213233c9c
|
@ -19,6 +19,7 @@ txmgr
|
|||
appshell
|
||||
chrome
|
||||
mork
|
||||
tkitcmps
|
||||
xmlextra
|
||||
t8iix
|
||||
websrvcs
|
||||
|
|
|
@ -20,6 +20,7 @@ nsTransactionManagerModule
|
|||
appshell
|
||||
nsChromeModule
|
||||
nsMorkModule
|
||||
nsToolkitCompsModule
|
||||
nsXMLExtrasModule
|
||||
TransformiixModule
|
||||
nsWebServicesModule
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
mk_add_options NSPR_CO_TAG=NSPRPUB_PRE_4_2_WINCE_BRANCH
|
||||
mk_add_options NSS_CO_TAG=NSS_WINCE_CLIENT_TAG
|
||||
|
||||
mk_add_options MOZ_CO_PROJECT=suite
|
||||
ac_add_options --enable-application=suite
|
||||
mk_add_options MOZ_CO_PROJECT=minimo
|
||||
ac_add_options --enable-application=minimo
|
||||
|
||||
CROSS_COMPILE=1
|
||||
|
||||
|
@ -17,54 +17,12 @@ ac_add_options --target=arm-wince
|
|||
ac_add_options --enable-win32-target=WINCE
|
||||
ac_add_options --enable-default-toolkit=windows
|
||||
|
||||
ac_add_options --disable-activex
|
||||
ac_add_options --disable-activex-scripting
|
||||
ac_add_options --disable-oji
|
||||
|
||||
WINCE=1
|
||||
mk_add_options WINCE=1
|
||||
|
||||
TARGET_DEVICE=device
|
||||
mk_add_options TARGET_DEVICE=device
|
||||
|
||||
MINIMO=1
|
||||
mk_add_options MINIMO=1
|
||||
|
||||
# enable minimal profile support
|
||||
ac_add_options --disable-profilesharing
|
||||
ac_add_options --disable-profilelocking
|
||||
ac_add_options --enable-single-profile
|
||||
|
||||
# disable features and skip various build steps
|
||||
ac_add_options --enable-extensions="xml-rpc xmlextras transformiix webservices spatialnavigation"
|
||||
ac_add_options --disable-accessibility
|
||||
ac_add_options --disable-composer
|
||||
ac_add_options --enable-plaintext-editor-only
|
||||
ac_add_options --disable-mailnews
|
||||
ac_add_options --disable-ldap
|
||||
ac_add_options --disable-postscript
|
||||
ac_add_options --disable-mathml
|
||||
ac_add_options --disable-jsd
|
||||
ac_add_options --disable-installer
|
||||
ac_add_options --disable-xpinstall
|
||||
ac_add_options --disable-xpfe-components
|
||||
ac_add_options --disable-necko-disk-cache
|
||||
ac_add_options --disable-updater
|
||||
|
||||
# configure necko to allocate smaller network buffers
|
||||
ac_add_options --enable-necko-small-buffers
|
||||
|
||||
# disable debug logging and tests
|
||||
ac_add_options --disable-dtd-debug
|
||||
ac_add_options --disable-logging
|
||||
ac_add_options --disable-tests
|
||||
|
||||
# build minimal set of protocol handlers
|
||||
ac_add_options --enable-necko-protocols=about,data,http,file,res,jar
|
||||
|
||||
# build minimal set of image decoders
|
||||
ac_add_options --enable-image-decoders=png,gif,jpeg
|
||||
|
||||
# code generation options (optimize for size)
|
||||
ac_add_options --enable-strip
|
||||
ac_add_options --disable-debug
|
||||
|
@ -75,5 +33,3 @@ ac_add_options --disable-shared
|
|||
ac_add_options --enable-static
|
||||
|
||||
# ac_add_options --enable-timeline
|
||||
|
||||
ac_add_options --disable-v1-string-abi
|
||||
|
|
|
@ -1,82 +0,0 @@
|
|||
mk_add_options NSPR_CO_TAG=NSPRPUB_PRE_4_2_WINCE_BRANCH
|
||||
mk_add_options NSS_CO_TAG=NSS_WINCE_CLIENT_TAG
|
||||
|
||||
mk_add_options MOZ_CO_PROJECT=suite
|
||||
ac_add_options --enable-application=suite
|
||||
|
||||
CROSS_COMPILE=1
|
||||
|
||||
CXX=arm-wince-gcc
|
||||
LD=arm-wince-link
|
||||
AR=arm-wince-lib
|
||||
mk_add_options AR=arm-wince-lib
|
||||
|
||||
AS=arm-wince-as
|
||||
|
||||
ac_add_options --target=arm-wince
|
||||
ac_add_options --enable-win32-target=WINCE
|
||||
ac_add_options --enable-default-toolkit=windows
|
||||
|
||||
ac_add_options --disable-activex
|
||||
ac_add_options --disable-activex-scripting
|
||||
ac_add_options --disable-oji
|
||||
|
||||
WINCE=1
|
||||
mk_add_options WINCE=1
|
||||
|
||||
TARGET_DEVICE=emulator
|
||||
mk_add_options TARGET_DEVICE=emulator
|
||||
|
||||
MINIMO=1
|
||||
mk_add_options MINIMO=1
|
||||
|
||||
# enable minimal profile support
|
||||
ac_add_options --disable-profilesharing
|
||||
ac_add_options --disable-profilelocking
|
||||
ac_add_options --enable-single-profile
|
||||
|
||||
# disable features and skip various build steps
|
||||
ac_add_options --enable-extensions="xml-rpc xmlextras transformiix webservices spatialnavigation"
|
||||
ac_add_options --disable-accessibility
|
||||
ac_add_options --disable-composer
|
||||
ac_add_options --enable-plaintext-editor-only
|
||||
ac_add_options --disable-mailnews
|
||||
ac_add_options --disable-ldap
|
||||
ac_add_options --disable-postscript
|
||||
ac_add_options --disable-mathml
|
||||
ac_add_options --disable-jsd
|
||||
ac_add_options --disable-installer
|
||||
ac_add_options --disable-xpinstall
|
||||
ac_add_options --disable-xpfe-components
|
||||
ac_add_options --disable-necko-disk-cache
|
||||
ac_add_options --disable-updater
|
||||
|
||||
# configure necko to allocate smaller network buffers
|
||||
ac_add_options --enable-necko-small-buffers
|
||||
|
||||
# disable debug logging and tests
|
||||
ac_add_options --disable-dtd-debug
|
||||
ac_add_options --disable-logging
|
||||
ac_add_options --disable-tests
|
||||
|
||||
# build minimal set of protocol handlers
|
||||
ac_add_options --enable-necko-protocols=about,data,http,file,res,jar
|
||||
|
||||
# build minimal set of image decoders
|
||||
ac_add_options --enable-image-decoders=png,gif,jpeg
|
||||
|
||||
# code generation options (optimize for size)
|
||||
ac_add_options --enable-strip
|
||||
ac_add_options --disable-debug
|
||||
|
||||
#ac_add_options --disable-optimize
|
||||
#ac_add_options --enable-debug
|
||||
|
||||
# enable static build
|
||||
ac_add_options --disable-shared
|
||||
ac_add_options --enable-static
|
||||
|
||||
#xptcall busted
|
||||
ac_add_options --disable-jsloader
|
||||
|
||||
ac_add_options --disable-v1-string-abi
|
|
@ -30,14 +30,23 @@ cp -a bin/ssl3.dll wince
|
|||
|
||||
|
||||
mkdir -p wince/chrome
|
||||
|
||||
cp -a bin/chrome/classic.jar wince/chrome
|
||||
cp -a bin/chrome/classic.manifest wince/chrome
|
||||
|
||||
cp -a bin/chrome/en-US.jar wince/chrome
|
||||
cp -a bin/chrome/installed-chrome.txt wince/chrome
|
||||
cp -a bin/chrome/en-US.manifest wince/chrome
|
||||
|
||||
cp -a bin/chrome/minimo.jar wince/chrome
|
||||
|
||||
cp -a bin/chrome/toolkit.jar wince/chrome
|
||||
cp -a bin/chrome/toolkit.manifest wince/chrome
|
||||
|
||||
cp -a bin/chrome/pippki.jar wince/chrome
|
||||
cp -a bin/chrome/pipnss.jar wince/chrome
|
||||
cp -a bin/chrome/pippki.manifest wince/chrome
|
||||
|
||||
cp -a bin/chrome/installed-chrome.txt wince/chrome
|
||||
|
||||
|
||||
mkdir -p wince/components
|
||||
|
||||
|
@ -52,6 +61,7 @@ cp -a bin/components/pipboot.dll wince/components
|
|||
cp -a bin/components/pipnss.dll wince/components
|
||||
cp -a bin/components/pippki.dll wince/components
|
||||
|
||||
cp -a bin/extensions/spatial-navigation@extensions.mozilla.org/components/* wince/components
|
||||
|
||||
mkdir -p wince/greprefs
|
||||
cp -a bin/greprefs/* wince/greprefs
|
||||
|
@ -65,7 +75,7 @@ mkdir -p wince/plugins
|
|||
|
||||
echo Linking XPT files.
|
||||
|
||||
host/bin/host_xpt_link wince/components/all.xpt bin/components/*.xpt
|
||||
host/bin/host_xpt_link wince/components/all.xpt bin/components/*.xpt
|
||||
|
||||
echo Chewing on chrome
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include "MinimoPrivate.h"
|
||||
|
||||
#ifdef _BUILD_STATIC_BIN
|
||||
#include "nsStaticComponents.h"
|
||||
#include "nsStaticComponents.h"
|
||||
#endif
|
||||
|
||||
// Global variables
|
||||
|
@ -157,7 +157,7 @@ nsresult StartupProfile()
|
|||
return locProvider->SetProfileDir(localAppDataDir);
|
||||
}
|
||||
|
||||
void SetPreferences()
|
||||
void DoPreferences()
|
||||
{
|
||||
nsCOMPtr<nsIPrefBranch> prefBranch = do_GetService(NS_PREFSERVICE_CONTRACTID);
|
||||
if (!prefBranch)
|
||||
|
@ -228,7 +228,7 @@ int main(int argc, char *argv[])
|
|||
if (NS_FAILED(StartupProfile()))
|
||||
return 1;
|
||||
|
||||
SetPreferences();
|
||||
DoPreferences();
|
||||
|
||||
NS_TIMELINE_ENTER("appStartup");
|
||||
nsCOMPtr<nsIAppShell> appShell = do_CreateInstance(kAppShellCID);
|
||||
|
|
Загрузка…
Ссылка в новой задаче