fune/taskcluster/scripts/misc/build-gn-win64.sh
Mike Hommey 35dc22eaac Bug 1773223 - Turn gn into local toolchains. r=firefox-build-system-reviewers,ahochheiden
- Because we don't have a native arm64 mac one, alias the x86_64 one.
- Because we always compress with zstd, don't pretend the main script
  has any power on the compression (which was wrong for Windows).

Differential Revision: https://phabricator.services.mozilla.com/D149204
2022-06-15 07:06:06 +00:00

16 lines
380 B
Bash
Executable file

#!/bin/bash
set -e -v -x
# This script is for building GN on Windows.
UPLOAD_DIR=$PWD/public/build
cd $GECKO_PATH
export PATH="$(cd $MOZ_FETCHES_DIR && pwd)/ninja/bin:$PATH"
export PATH="$(cd $MOZ_FETCHES_DIR && pwd)/mingw64/bin:$PATH"
. taskcluster/scripts/misc/vs-setup.sh
. taskcluster/scripts/misc/build-gn-common.sh
. $GECKO_PATH/taskcluster/scripts/misc/vs-cleanup.sh