By moving the checks we can make the function more general, and thereby re-use it for creating subpackages and potentially hostbuild tools packages. tests: building libandroid-support and build-essential.
docker