diff options
| author | 2022-01-11 14:35:55 +0000 | |
|---|---|---|
| committer | 2022-01-11 14:47:38 +0000 | |
| commit | 53a70a4870067b68cdad71ff9bbd03db545086c5 (patch) | |
| tree | 81bed0a50c62d836ea86cc9aa8d1f7637fdd4409 /java/java_test.go | |
| parent | fe306aba98780d495601e29a54055db868f57182 (diff) | |
Prevent using android_app_import in instrumentation_for property
Previously, referencing a prebuilt android_app_import in an
android_test's instrumentation_for property instead of the source
android_app module (e.g. because the prebuilt is preferred) could
result in compilation errors if the android_test sources depended on
classes from the app. That is because while the android_app provides a
classes jar file to be added to the android_test's classpath the
android_app_import does not.
This change reports that situation as an error.
Bug: 207128192
Test: m nothing
Change-Id: I26ea90e7a3f57707fc0c094e0d8b8dc9a9e135ac
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions