Code: Select all
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj-@CONFIG_GUESS@
mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'
mk_add_options MOZILLA_OFFICIAL=1
mk_add_options MOZ_PGO=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options AUTOCLOBBER=1
# Options for 'configure' (same as command-line options).
#ac_add_options --target=x86_64-pc-mingw32
#ac_add_options --host=x86_64-pc-mingw32
ac_add_options --with-windows-version=601
ac_add_options --enable-application=browser
ac_add_options --enable-update-channel=release
ac_add_options --enable-update-packaging
ac_add_options '--enable-optimize=-O1isy -GF -arch:AVX -fp:precise'
ac_add_options --enable-ui-locale=zh-CN
ac_add_options --with-l10n-base=..
ac_add_options --enable-jemalloc
ac_add_options --enable-official-branding
ac_add_options --enable-shared-js
and then I use build/pymake/make.py -f client.mk profiledbuild -j8 in mozilla-release directory to try to build a pgo version of firefox under windows, and I'm using vs2012.3.
but strange things happend, there is no $(MOZ_OBJDIR)/_profile/ folder in obj-i686-pc-mingw32, then my build stops, and give me error like pgo-profile-run target don't exists.
So how can I automatically build a pgo version of recent firefox under windows?