platform_build_soong/sdk
Paul Duffin f23bc472b0 Move configuration checks from getBootImageJar
The getBootImageJar function will be removed once the boot image
creation has been moved to the platform_bootclasspath and
bootclasspath_fragment module types. However, the consistency checks
that it performs are still useful so this change moves them out
first.

The ART boot image related checks are now performed in the
bootclasspath_fragment module type. A previous change accidentally
disabled the checks when the contents property was not empty which has
been fixed. Also, the error messages have been tweaked to make it clear
that the art-bootclasspath-fragment is now the source of truth as to
its contents not the configuration.

The framework boot image related checks are now performed in the
platform_bootclasspath module type.

Initially, this change included an extra check to make sure that
UpdatableBootJars comes from updatable APEXes but that broke because
framework-wifi and framework-tethering are not currently marked as
updatable in AOSP.

Bug: 177892522
Test: m nothing
Change-Id: I80fb600fa2c7cec4566b3461c6a33c4c6f0743f4
2021-04-30 12:06:28 +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 Move configuration checks from getBootImageJar 2021-04-30 12:06:28 +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 Pass module to SdkMemberTypeDependencyTag.SdkMemberType 2021-04-27 23:23:20 +01:00