Skip to content

Commit

Permalink
Bug 1373150 - Disable compile environment on l10n builds. r=Callek
Browse files Browse the repository at this point in the history
--HG--
extra : rebase_source : d28920594023bfdd956d0bbdf385e8d1fafb0656
  • Loading branch information
glandium committed Jun 15, 2017
1 parent 253ddcb commit 1146465
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 29 deletions.
2 changes: 1 addition & 1 deletion browser/config/mozconfigs/linux32/l10n-mozconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ac_add_options --with-l10n-base=../../l10n
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-branding=browser/branding/nightly

. $topsrcdir/build/unix/mozconfig.linux32
. "$topsrcdir/build/mozconfig.no-compile"

export MOZILLA_OFFICIAL=1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ac_add_options --with-l10n-base=../../l10n
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-branding=browser/branding/aurora

. $topsrcdir/build/unix/mozconfig.linux32
. "$topsrcdir/build/mozconfig.no-compile"

export MOZILLA_OFFICIAL=1

Expand Down
2 changes: 1 addition & 1 deletion browser/config/mozconfigs/linux64/l10n-mozconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ac_add_options --with-l10n-base=../../l10n
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-branding=browser/branding/nightly

. $topsrcdir/build/unix/mozconfig.linux
. "$topsrcdir/build/mozconfig.no-compile"

export MOZILLA_OFFICIAL=1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ac_add_options --with-l10n-base=../../l10n
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-branding=browser/branding/aurora

. $topsrcdir/build/unix/mozconfig.linux
. "$topsrcdir/build/mozconfig.no-compile"

export MOZILLA_OFFICIAL=1

Expand Down
3 changes: 1 addition & 2 deletions browser/config/mozconfigs/macosx64/l10n-mozconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
. "$topsrcdir/browser/config/mozconfigs/common"
. "$topsrcdir/build/macosx/mozconfig.common"
. "$topsrcdir/build/mozconfig.no-compile"

ac_add_options --with-l10n-base=../../l10n
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
Expand All @@ -19,4 +19,3 @@ export MOZ_TELEMETRY_REPORTING=1
mk_add_options AUTOCLOBBER=

. "$topsrcdir/build/mozconfig.common.override"
. "$topsrcdir/build/mozconfig.cache"
3 changes: 1 addition & 2 deletions browser/config/mozconfigs/macosx64/l10n-mozconfig-devedition
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
. "$topsrcdir/browser/config/mozconfigs/common"
. "$topsrcdir/build/macosx/mozconfig.common"
. "$topsrcdir/build/mozconfig.no-compile"

ac_add_options --with-l10n-base=../../l10n
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
Expand All @@ -19,4 +19,3 @@ export MOZ_TELEMETRY_REPORTING=1
mk_add_options AUTOCLOBBER=

. "$topsrcdir/build/mozconfig.common.override"
. "$topsrcdir/build/mozconfig.cache"
4 changes: 1 addition & 3 deletions browser/config/mozconfigs/win32/l10n-mozconfig
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
. "$topsrcdir/browser/config/mozconfigs/common"
. "$topsrcdir/build/mozconfig.no-compile"

ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-l10n-base=../../l10n
ac_add_options --with-windows-version=603
ac_add_options --with-branding=browser/branding/nightly

export MOZILLA_OFFICIAL=1
Expand All @@ -14,6 +14,4 @@ export MOZ_TELEMETRY_REPORTING=1
# Bug 1283438
mk_add_options AUTOCLOBBER=

. $topsrcdir/build/win32/mozconfig.vs-latest

. "$topsrcdir/build/mozconfig.common.override"
4 changes: 1 addition & 3 deletions browser/config/mozconfigs/win32/l10n-mozconfig-devedition
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
. "$topsrcdir/browser/config/mozconfigs/common"
. "$topsrcdir/build/mozconfig.no-compile"

ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-l10n-base=../../l10n
ac_add_options --with-windows-version=603
ac_add_options --with-branding=browser/branding/aurora

export MOZILLA_OFFICIAL=1
Expand All @@ -14,6 +14,4 @@ export MOZ_TELEMETRY_REPORTING=1
# Bug 1283438
mk_add_options AUTOCLOBBER=

. $topsrcdir/build/win32/mozconfig.vs-latest

. "$topsrcdir/build/mozconfig.common.override"
4 changes: 1 addition & 3 deletions browser/config/mozconfigs/win64/l10n-mozconfig
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
. "$topsrcdir/browser/config/mozconfigs/common"
. "$topsrcdir/browser/config/mozconfigs/win64/common-win64"
. "$topsrcdir/build/mozconfig.no-compile"

ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-l10n-base=../../l10n
ac_add_options --with-windows-version=603
ac_add_options --with-branding=browser/branding/nightly

export MOZILLA_OFFICIAL=1
Expand All @@ -15,6 +15,4 @@ export MOZ_TELEMETRY_REPORTING=1
# Bug 1283438
mk_add_options AUTOCLOBBER=

. $topsrcdir/build/win64/mozconfig.vs-latest

. "$topsrcdir/build/mozconfig.common.override"
4 changes: 1 addition & 3 deletions browser/config/mozconfigs/win64/l10n-mozconfig-devedition
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
. "$topsrcdir/browser/config/mozconfigs/common"
. "$topsrcdir/browser/config/mozconfigs/win64/common-win64"
. "$topsrcdir/build/mozconfig.no-compile"

ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-l10n-base=../../l10n
ac_add_options --with-windows-version=603
ac_add_options --with-branding=browser/branding/aurora

export MOZILLA_OFFICIAL=1
Expand All @@ -15,6 +15,4 @@ export MOZ_TELEMETRY_REPORTING=1
# Bug 1283438
mk_add_options AUTOCLOBBER=

. $topsrcdir/build/win64/mozconfig.vs-latest

. "$topsrcdir/build/mozconfig.common.override"
10 changes: 1 addition & 9 deletions build/mozconfig.artifact
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,4 @@
# Enable the artifact build.
ac_add_options --enable-artifact-builds

# Override any toolchain defines we've inherited from other mozconfigs.
unset CC
unset CXX
unset HOST_CC
unset HOST_CXX
unset RUSTC
unset CARGO
unset MAKECAB
unset TOOLCHAIN_PREFIX
. "$topsrcdir/build/mozconfig.no-compile"
11 changes: 11 additions & 0 deletions build/mozconfig.no-compile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ac_add_options --disable-compile-environment

# Override any toolchain defines we've inherited from other mozconfigs.
unset CC
unset CXX
unset HOST_CC
unset HOST_CXX
unset RUSTC
unset CARGO
unset MAKECAB
unset TOOLCHAIN_PREFIX

0 comments on commit 1146465

Please sign in to comment.