diff options
author | Roland Levillain <rpl@google.com> | 2019-10-18 19:15:38 +0100 |
---|---|---|
committer | Roland Levillain <rpl@google.com> | 2019-10-22 16:42:53 +0000 |
commit | 3ec9ff6b722febaeacd4f457c7ec92a56845fd81 (patch) | |
tree | 2210c966a8caf597cd0f1c6c5635348fe5c0971c /CleanSpec.mk | |
parent | aa1c6bb4b33b3d62345dd1d24e65e336cde50b9b (diff) | |
download | build-3ec9ff6b722febaeacd4f457c7ec92a56845fd81.tar.gz |
Remove Core Library JARs from `/system/framework`.
These JARs are part of the ART APEX, and are now located in
`/apex/com.android.art/javalib`. Remove the supernumerary copies in
`/system/framework` and save ~11 MiB on the system partition.
(cherry picked from commit d4f09f77520f914bbd5d53ded9ac6188b2cd31b5)
Test: Device boot test
Bug: 142944799
Change-Id: Ia6f58d858ecdb80c9701696b8f20d5fa2de0c2c7
Merged-In: Ia6f58d858ecdb80c9701696b8f20d5fa2de0c2c7
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r-- | CleanSpec.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk index 8219afcd0d..97fea05e51 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -681,6 +681,10 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/apex) # Migrate preopt files to system_other for some devices $(call add-clean-step, rm -rf $(PRODUCT_OUT)/*/*app/*/oat) +# Remove Android Core Library artifacts from the system partition, now +# that they live in the ART APEX (b/142944799). +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework/*.jar) + # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST # ************************************************ |