#!/bin/bash set -e -v # This is shared code for building GN. cd $MOZ_FETCHES_DIR/gn if test -n "$MAC_CROSS"; then python3 build/gen.py --platform darwin --no-last-commit-position else python3 build/gen.py --no-last-commit-position fi cat > out/last_commit_position.h < gn.tar.zst cp gn.tar.zst $UPLOAD_DIR