platform_build_soong/apex
Paul Duffin 8f146b99e6 prebuilt_apex created ApexInfo must not include prebuilt_ prefix
As part of the work to modularize the hiddenAPI processing the
generation of the monolithic hidden API index file needs to be moved
to the platform_bootclasspath module type. Doing that broke the
TestBootDexJarsFromSourcesAndPrebuilts tests which checks the inputs to
the rule that creates that file. Fixing that required added a
platform_bootclasspath module to the test fixture for those tests which
highlighted an issue with the prebuilt_apex module.

Previously, when the prebuilt_apex created apex variants it would use
its own name as the apex variant name, even when that name included the
prebuilt_ prefix. That broke the platform_bootclasspath logic as it was
looking for apex variants for "myapex" but the only ones available were
"prebuilt_myapex".

This change ensures that it always uses the unprefixed name and fixes
the TestNoUpdatableJarsInBootImage to match. This also adds some
improved error reporting in platform_bootclasspath which helped debug
this problem.

Bug: 177892522
Test: m nothing
Change-Id: I3e88b5cec767f77dcc0e94b3ae38b499d07eadf0
2021-04-13 19:15:27 +01:00
..
Android.bp Add dependencies from platform_bootclasspath to contents 2021-04-08 18:53:04 +01:00
androidmk.go Support paths for init_rc from Soong. 2021-04-07 16:26:55 -04:00
apex.go Shared lib dependencies from rlib are included in APEX 2021-04-08 18:20:39 +09:00
apex_singleton.go Treat allowed_deps.txt source file as optional. 2021-03-18 11:15:33 +00:00
apex_test.go prebuilt_apex created ApexInfo must not include prebuilt_ prefix 2021-04-13 19:15:27 +01:00
boot_image_test.go Improve realism of boot jar tests 2021-04-13 14:48:34 +01:00
builder.go Move java.sdkSpec to the android package 2021-04-03 08:25:12 +09:00
deapexer.go Separate apex selection from apex.Prebuilt 2021-04-07 10:11:10 +01:00
key.go Extract apex registration code into function for reuse 2021-03-09 23:03:40 +00:00
OWNERS Move allowed_deps.txt to packages/modules/common. 2021-03-17 13:44:16 +00:00
platform_bootclasspath_test.go Improve realism of boot jar tests 2021-04-13 14:48:34 +01:00
prebuilt.go prebuilt_apex created ApexInfo must not include prebuilt_ prefix 2021-04-13 19:15:27 +01:00
TEST_MAPPING Add TEST_MAPPING for build/soong/apex 2019-08-07 17:33:24 +09:00
testing.go Disallow non-existent paths in sdk package 2021-03-25 12:53:22 +00:00
vndk.go Remove global state from VNDK apexes 2021-03-02 12:23:16 -08:00
vndk_test.go Don't use incorrect version names like VER or BOARD even in tests 2021-04-05 09:32:06 +09:00