mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
175aa9f527
Include mozconfig.rust in the common mozconfig so all jobs will have the same rust config. Automation mozconfigs all inherit from mozconfig.common, so we can include mozconfig.rust there and not need it anywhere else. Remove --enable-rust from mozconfig.rust now that it's the default. We only need the RUSTC and CARGO path variables so jobs can find the toolchain installed from the tooltool manifest. Also some automation jobs reject the configure option if we set it unconditionally. The --enable-rpath comment is no longer necessary; rust has been consistently built this way for some time. MozReview-Commit-ID: 2IeIIIinnPL --HG-- extra : rebase_source : 79dadcc5ed13f2db312042d755a57698f267e902
28 lines
992 B
Plaintext
28 lines
992 B
Plaintext
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
# Common mozconfig for official builds.
|
|
#
|
|
# Add options to this file that will be inherited by all in-tree mozconfigs.
|
|
# This is useful for eg try builds with nondefault options that apply to all
|
|
# architectures, though note that if you want to override options set in
|
|
# another mozconfig file, you'll need to use mozconfig.common.override instead
|
|
# of this file.
|
|
|
|
mk_add_options AUTOCLOBBER=1
|
|
|
|
ac_add_options --enable-crashreporter
|
|
|
|
ac_add_options --enable-release
|
|
|
|
# Enable checking that add-ons are signed by the trusted root
|
|
MOZ_ADDON_SIGNING=${MOZ_ADDON_SIGNING-1}
|
|
# Disable enforcing that add-ons are signed by the trusted root
|
|
MOZ_REQUIRE_SIGNING=${MOZ_REQUIRE_SIGNING-0}
|
|
|
|
ac_add_options --enable-js-shell
|
|
|
|
. "$topsrcdir/build/mozconfig.automation"
|
|
. "$topsrcdir/build/mozconfig.rust"
|