Only include bitness of hal impls that is used.

Bug: 73829928
Test: boot walleye, check directories, no errors during boot
Change-Id: Ia1272b2bcc5006fa75a50631861fbaccdeed7bee
This commit is contained in:
Steven Moreland
2018-02-27 17:00:06 -08:00
committed by Thierry Strudel
parent d62bbdfe6c
commit aa948d8357
2 changed files with 17 additions and 13 deletions

View File

@@ -168,3 +168,7 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.powe
# Remove Vibrator HAL 1.1
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.vibrator@1.1-service.wahoo.rc)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.vibrator@1.1-service.wahoo)
# Remove all HALs (actual bitness now being specified)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib/hw/*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/lib64/hw/*)