summaryrefslogtreecommitdiff
path: root/java/systemserver_classpath_fragment.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-06-02 17:24:22 +0100
committer Paul Duffin <paulduffin@google.com> 2021-06-10 14:28:10 +0100
commit5f148ca7cf2e9a9478922577b7ed70b1caacb55e (patch)
tree78ccb6689bac65eec7f8d08bc2329d9092512de9 /java/systemserver_classpath_fragment.go
parentbff50e2b803ede32c9b17b6b7bf3054424703bf5 (diff)
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
Diffstat (limited to 'java/systemserver_classpath_fragment.go')
0 files changed, 0 insertions, 0 deletions