platform_build_soong/sdk
Paul Duffin ef2df587be Support generating sdk snapshot for specific build release
Previously, the sdk snapshot was assumed to be generated for the
current build system. This change adds support for the
SOONG_SDK_SNAPSHOT_TARGET_BUILD_RELEASE environment variable which can
be used to select the target build release in which the generated
snapshot will be used.

At the moment this will only affect the properties that are output but
if/when it becomes necessary it can also be used to control more
aspects of the snapshots such as supported member types or even
members.

This change does not modify any properties that are build release
specific. That will come in following changes. However, it does add a
test that targets build release S which defines a baseline for
properties that will be affected in following changes. That baseline
makes it easier to see the effect of those follow up changes.

Bug: 197842263
Test: m nothing
Change-Id: I5cfde5e9e86af522b0d5030d301e116b0233fd62
2021-10-01 17:27:03 +01:00
..
Android.bp Support handling build releases in sdk snapshot 2021-10-01 17:17:34 +01:00
bootclasspath_fragment_sdk_test.go Remove updatable-bcp-packages.txt. 2021-09-24 03:19:05 +00: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
build_release.go Support pruning properties by build release 2021-10-01 17:17:40 +01:00
build_release_test.go Support pruning properties by build release 2021-10-01 17:17:40 +01:00
cc_sdk_test.go Add ramdisk image sdk trait to cc_library_headers 2021-09-25 10:17:31 +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 a new SDK member type java_systemserver_libs. 2021-09-30 10:06:24 +00:00
license_sdk_test.go Add package module to sdk snapshot that contains licenses 2021-05-11 08:38:30 +01:00
member_trait.go Removes usages of SdkMemberTrait/TypeRegistry outside android/sdk.go 2021-09-23 11:37:57 +01:00
member_trait_test.go Add support to sdk/module_exports to specify required traits 2021-09-23 11:37:51 +01:00
member_type.go Removes usages of SdkMemberTrait/TypeRegistry outside android/sdk.go 2021-09-23 11:37:57 +01:00
sdk.go Removes usages of SdkMemberTrait/TypeRegistry outside android/sdk.go 2021-09-23 11:37:57 +01:00
sdk_test.go Support generating sdk snapshot for specific build release 2021-10-01 17:27:03 +01:00
systemserverclasspath_fragment_sdk_test.go Generate prebuilt_systemserverclasspath_fragment. 2021-09-30 10:06:24 +00:00
testing.go Support generating sdk snapshot for specific build release 2021-10-01 17:27:03 +01:00
update.go Support generating sdk snapshot for specific build release 2021-10-01 17:27:03 +01:00