diff options
| author | 2025-01-28 06:34:51 +0000 | |
|---|---|---|
| committer | 2025-01-28 14:12:22 +0000 | |
| commit | 041e78342a46f0f0fe4f5a0499139934adc0f7e2 (patch) | |
| tree | 76546a2c9f3ddf3b1437258a9e0712da46cef2b7 /tools/warn/java_warn_patterns.py | |
| parent | 3617bc1fc20beaff6de5ed7c272b69e434ec3ef1 (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: Ie63da8602224279f7920c124762cfc29f714c7e1
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions