platform_build_soong/sdk
Paul Duffin 191be3a186 Retry: Separate hidden API flags needed in sdk snapshots for S and T
Previous change that was reverted: https://r.android.com/1835222
An additional test was added that revealed a bug in the previous change
which has been fixed here.

Previously, the behavior of the stub_flags and all_flags properties
was different between S and T. In S they contained paths for the
complete set of stub flags and all the encoded flags. However, in T
they contained filtered sets of flags which if used in S would prevent
build checks from detecting possible inconsistencies. Also, a new
signature_patterns property was added in T that is not supported in S.

This change creates separate properties/files for T and reverts the
behavior of the properties/files that were added in S back to how they
behaved in S. The new properties are called filtered_stub_flags and
filtered_flags.

The S and T properties are tagged with the appropriate
supported_build_releases tag to ensure that they are only output when
specifically targeted.

Bug: 197842263
Test: m nothing
Change-Id: I1ce0a3d6623dabf73e32af1a7457b9b444fc3b7c
2021-10-05 15:27:42 +01:00
..
Android.bp Support handling build releases in sdk snapshot 2021-10-01 17:17:34 +01:00
bootclasspath_fragment_sdk_test.go Retry: Separate hidden API flags needed in sdk snapshots for S and T 2021-10-05 15:27:42 +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
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 Retry: Separate hidden API flags needed in sdk snapshots for S and T 2021-10-05 15:27:42 +01:00
systemserverclasspath_fragment_sdk_test.go Generate prebuilt_systemserverclasspath_fragment. 2021-09-30 10:06:24 +00:00
testing.go Retry: Support generating sdk snapshot for specific build release 2021-10-04 10:28:31 +01:00
update.go Retry: Support generating sdk snapshot for specific build release 2021-10-04 10:28:31 +01:00