Skip to content

Commit

Permalink
Bug 1478995 - Add node toolchain path to automation mozconfigs, r=gps
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: 37gYPLYJD85

--HG--
extra : rebase_source : a0b1cb598eeb852b7df1912a94a085d31862c86f
  • Loading branch information
Dan Mosedale committed Jun 1, 2018
1 parent d2201e2 commit 9fc855e
Show file tree
Hide file tree
Showing 19 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions browser/config/mozconfigs/linux32/l10n-mozconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,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
ac_add_options --disable-nodejs

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,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
ac_add_options --disable-nodejs

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

Expand Down
2 changes: 2 additions & 0 deletions browser/config/mozconfigs/linux64/hazards
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ CFLAGS="$CFLAGS -Wno-attributes"
CPPFLAGS="$CPPFLAGS -Wno-attributes"
CXXFLAGS="$CXXFLAGS -Wno-attributes"

NODEJS="$TOOLTOOL_DIR/node/bin/node"

. "$topsrcdir/build/mozconfig.common.override"
1 change: 1 addition & 0 deletions browser/config/mozconfigs/linux64/l10n-mozconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-branding=browser/branding/nightly

. "$topsrcdir/build/mozconfig.no-compile"
ac_add_options --disable-nodejs

export MOZILLA_OFFICIAL=1

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

. "$topsrcdir/build/mozconfig.no-compile"
ac_add_options --disable-nodejs

export MOZILLA_OFFICIAL=1

Expand Down
2 changes: 2 additions & 0 deletions browser/config/mozconfigs/linux64/plain-opt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ RUSTC="${TOOLTOOL_DIR}/rustc/bin/rustc"
RUSTDOC="${TOOLTOOL_DIR}/rustc/bin/rustdoc"
RUSTFMT="${TOOLTOOL_DIR}/rustc/bin/rustfmt"

export NODEJS="${TOOLTOOL_DIR}/node/bin/node"

CC="${TOOLTOOL_DIR}/gcc/bin/gcc"
CXX="${TOOLTOOL_DIR}/gcc/bin/g++"

Expand Down
3 changes: 3 additions & 0 deletions browser/config/mozconfigs/macosx64/l10n-mozconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ ac_add_options --with-l10n-base=../../l10n
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-branding=browser/branding/nightly

ac_add_options --disable-nodejs
unset NODEJS

export MOZILLA_OFFICIAL=1

# Enable Telemetry
Expand Down
3 changes: 3 additions & 0 deletions browser/config/mozconfigs/macosx64/l10n-mozconfig-devedition
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ ac_add_options --with-l10n-base=../../l10n
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-branding=browser/branding/aurora

ac_add_options --disable-nodejs
unset NODEJS

if test "${MOZ_UPDATE_CHANNEL}" = "nightly"; then
ac_add_options --with-macbundlename-prefix=Firefox
fi
Expand Down
1 change: 1 addition & 0 deletions browser/config/mozconfigs/macosx64/repack
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
export MKFSHFS=$topsrcdir/hfsplus-tools/newfs_hfs
export DMG_TOOL=$topsrcdir/dmg/dmg
export HFS_TOOL=$topsrcdir/dmg/hfsplus
export NODEJS=$topsrcdir/node/bin/node
ac_add_options --disable-compile-environment
3 changes: 3 additions & 0 deletions browser/config/mozconfigs/win32/l10n-mozconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-l10n-base=../../l10n
ac_add_options --with-branding=browser/branding/nightly

ac_add_options --disable-nodejs
unset NODEJS

export MOZILLA_OFFICIAL=1

# Enable Telemetry
Expand Down
3 changes: 3 additions & 0 deletions browser/config/mozconfigs/win32/l10n-mozconfig-devedition
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-l10n-base=../../l10n
ac_add_options --with-branding=browser/branding/aurora

ac_add_options --disable-nodejs
unset NODEJS

export MOZILLA_OFFICIAL=1

# Enable Telemetry
Expand Down
3 changes: 3 additions & 0 deletions browser/config/mozconfigs/win64/l10n-mozconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-l10n-base=../../l10n
ac_add_options --with-branding=browser/branding/nightly

ac_add_options --disable-nodejs
unset NODEJS

export MOZILLA_OFFICIAL=1

# Enable Telemetry
Expand Down
3 changes: 3 additions & 0 deletions browser/config/mozconfigs/win64/l10n-mozconfig-devedition
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
ac_add_options --with-l10n-base=../../l10n
ac_add_options --with-branding=browser/branding/aurora

ac_add_options --disable-nodejs
unset NODEJS

export MOZILLA_OFFICIAL=1

# Enable Telemetry
Expand Down
2 changes: 2 additions & 0 deletions browser/config/mozconfigs/win64/plain-opt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ CARGO="${TOOLTOOL_DIR}/rustc/bin/cargo"
RUSTDOC="${TOOLTOOL_DIR}/rustc/bin/rustdoc"
RUSTFMT="${TOOLTOOL_DIR}/rustc/bin/rustfmt"

NODEJS="${TOOLTOOL_DIR}/node/node.exe"

ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32

Expand Down
1 change: 1 addition & 0 deletions build/mozconfig.common
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ MOZ_REQUIRE_SIGNING=${MOZ_REQUIRE_SIGNING-0}

ac_add_options --enable-js-shell

. "$topsrcdir/build/mozconfig.node"
. "$topsrcdir/build/mozconfig.automation"
. "$topsrcdir/build/mozconfig.rust"
. "$topsrcdir/build/mozconfig.cache"
12 changes: 12 additions & 0 deletions build/mozconfig.node
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 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/.

case "$(uname -s)" in
MINGW*)
export NODEJS=$topsrcdir/node/node.exe
;;
*)
export NODEJS=$topsrcdir/node/bin/node
;;
esac
2 changes: 2 additions & 0 deletions mobile/android/config/mozconfigs/android-aarch64/l10n-nightly
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ mk_add_options AUTOCLOBBER=

# Global options
ac_add_options --disable-tests
ac_add_options --disable-nodejs
unset NODEJS

ac_add_options --enable-updater
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
Expand Down
2 changes: 2 additions & 0 deletions mobile/android/config/mozconfigs/android-api-16/l10n-nightly
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ mk_add_options AUTOCLOBBER=

# Global options
ac_add_options --disable-tests
ac_add_options --disable-nodejs
unset NODEJS

ac_add_options --enable-updater
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
Expand Down
2 changes: 2 additions & 0 deletions mobile/android/config/mozconfigs/android-x86/l10n-nightly
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ mk_add_options AUTOCLOBBER=

# Global options
ac_add_options --disable-tests
ac_add_options --disable-nodejs
unset NODEJS

ac_add_options --enable-updater
ac_add_options --enable-update-channel=${MOZ_UPDATE_CHANNEL}
Expand Down

0 comments on commit 9fc855e

Please sign in to comment.