tree: 57bb69d33766efe4ebab06a7fd9f9aba5cdd9706 [path history] [tgz]
  1. app/
  2. .gitignore
  3. BUILD.gn
  4. build.gradle
  5. buildscript-gradle.lockfile
  6. gradle.properties
  7. README.md
  8. settings.gradle
testing/scenario_app/android/README.md

Scenario App: Android Tests

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

CI Configuration

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 VersionGraphics BackendSkia GoldRationale
28SkiaAndroid 28 + SkiaOlder Android devices (without ImageReader) on Skia.
28Impeller (OpenGLES)Android 28 + Impeller OpenGLESOlder Android devices (without ImageReader) on Impeller.
34SkiaAndroid 34 + SkiaNewer Android devices on Skia.
34Impeller (OpenGLES)Android 34 + Impeller OpenGLESNewer Android devices on Impeller with OpenGLES.
34Impeller (Vulkan)Android 34 + Impeller VulkanNewer Android devices on Impeller.

Updating Gradle dependencies

See Updating the Embedding Dependencies.