天天看點

firefox編譯

1.運作firefox-build目錄下start-msvc9.bat

2.修改firefox源碼根目錄.mozconfig檔案

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-dbg

ac_add_options --disable-optimize

ac_add_options --enable-debug

ac_add_options --enable-tests

ac_add_options --with-windows-version=600

ac_add_options --enable-application=browser

mk_add_options MOZ_CO_PROJECT=browser

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-rel

ac_add_options --enable-optimize

ac_add_options --disable-debug

ac_add_options --enable-static

ac_add_options --disable-tests

ac_add_options --with-windows-version=600

ac_add_options --enable-application=xulrunner

ac_add_options --enable-application=browser

mk_add_options MOZ_CO_PROJECT="xulrunner browser"

mk_add_options MOZ_BUILD_PROJECTS="xulrunner browser"

3.cd firefox-src

4.$ make -f client.mk build

繼續閱讀