Commit 31959f0a authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! [android] Modify build system

TB 43799: Check we passed the objdir to tba-sign-devbuilds.sh.

When we initially created tba-sign-devbuilds.sh, it was easy to find
the APKs. However, after Bug 1951190, they are inside the obj-*
directory, which can be customized in mozconfig.

So, the easiest way to deal with this, was to ask the caller to provide
that obj directory. Not passing it will very likely make the script
fail, so with this commit we added a check to output a more meaningful
error message.
parent 69d211d0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3,6 +3,10 @@
cd "$(dirname $(realpath "$0"))/.."

objdir=$1
if [ -z "$objdir" ]; then
	echo "Usage $0 objdir"
	exit 1
fi

if [ -z "$APKSIGNER_ARGS" ]; then
	if [ -z "$QA_KEY" ]; then