jimu 发表于 2016-1-24 22:10:44

xulrunner编译

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/XULRunner/Build_Instructions
XULRunner is built using basically the same process as Firefox or other applications. Please read and follow the general Build Documentation for instructions on how to get sources and set up build prerequisites.By default, XULRunner is built with JavaXPCOM support; the build system must be able to find an appropriate JDK on the system; see the instructions on Building JavaXPCOM for more details. If you do not want to build JavaXPCOM support, specify --disable-javaxpcom in your configuration.On Mac, XULRunner requires Mac OS X 10.3 or higher and XCode 1.5 or higher to build properly. The runtime requirement is Mac OS X 10.2.A basic minimal mozconfig which will build a release configuration of XULRunner is:mk_add_options MOZ_CO_PROJECT=xulrunner
mk_add_options MOZ_OBJDIR=@topsrcdir@/obj-xulrunner

ac_add_options --enable-application=xulrunner
#Uncomment the following line if you don't want to build JavaXPCOM:
#ac_add_options --disable-javaxpcomFetching Sources from MercurialAs with all other Mozilla products, one would fetch recent sources from Mercurial. For example, to build XULRunner with the top of the tree:hg clone http://hg.mozilla.org/mozilla-central/ src
cd src
echo ". \$topsrcdir/xulrunner/config/mozconfig" > .mozconfig
make -f client.mk build

页: [1]
查看完整版本: xulrunner编译