summaryrefslogtreecommitdiffstats
path: root/CleanSpec.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-09-07 12:52:46 -0700
committerTao Bao <tbao@google.com>2019-03-06 14:36:59 -0800
commitf2455d8068ccf2b412cdea25fb665c3896b00562 (patch)
tree9b546aca6b4b0f74acbc71815fb5ebab903ea4b2 /CleanSpec.mk
parent6bd04c1570e8a63b1aa5d422e9ee98b8f93ddff8 (diff)
downloadsystem_core-f2455d8068ccf2b412cdea25fb665c3896b00562.tar.gz
system_core-f2455d8068ccf2b412cdea25fb665c3896b00562.tar.bz2
system_core-f2455d8068ccf2b412cdea25fb665c3896b00562.zip
healthd: charger uses shared libraries.
With the change in [1], /sbin/charger always gets included into system.img (as opposed to ramdisk) and started by second-stage-init. It no longer needs to be statically linked. This CL switches it to use shared libraries, and moves it to /system/bin/charger. With this change, charger no longer gets installed into recovery image, which will be handled by a follow-up CL. [1] https://android-review.googlesource.com/c/platform/build/+/728287 Bug: 73660730 Test: Boot into charger mode on taimen. Check that charger UI works. Test: Run charger_test on taimen. Change-Id: Idff70cfad09c825cdba4d35a471ff7ecd5f8a8f7
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r--CleanSpec.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk
index 0e43dae31..ebe5f4a97 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -78,3 +78,5 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/ld.config.txt)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/llndk.libraries.txt)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/vndksp.libraries.txt)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/sbin/charger)
+$(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/sbin/charger)