Bug 1098336: Use mozharness debug flag for emulator debug builds.

This commit is contained in:
Wander Lairson Costa 2014-11-26 10:11:36 -08:00
parent 44ef566c22
commit 5260e92b95
2 changed files with 9 additions and 3 deletions

View File

@ -1 +1 @@
0.0.17
0.0.18

View File

@ -18,15 +18,21 @@ fi
OBJDIR="$HOME/object-folder-$B2G_CONFIG-$B2G_DEBUG"
if [ ! -d $OBJDIR ]; then
mkdir -p $OBJDIR
mkdir -p $OBJDIR
fi
if [ ! -d $OBJDIR/B2G ]; then
git clone https://git.mozilla.org/b2g/B2G.git $OBJDIR/B2G
git clone https://git.mozilla.org/b2g/B2G.git $OBJDIR/B2G
fi
debug_flag=""
if [ 0$B2G_DEBUG -ne 0 ]; then
debug_flag='--debug'
fi
./mozharness/scripts/b2g_build.py \
--config b2g/taskcluster-emulator.py \
"$debug_flag" \
--disable-mock \
--work-dir=$OBJDIR/B2G \
--log-level=debug \