Hello, All! I try to embedding Gecko in windows application, one of the most important task is to reduce gecko size, so I build mozilla-central with .mozconfig using embedding profile minimal.
# build xulrunner mk_add_options MOZ_BUILD_PROJECTS=xulrunner ac_add_options --enable-application=xulrunner # set minimal profile ac_add_options --with-embedding-profile=basic ac_add_options --with-embedding-profile=minimal # skip update #mk_add_options MOZ_CO_PROJECT=xulrunner # enable mfcembed ac_add_options --enable-tests # minus vista ac_add_options --disable-vista-sdk-requirements # minus java ac_add_options --disable-javaxpcom #ac_add_options --disable-xpconnect-idispatch ac_add_options --disable-activex ac_add_options --disable-activex-scripting #ac_add_options --disable-accessibility #ac_add_options --disable-libxul # set shared ac_add_options --enable-shared ac_add_options --disable-static # js-static works only for static linkage ac_add_options --disable-js-static-build # enable debug symbols export MOZ_DEBUG_SYMBOLS=1 ac_add_options --enable-debugger-info-modules=yes ac_add_options --disable-optimize ac_add_options --enable-debug # set obj directory mk_add_options MOZ_OBJDIR=/c/mozilla-build/obj-mozilla After successful build I see obj-mozilla/.../winEmbed contain only Makefile. So I try to go it directory and build with "make". I get 3 errors related to missing headers: nsXULAppAPI.h, nsProfileDirServiceProvider.h and nsIProfileChangeStatus.h I append paths to headers: in winEmbed/Makefile: LOCAL_INCLUDES = -I$(srcdir) -I$(topsrcdir)/toolkit/xre -I$(topsrcdir)/profile/dirserviceprovider/public After that I get link error: profdirserviceprovidersa_s.lib is not founded. So I again modify Makefile and remove it library from library set And remove using of NS_NewProfileDirServiceProvider to remove dependence from missed lib. Im successful build winEmbed, but It does not work :( Im copy winEmbed to distr/bin and srart it. Ill try to debug winEmbed, but I think Im on the wrong way. How can I build winEmbed with minimal profile? Any ideas? Thanks, in advance. Dmitry. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
