diff options
author | 2025-01-28 06:35:11 +0000 | |
---|---|---|
committer | 2025-01-28 21:16:55 +0000 | |
commit | a8b1b6dc83a89e59f2f8006e0d6b4b143b1c363c (patch) | |
tree | b1aa43fa7696d38d42894ddc135871e092d342cc /rust/compiler.go | |
parent | f83bfb1ef01fc8eb46dfc400dcdefe6713e72306 (diff) |
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
Diffstat (limited to 'rust/compiler.go')
0 files changed, 0 insertions, 0 deletions