platform_build_soong/sdk
Paul Duffin 1364891fad Use implementation jar for updatable-media in snapshot for S
While enabling prebuilts in T we hit b/229932396 which was caused by
some parts of the build depending on the prebuilt updatable-media jar
which used to be a full implementation jar but which is now an invalid
jar as the snapshot must not be including implementation details. We
fixed the issue in T but we are hitting the same problem in S with the
M-2022-07.

That is the first train in which the prebuilt updatable-media module
provides an invalid jar, prior to that it was always providing an
implementation jar. This change tweaks the sdk snapshot generation
code to use an implementation jar for updatable-media in the S
snapshot to avoid partners having to cherry pick changes similar to
those needed to fix b/229932396 in T.

Bug: 239121291
Test: packages/modules/common/build/mainline_modules_sdks.sh
      # Check that S media snapshot includes implementation jar.
      # Check that S art snapshot includes invalid jar.
      # Check that T media snapshot includes invalid jar.
Change-Id: Ib49484d00a60b4ed7f8268e04f9c10a3498edb56
2022-07-15 17:23:10 +00:00
..
Android.bp Support handling build releases in sdk snapshot 2021-10-01 17:17:34 +01:00
bootclasspath_fragment_sdk_test.go Add apexes property to sdk 2022-07-06 15:58:43 +00:00
bp.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
bp_test.go Replace AssertPanic with AssertPanicMessageContains 2021-03-20 12:08:51 +00:00
build_release.go Use implementation jar for updatable-media in snapshot for S 2022-07-15 17:23:10 +00:00
build_release_test.go Use Tiramisu instead of T in supported_build_releases 2022-02-10 13:06:54 +00:00
cc_sdk_test.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
compat_config_sdk_test.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
exports.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
exports_test.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
java_sdk_test.go Use implementation jar for updatable-media in snapshot for S 2022-07-15 17:23:10 +00:00
license_sdk_test.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00: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 Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
member_type.go Removes usages of SdkMemberTrait/TypeRegistry outside android/sdk.go 2021-09-23 11:37:57 +01:00
sdk.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
sdk_test.go bootclasspath_fragment: Require at least one hidden_api package property 2022-05-27 16:27:50 +01:00
systemserverclasspath_fragment_sdk_test.go Add apexes property to sdk 2022-07-06 15:58:43 +00:00
testing.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
update.go Use implementation jar for updatable-media in snapshot for S 2022-07-15 17:23:10 +00:00