3302871b7d
This change adds a test for an sdk that includes a java_sdk_library directly as well as transitively includes one of the component modules that it creates. It also adds a test for the names of a versioned java_sdk_library_import's components as fixing one requires fixing the other. The use case added is one that does occur in the art-module-sdk. It has a couple of pairs of java_sdk_library and java_system_modules that cause both the java_sdk_library and one of its component modules to be included in the sdk snapshot. That causes problems when building against prebuilts. e.g. The art-module-sdk_art.module.public.api.stubs module is a duplicate of the art.module.public.api.stubs module created by the art.module.public.api java_sdk_library_import. The former is added because the art-module-public-api-stubs-system-modules depends on it. A follow up change will avoid the component being added to the sdk snapshot separately and instead cause the snapshot to use the component created by the java_sdk_library_import in the snapshot. Bug: 179354495 Test: m nothing Change-Id: Ifdc1b4a5a7968db2ded3fdb7eb02f9cff77c7c3f |
||
---|---|---|
.. | ||
Android.bp | ||
bootclasspath_fragment_sdk_test.go | ||
bp.go | ||
bp_test.go | ||
cc_sdk_test.go | ||
compat_config_sdk_test.go | ||
exports.go | ||
exports_test.go | ||
java_sdk_test.go | ||
license_sdk_test.go | ||
sdk.go | ||
sdk_test.go | ||
testing.go | ||
update.go |