Mark android.hidl.memory@1.0-impl as vndk-sp
This framework HAL is marked as vndk-sp since it is depended by
libhidlmemory which is a vndk-sp library. Unlike other HALs from
vendors, this HAL can't be placed under /vendor/lib/hw since it is
'framework' HAL that is owned by the platform owner. In order to update
the HAL via platform-only update, the lib is marked as vndk-sp, but not
as a vendor-only lib.
Bug: 62930720
Test: BOARD_VNDK_VERSION=current m android.hidl.memory@1.0-impl
successful
Merged-In: I7fefb3d3f14ad833afe5cf0288b4d0c3fca1f9c8
Change-Id: I7fefb3d3f14ad833afe5cf0288b4d0c3fca1f9c8
diff --git a/CleanSpec.mk b/CleanSpec.mk
index 7d4e281..f3573c5 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -46,3 +46,6 @@
$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/bin/hw/android.hidl.memory@1.0-service)
$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/etc/init/android.hidl.memory@1.0-service.rc)
+
+# memory@1.0-impl is moved to /system/lib/vndk-sp
+$(call add-clean-step, rm -f $(PRODUCT_OUT)/system/lib/hw/android.hidl.memory@1.0-impl.so)