mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
c43a4bf584
Things just got too hard for B2G people to change build scripts, so we are backing out this. --HG-- extra : commitid : 16CKTLSAi3B
30 lines
733 B
Bash
Executable File
30 lines
733 B
Bash
Executable File
#! /bin/bash -vex
|
|
|
|
. pre-build.sh
|
|
|
|
if [ $TARGET == "aries" -o $TARGET == "shinano" ]; then
|
|
# caching objects might be dangerous for some devices (aka aries)
|
|
rm -rf $gecko_objdir
|
|
rm -rf $WORKSPACE/B2G/out
|
|
fi
|
|
|
|
MOZHARNESS_CONFIG=${MOZHARNESS_CONFIG:=b2g/taskcluster-phone.py}
|
|
|
|
rm -rf $WORKSPACE/B2G/upload/
|
|
|
|
$WORKSPACE/gecko/testing/mozharness/scripts/b2g_build.py \
|
|
--config $MOZHARNESS_CONFIG \
|
|
"$debug_flag" \
|
|
--disable-mock \
|
|
--variant=$VARIANT \
|
|
--work-dir=$WORKSPACE/B2G \
|
|
--gaia-languages-file locales/languages_all.json \
|
|
--log-level=debug \
|
|
--target=$TARGET \
|
|
--b2g-config-dir=$TARGET \
|
|
--checkout-revision=$GECKO_HEAD_REV \
|
|
--repo=$WORKSPACE/gecko \
|
|
--gecko-objdir=$gecko_objdir
|
|
|
|
. post-build.sh
|