android/ci: preparatory changes for testing mesa under Android using cuttlefish
This MR collects some preparatory changes for testing mesa under Android using cuttlefish.
This work will be used in future jobs to spot regressions when running mesa under Android.
The change to enable the jobs will looks like ao2/mesa!7 (closed)
The tests use the Android cuttlefish virtual device and:
- use prebuilt llvm libraries for Android which are needed to build the llvmpipe driver for Android
- use prebuilt cuttlefish images that support llvmpipe, virgl, and venus GPU modes
For the curios, the cuttlefish image is built by using upstream mesa in the AOSP tree, and integrating some other changes, like shown on ao2/aosp-manifest!2 (diffs)
TODO for the MR
-
Build the cuttlefish images in a CI job and upload to S3, this is being addressed in !31043 (closed) -
Get the cuttlefish images from and S3 bucket -
Build the llvm libraries from Android in a CI job and upload to S3, this is being addressed in !31093 (merged) -
Get the prebuilt llvm libraries for Android from an S3 bucket
Edited by Antonio Ospite