As mentioned in the top-level README, this directory contains the Android-specific native code and tests for the scenario app. To run the tests, you will need to build the engine with the appropriate configuration.
For example, android_debug_unopt
or android_debug_unopt_arm64
was built, run:
# From the root of the engine repository $ ./testing/scenario_app/run_android_tests.sh android_debug_unopt # Or, for arm64 $ ./testing/scenario_app/run_android_tests.sh android_debug_unopt_arm64
See ci/builders/linux_android_emulator.json
, and grep for run_android_tests.sh
.
The following matrix of configurations is tested on the CI:
API Version | Graphics Backend | Skia Gold | Rationale |
---|---|---|---|
28 | Skia | Android 28 + Skia | Older Android devices (without ImageReader ) on Skia. |
28 | Impeller (OpenGLES) | Android 28 + Impeller OpenGLES | Older Android devices (without ImageReader ) on Impeller. |
34 | Skia | Android 34 + Skia | Newer Android devices on Skia. |
34 | Impeller (OpenGLES) | Android 34 + Impeller OpenGLES | Newer Android devices on Impeller with OpenGLES. |
34 | Impeller (Vulkan) | Android 34 + Impeller Vulkan | Newer Android devices on Impeller. |