summaryrefslogtreecommitdiffstats
path: root/taskcluster/scripts/misc/build-gn-win64.sh
blob: 3ecd71fc74b778ce287725dd9177793aaf6ae802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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