Allow building against prerelease prebuilt APEXes
Generally, when building system images from prebuilt APEXes the APEXes should be released versions and the build ensures that is the case when extracting .apex files from prebuilt .apks files. However, it is useful to test building against prebuilt APEXes before finalization to flush out any issues early on. Previously, the build would fail in that case. This change adds support for using the SOONG_ALLOW_PRERELEASE_APEXES environment variable to allow prerelease APEXes to be suppported. Bug: 259958590 Test: m MODULE_BUILD_FROM_SOURCE=false droid # Above fails because it could not find non-prelease APEXes in the # prebuilt .apks files. m SOONG_ALLOW_PRERELEASE_APEXES=true MODULE_BUILD_FROM_SOURCE=false droid # Above works. Change-Id: I20b8e5db0b9fd2a21434be25652195fae929bd3f
Loading
Please register or sign in to comment