Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8b1b6dc authored by Rex Hoffman's avatar Rex Hoffman
Browse files

Set JAVA_HOME for runtime via soong AndroidTest.xml template

The jdk used by Robolectric during tests should always be the ANDROID_JAVA_HOME, as such this change, reads that environment variable from the build, and uses it to set the java_folder via the {EXTRA_CONFIGS} in the build/core/robolectric_test_config_template.xml

Test: atest MyRoboTests and look at the generated xml file
Bug: 372520027

Change-Id: I158eef8d52bef55167f207131139114db9a36691
parent f83bfb1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment