platform_build_soong/sdk
Paul Duffin cd06467124 Generate snapshot member list properties from dependencies
Previously, the snapshot member list properties were simply copied from
the sdk variants. That worked because the snapshot member list
properties must include all exported (i.e. visible outside the sdk
snaphot) members and only members explicitly specified in the sdk
member list properties were exported. However, a preceding change
allowed members that were transitively added (and so not explicitly
specified on the sdk) to be exported.

This change ensures that those exported members are added to the
snapshot member properties which means that they will now work properly
with the sdk version mutators.

This does not add tests for this because no existing SdkMemberType
exports its transitive dependencies and there is currently no way to
register an SdkMemberType for testing only. A following change will
exercise this functionality.

Bug: 186290299
Test: m nothing
Change-Id: Iadbdd86f6dcdd183fa99f647222a43d412271501
2021-04-24 22:33:04 +01:00
..
Android.bp Replace boot image with bootclasspath fragment in sdk package 2021-04-21 23:54:17 +01:00
bootclasspath_fragment_sdk_test.go Add exported_bootclasspath_fragments to prebuilt_apex/apex_set 2021-04-23 12:12:37 +01:00
bp.go Handle property structs and BpPropertySets as values to AddProperty. 2020-09-25 00:33:04 +01:00
bp_test.go Replace AssertPanic with AssertPanicMessageContains 2021-03-20 12:08:51 +00:00
cc_sdk_test.go Make order of properties in snapshot module consistent 2021-04-24 16:50:47 +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 java_sdk_library: Make dex stub jars available for hiddenapi 2021-04-16 18:48:20 +01:00
sdk.go Generate snapshot member list properties from dependencies 2021-04-24 22:33:04 +01:00
sdk_test.go Migrate sdk package to a per test build directory 2021-03-18 01:48:25 +00:00
testing.go Add exported_bootclasspath_fragments to prebuilt_apex/apex_set 2021-04-23 12:12:37 +01:00
update.go Generate snapshot member list properties from dependencies 2021-04-24 22:33:04 +01:00