1#!/bin/bash
2set -e
3cd "$(dirname $0)"
4
5# Builds all projects that support KMP except for Compose-specific projects which are already
6# covered by androidx_compose_multiplatform.sh.
7
8# Must be run on Linux
9
10# build just INFRAROGUE projects. This will also enable native targets.
11export ANDROIDX_PROJECTS=INFRAROGUE   # TODO: Switch from `INFRAROGUE` to `KMP`
12
13# disable cache, NS does not allow it yet: b/235227707
14export USE_ANDROIDX_REMOTE_BUILD_CACHE=false
15
16# run build in a sandbox
17../development/sandbox/run-without-network.sh impl/build.sh \
18    buildOnServer \
19    listTaskOutputs \
20    allHostTests \
21    -Pandroidx.ignoreTestFailures \
22    -Pandroidx.displayTestOutput=false
23