Re: How to configure mozilla Firefox build options to build a customized release/developer edition build?
On Monday, August 28, 2017 at 6:00:41 PM UTC+8, Gabriele Svelto wrote: > On 28/08/2017 09:28, Erxin Shang wrote: > > I'm trying to build a release version Firefox. But after the build there > > seems still a little bit different compare to the official build. Such as > > the official build doesn't contain the folder chrome/, components/, > > gmp-fake/ etc in the root of Firefox folder. > > A release version will have the MOZILLA_OFFICIAL variable set (i.e. add > "mk_add_options MOZILLA_OFFICIAL=1" to your .mozconfig file). As the > name implies however such a build cannot be redistributed as is, just so > that you know. > > > My question is how to configure the options to build a version just like > > the official Firefox but it's a nightly build? Where can I find the build > > options, such as release/developer edition, which are used by Mozilla? > You will find the release mozconfig files under browser/config/mozconfigs > > Gabriele Thank you for the great help! I will check the configuration files and try to build without the flag MOZILLA_OFFICIAL=1 Best regards, Edwin ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: How to configure mozilla Firefox build options to build a customized release/developer edition build?
On Mon, Aug 28, 2017 at 12:28 AM, Erxin Shangwrote: > Hi Mozilla Experts, > > I'm trying to build a release version Firefox. But after the build there > seems still a little bit different compare to the official build. Such as > the official build doesn't contain the folder chrome/, components/, > gmp-fake/ etc in the root of Firefox folder. > > Current build options: > > mk_add_options AUTOCLOBBER=1 > > ac_add_options --enable-application=browser > ac_add_options --enable-artifact-builds > ac_add_options --target=x86_64-pc-mingw32 > ac_add_options --host=x86_64-pc-mingw32 > ac_add_options --disable-tests > ac_add_options --enable-optimize > ac_add_options --enable-release > ac_add_options --disable-crashreporter > > My question is how to configure the options to build a version just like > the official Firefox but it's a nightly build? Where can I find the build > options, such as release/developer edition, which are used by Mozilla? > > Thanks in advance! > If you open `about:buildconfig` in Firefox, you'll see the configure options used to build Firefox. That's a good start for obtaining a similar build. Enabling MOZ_AUTOMATION=1 enables a bunch of supplemental build steps you normally wouldn't get in a local build. MOZ_AUTOMATION=1 is tailored to Mozilla's build environment. So attempting to set that locally will likely result in multiple failures. The custom build steps you likely care about can be run with `mach build installer` + `mach build package`. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: How to configure mozilla Firefox build options to build a customized release/developer edition build?
On 8/28/17 3:28 AM, Erxin Shang wrote: I'm trying to build a release version Firefox. But after the build there seems still a little bit different compare to the official build. Such as the official build doesn't contain the folder chrome/, components/, gmp-fake/ etc in the root of Firefox folder. Are you comparing a packaged version of your build to a packaged official build, a or an unpackaged version of your build to a packaged official build? -Boris ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
Re: How to configure mozilla Firefox build options to build a customized release/developer edition build?
On 28/08/2017 09:28, Erxin Shang wrote: > I'm trying to build a release version Firefox. But after the build there > seems still a little bit different compare to the official build. Such as the > official build doesn't contain the folder chrome/, components/, gmp-fake/ etc > in the root of Firefox folder. A release version will have the MOZILLA_OFFICIAL variable set (i.e. add "mk_add_options MOZILLA_OFFICIAL=1" to your .mozconfig file). As the name implies however such a build cannot be redistributed as is, just so that you know. > My question is how to configure the options to build a version just like the > official Firefox but it's a nightly build? Where can I find the build > options, such as release/developer edition, which are used by Mozilla? You will find the release mozconfig files under browser/config/mozconfigs Gabriele signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform
How to configure mozilla Firefox build options to build a customized release/developer edition build?
Hi Mozilla Experts, I'm trying to build a release version Firefox. But after the build there seems still a little bit different compare to the official build. Such as the official build doesn't contain the folder chrome/, components/, gmp-fake/ etc in the root of Firefox folder. Current build options: mk_add_options AUTOCLOBBER=1 ac_add_options --enable-application=browser ac_add_options --enable-artifact-builds ac_add_options --target=x86_64-pc-mingw32 ac_add_options --host=x86_64-pc-mingw32 ac_add_options --disable-tests ac_add_options --enable-optimize ac_add_options --enable-release ac_add_options --disable-crashreporter My question is how to configure the options to build a version just like the official Firefox but it's a nightly build? Where can I find the build options, such as release/developer edition, which are used by Mozilla? Thanks in advance! Best regards, Edwin ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform