aboutsummaryrefslogtreecommitdiffstats
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-04-08 11:26:11 -0700
committerTianjie Xu <xunchang@google.com>2019-04-16 19:25:23 +0000
commit2f8afba7073e6339287ba48b9af5a8868613e409 (patch)
tree7938f147cf226de7a4703be2fdc28a17eba13e12 /CleanSpec.mk
parent7df2da5948d7751385b193bdc6e85a8e8b721536 (diff)
downloadandroid_bootable_recovery-2f8afba7073e6339287ba48b9af5a8868613e409.tar.gz
android_bootable_recovery-2f8afba7073e6339287ba48b9af5a8868613e409.tar.bz2
android_bootable_recovery-2f8afba7073e6339287ba48b9af5a8868613e409.zip
DO NOT MERGE: Build libinstall as a static library.
It was once considered to be shared between recovery and minadbd, so that the latter can start an install on its own. The plan has been changed, since package install -- including device wipe operations -- could be device-specific, which should be done by recovery only. This CL moves libinstall back to a static library, which also saves the overall size (reducing from 140256 + 660576 to 555880 bytes on aosp_taimen-userdebug). Bug: 130166585 Test: Run recovery_component_test. Test: `adb sideload` on taimen. Change-Id: Ib1f5f79f235df4682c0bd104425c9c122f6091ba
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r--CleanSpec.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk
index fec823e7..a7ab0d9b 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -44,9 +44,13 @@
#$(call add-clean-step, find $(OUT_DIR) -type f -name "IGTalkSession*" -print0 | xargs -0 rm -f)
#$(call add-clean-step, rm -rf $(PRODUCT_OUT)/data/*)
-# ************************************************
-# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
-# ************************************************
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/EXECUTABLES/recovery_intermediates)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/STATIC_LIBRARIES/libminui_intermediates/import_includes)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/sbin)
+
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libinstall.recovery_intermediates)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/system/lib64/libinstall.so)
+
+# ************************************************
+# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
+# ************************************************