platform_build_soong/sdk
Paul Duffin 3302871b7d Add test for sdk that contains overlapping members
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
2021-06-22 16:07:27 +01:00
..
Android.bp Add baseline test for license with sdk 2021-05-11 08:24:59 +01:00
bootclasspath_fragment_sdk_test.go Fix monolithic hidden API processing with prebuilts 2021-06-20 19:09:09 +01:00
bp.go Add support for name-less modules and property comments 2021-05-11 01:00:12 +01:00
bp_test.go Replace AssertPanic with AssertPanicMessageContains 2021-03-20 12:08:51 +00:00
cc_sdk_test.go Make sdk tests more realistic 2021-05-06 23:13:06 +01:00
compat_config_sdk_test.go Filter duplicate modules in platform_compat_config_singleton 2021-03-25 12:53:25 +00:00
exports.go Extract sdk registration code into function for reuse 2021-03-09 23:03:45 +00:00
exports_test.go Migrate sdk tests away from checkAndroidBpContents 2021-04-16 18:48:20 +01:00
java_sdk_test.go Add test for sdk that contains overlapping members 2021-06-22 16:07:27 +01:00
license_sdk_test.go Add package module to sdk snapshot that contains licenses 2021-05-11 08:38:30 +01:00
sdk.go Allow an sdk member type not to provide a bp property 2021-05-11 01:00:06 +01:00
sdk_test.go Add SOONG_SDK_SNAPSHOT_VERSION support 2021-05-12 22:14:32 +01:00
testing.go Add SOONG_SDK_SNAPSHOT_VERSION support 2021-05-12 22:14:32 +01:00
update.go Add SOONG_SDK_SNAPSHOT_VERSION support 2021-05-12 22:14:32 +01:00