Fix platform_compat-test-rules under Java language level 9.
This java_library_static (introduced in https://r.android.com/1113075)
builds classes which are in the Java module java.base. To avoid a
split packages error when building with Java language level 9, it
needs a patch_module attribute. (This seems appropriate since it these
are rules for testing code that is in java.base.)
Test: EXPERIMENTAL_JAVA_LANGUAGE_LEVEL_9=true make platform_compat-test-rules
Bug: 115604102
Change-Id: I966751cc6d90ab97a67b2144ab0c787ab11c4f09
1 file changed