Commit e4ec3809 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

android: when building dependencies, check if they are building build deps

And if so, build them against the host system
parent c8a4485b
Pipeline #2200 skipped with stage
......@@ -19,3 +19,19 @@ fi
arguments=$(python3 ci-tooling/helpers/ --project $project --product $product --platform AndroidQt5.12 --key cmake-options)
build-cmake $project kde:$project $arguments $@
set +e
grep ToolsTargets.cmake$ build/$project/install_manifest.txt > /dev/null
set -e
if [ $hasTools -eq 0 ]; then
all_packages=$(python3 ci-tooling/helpers/ --withProject $project --platform AndroidQt5.12)
echo "Dependencies to build for native $project: $all_packages"
for a in $all_packages; do
BUILD=build-native build-cmake-native $a kde:$a -DCMAKE_INSTALL_PREFIX=/opt/nativetooling -DCMAKE_PREFIX_PATH=/opt/kdeandroid-deps/ -DBUILD_TESTING=OFF -DQt5_DIR=/opt/nativetooling/lib/cmake/Qt5 -DKCONFIG_USE_GUI=OFF -DQt5Core_DIR=/opt/nativetooling/lib/cmake/Qt5Core -DQt5Qml_DIR=/opt/nativetooling/lib/cmake/Qt5Qml -DCMAKE_DISABLE_FIND_PACKAGE_Qt5Widgets=ON
echo "No tooling $hasTools"
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