On Mon, Aug 28, 2017 at 12:28 AM, Erxin Shang <shangerxin...@gmail.com>
wrote:

> 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

Reply via email to