Commit 9c1ba8e0 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Android: allow applications to simply provide a target name

parent 4a4957d0
......@@ -48,7 +48,8 @@ git clone kde:$package $APP_GIT_EXTRA || true
popd
manifestFile=`find $(pwd)/src/$package -name AndroidManifest.xml`
if [ -n "$manifestFile" ]
targetname=$(python3 ci-tooling/helpers/getsetting.py --project $package --product Applications --platform AndroidQt5.11 --key target-name)
if [[ -z "$targetname" && -n "$manifestFile" ]]
then
targetname=`python3 $DIR/target-from-manifest.py $manifestFile | tr '\n' ';' | head -c -1`
EXTRA+=-DANDROID_APK_DIR=$(dirname $manifestFile | tr '\n' ';' | head -c -1 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment