Add Soong module definitions for ART run-tests with default build rules.
Introduce new Bash script `test/utils/regen-test-files` and use it
to generate a set of initial Soong module definitions for some ART
run-tests matching these conditions:
1. using default build rules (defined in `test/etc/default-build`), as
per the `test/run-test` script;
2. consisting only of Java source files contained in their `src`
directory;
3. containing no additional build complexity.
Also disable ErrorProne checks for ART run-tests on `errorprone`
builds.
Test: m $(find art/test \
-regextype egrep \
-regex 'art/test/[0-9]{3,}-.*/Android.bp' \
-printf '%P\n' \
| sed -r 's,(.*)/Android.bp,art-run-test-\1,' \
| sort)
Test: m javac-check $(find art/test \
-regextype egrep \
-regex 'art/test/[0-9]{3,}-.*/Android.bp' \
-printf '%P\n' \
| sed -r 's,(.*)/Android.bp,art-run-test-\1,' \
| sort) RUN_ERROR_PRONE=true
Bug: 147814778
Change-Id: Ife6b045a88bd18b06a3fc202f3d226e27e0fc03d
615 files changed