зеркало из https://github.com/mozilla/pjs.git
Using a static build of XPCOM. Performance pref changes. using -xs as default compiler options
This commit is contained in:
Родитель
90631c014e
Коммит
10ae0638e5
|
@ -95,11 +95,8 @@ ifdef WINCE
|
||||||
RCINCLUDE = wince/SplashScreen.rc
|
RCINCLUDE = wince/SplashScreen.rc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EXTRA_DSO_LIBS = embed_base_s profdirserviceprovider_s
|
LIBS = $(LIBS_DIR) \
|
||||||
|
|
||||||
LIBS = $(EXTRA_DSO_LIBS) \
|
|
||||||
$(MOZ_UNICHARUTIL_LIBS) \
|
$(MOZ_UNICHARUTIL_LIBS) \
|
||||||
$(XPCOM_LIBS) \
|
|
||||||
$(NSPR_LIBS) \
|
$(NSPR_LIBS) \
|
||||||
$(MOZ_JS_LIBS) \
|
$(MOZ_JS_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
|
@ -3,3 +3,7 @@ ucvutil_s
|
||||||
gtkxtbin
|
gtkxtbin
|
||||||
gfxshared_s
|
gfxshared_s
|
||||||
gkgfx
|
gkgfx
|
||||||
|
xpcom_core
|
||||||
|
xpcomglue
|
||||||
|
embed_base_s
|
||||||
|
profdirserviceprovider_s
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
ucvutil_s
|
ucvutil_s
|
||||||
gfxshared_s
|
gfxshared_s
|
||||||
gkgfx
|
gkgfx
|
||||||
|
xpcom_core
|
||||||
|
xpcomglue
|
||||||
|
embed_base_s
|
||||||
|
profdirserviceprovider_s
|
||||||
|
|
|
@ -26,7 +26,7 @@ mk_add_options TARGET_DEVICE=device
|
||||||
# code generation options (optimize for size)
|
# code generation options (optimize for size)
|
||||||
ac_add_options --enable-strip
|
ac_add_options --enable-strip
|
||||||
ac_add_options --disable-debug
|
ac_add_options --disable-debug
|
||||||
ac_add_options --enable-optimize="-Os -Og"
|
ac_add_options --enable-optimize="-Oxs"
|
||||||
|
|
||||||
# enable static build
|
# enable static build
|
||||||
ac_add_options --disable-shared
|
ac_add_options --disable-shared
|
||||||
|
|
|
@ -36,8 +36,6 @@ plds4.dll=1
|
||||||
shunt.dll=1
|
shunt.dll=1
|
||||||
softokn3.dll=1
|
softokn3.dll=1
|
||||||
ssl3.dll=1
|
ssl3.dll=1
|
||||||
xpcom.dll=1
|
|
||||||
xpcom_core.dll=1
|
|
||||||
|
|
||||||
classic.jar=2
|
classic.jar=2
|
||||||
classic.manifest=2
|
classic.manifest=2
|
||||||
|
@ -107,8 +105,6 @@ plds4.dll,,,0
|
||||||
shunt.dll,,,0
|
shunt.dll,,,0
|
||||||
softokn3.dll,,,0
|
softokn3.dll,,,0
|
||||||
ssl3.dll,,,0
|
ssl3.dll,,,0
|
||||||
xpcom.dll,,,0
|
|
||||||
xpcom_core.dll,,,0
|
|
||||||
|
|
||||||
[Files.chrome]
|
[Files.chrome]
|
||||||
classic.jar,,,0
|
classic.jar,,,0
|
||||||
|
|
|
@ -5,6 +5,6 @@ Component = Minimo
|
||||||
[Minimo]
|
[Minimo]
|
||||||
CabFiles = minimo.2577.CAB
|
CabFiles = minimo.2577.CAB
|
||||||
Description=Mozilla Minimo for CE devices
|
Description=Mozilla Minimo for CE devices
|
||||||
Uninstall=Mozilla Minimo 009
|
Uninstall=Mozilla Minimo 010
|
||||||
IconFile = minimo.ico
|
IconFile = minimo.ico
|
||||||
IconIndex=0
|
IconIndex=0
|
||||||
|
|
|
@ -27,8 +27,6 @@ cp -a bin/minimo_runner.exe minimo
|
||||||
cp -a bin/nspr4.dll minimo
|
cp -a bin/nspr4.dll minimo
|
||||||
cp -a bin/plc4.dll minimo
|
cp -a bin/plc4.dll minimo
|
||||||
cp -a bin/plds4.dll minimo
|
cp -a bin/plds4.dll minimo
|
||||||
cp -a bin/xpcom.dll minimo
|
|
||||||
cp -a bin/xpcom_core.dll minimo
|
|
||||||
|
|
||||||
cp -a bin/nss3.dll minimo
|
cp -a bin/nss3.dll minimo
|
||||||
cp -a bin/nssckbi.dll minimo
|
cp -a bin/nssckbi.dll minimo
|
||||||
|
@ -56,14 +54,6 @@ cp -a bin/components/nsDictionary.js minimo/components
|
||||||
cp -a bin/components/nsInterfaceInfoToIDL.js minimo/components
|
cp -a bin/components/nsInterfaceInfoToIDL.js minimo/components
|
||||||
cp -a bin/components/nsXmlRpcClient.js minimo/components
|
cp -a bin/components/nsXmlRpcClient.js minimo/components
|
||||||
|
|
||||||
cp -a bin/components/pipboot.dll minimo/components
|
|
||||||
cp -a bin/components/pipnss.dll minimo/components
|
|
||||||
|
|
||||||
cp -a bin/components/t8iix.dll minimo/components
|
|
||||||
cp -a bin/components/websrvcs.dll minimo/components
|
|
||||||
cp -a bin/components/xmlextra.dll minimo/components
|
|
||||||
cp -a bin/components/gkplugin.dll minimo/components
|
|
||||||
|
|
||||||
cp -a bin/extensions/spatial-navigation@extensions.mozilla.org/components/* minimo/components
|
cp -a bin/extensions/spatial-navigation@extensions.mozilla.org/components/* minimo/components
|
||||||
|
|
||||||
mkdir -p minimo/greprefs
|
mkdir -p minimo/greprefs
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
pref("general.useragent.extra.minimo", "Minimo/0.009");
|
("general.useragent.extra.minimo", "Minimo/0.010");
|
||||||
|
|
||||||
pref("browser.cache.disk.enable", false);
|
pref("browser.cache.disk.enable", false);
|
||||||
pref("browser.cache.disk.capacity", 0);
|
pref("browser.cache.disk.capacity", 0);
|
||||||
|
@ -637,7 +637,7 @@ pref("ssr.site.enabled", true);
|
||||||
|
|
||||||
pref("skey.enabled", true);
|
pref("skey.enabled", true);
|
||||||
|
|
||||||
pref("browser.startup.homepage", "http://www.google.com/xhtml");
|
pref("browser.startup.homepage", "http://www.meer.net/~dougt/minimo_ce/start.html");
|
||||||
|
|
||||||
pref("browser.display.zoomui",10);
|
pref("browser.display.zoomui",10);
|
||||||
pref("browser.display.zoomcontent",10);
|
pref("browser.display.zoomcontent",10);
|
||||||
|
@ -645,3 +645,12 @@ pref("browser.display.zoomcontent",10);
|
||||||
/* So forcing this to false, so it's possible to test the toggle */
|
/* So forcing this to false, so it's possible to test the toggle */
|
||||||
/* This is being used in the code, as the state holder */
|
/* This is being used in the code, as the state holder */
|
||||||
pref("snav.enabled", false);
|
pref("snav.enabled", false);
|
||||||
|
|
||||||
|
pref("browser.formfill.enable", true);
|
||||||
|
|
||||||
|
|
||||||
|
/* These are opts. for slower devices */
|
||||||
|
pref("content.max.tokenizing.time", 2250000);
|
||||||
|
pref("content.notify.interval", 750000);
|
||||||
|
pref("content.switch.threshold", 750000);
|
||||||
|
pref("nglayout.initialpaint.delay", 750);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче