137
edits
No edit summary |
(Removing browser from options, since this is specifically about thunderbird. Should consider removing calendar too.) |
||
| Line 13: | Line 13: | ||
The following command works for the mozconfig shown below: (time, a Unix app, will tell you how long the compile took.) | The following command works for the mozconfig shown below: (time, a Unix app, will tell you how long the compile took.) | ||
$ time make -f client.mk checkout MOZ_CO_PROJECT= | $ time make -f client.mk checkout MOZ_CO_PROJECT=mail,calendar | ||
A sample .mozconfig for a dual-core MacBook Pro, which checks out Firefox, Thunderbird (with Lightning enabled), and Sunbird code at the same time: | A sample .mozconfig for a dual-core MacBook Pro, which checks out Firefox, Thunderbird (with Lightning enabled), and Sunbird code at the same time: | ||
| Line 20: | Line 20: | ||
mk_add_options MOZ_MAKE_FLAGS="-j3" | mk_add_options MOZ_MAKE_FLAGS="-j3" | ||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../objdir-@CONFIG_GUESS@ | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../objdir-@CONFIG_GUESS@ | ||
mk_add_options MOZ_BUILD_PROJECTS=" | mk_add_options MOZ_BUILD_PROJECTS="mail calendar" | ||
mk_add_options MOZ_CO_PROJECT=" | mk_add_options MOZ_CO_PROJECT="mail calendar" | ||
# For debugging, enable if necessary | # For debugging, enable if necessary | ||
#mk_add_options MOZ_CO_MODULE="mozilla/tools/trace-malloc" | #mk_add_options MOZ_CO_MODULE="mozilla/tools/trace-malloc" | ||
#ac_add_options --enable-trace-malloc | #ac_add_options --enable-trace-malloc | ||
# To enable multi-app compilation from one .mozconfig | # To enable multi-app compilation from one .mozconfig | ||
ac_add_app_options mail --enable-application=mail | ac_add_app_options mail --enable-application=mail | ||
ac_add_app_options calendar --enable-application=calendar | ac_add_app_options calendar --enable-application=calendar | ||
edits