platform_build_soong/apex
Paul Duffin 5f148ca7cf Make copyBootJarsToPredefinedLocations simpler and less fragile
Previously, copyBootJarsToPredefinedLocations relied on all its
parameters having the same length and the same order. That made it
quite fragile as changes to one of the parameters without corresponding
changes to the other would cause failures. It also combined the
retrieval of the boot dex jars from the modules, handling of missing
boot dex jar files and the generation of the rules to copy the files.

This change separates the retrieval of boot dex jars and handling of
missing files from the copying of those files while at the same time
making the function less fragile by replacing the three ordered
parameters with two maps that shared common keys.

Bug: 179354495
Test: m nothing
Change-Id: Idbcd24a7e8af89f7895a20aeddc58502dcbaad03
2021-06-10 14:28:10 +01:00
..
Android.bp Add systemserverclasspath_fragments property to apex. 2021-05-17 21:46:08 +01:00
androidmk.go Ignore cc.Module.HideFromMake when producing flattened apex Android.mk entries 2021-04-29 13:54:49 -07:00
apex.go Move logic to disable flattening in unbundled app mode from Soong to 2021-05-25 00:28:27 +01:00
apex_singleton.go Treat allowed_deps.txt source file as optional. 2021-03-18 11:15:33 +00:00
apex_test.go Make copyBootJarsToPredefinedLocations simpler and less fragile 2021-06-10 14:28:10 +01:00
bootclasspath_fragment_test.go Merge "Rename generate proto config file to match classpath type." 2021-05-25 14:17:04 +00:00
builder.go Use fingerprint when min_sdk is current or none 2021-05-27 14:28:27 -04:00
deapexer.go Generalize deapexer module to export any files 2021-05-10 14:26:37 +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 Make TestPlatformBootclasspath_Fragments more realistic 2021-06-10 12:36:43 +01:00
prebuilt.go Drop "prebuilt_" prefixes from names registered in ApexInfo.InApexXxx. 2021-05-26 17:05:17 +01:00
systemserver_classpath_fragment_test.go Rename generate proto config file to match classpath type. 2021-05-24 12:52:01 +01:00
TEST_MAPPING Add TEST_MAPPING for build/soong/apex 2019-08-07 17:33:24 +09:00
testing.go bootclasspath_fragment: Add contents to snapshot 2021-04-21 23:54:22 +01: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