common: alarm: Add manifest entry

If already present, remove the manifest entry from the device side; otherwise, this would trigger duplication build errors.

Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
Change-Id: I23df4eb99bbe97a1331cbf0e949a48353d8a8ca8
This commit is contained in:
Richard Raya 2023-09-12 19:46:23 -03:00 committed by CHRISL7
parent dee693aa36
commit 7d8564f657
2 changed files with 15 additions and 0 deletions

11
vendor/alarm/alarm-manifest.xml vendored Normal file
View File

@ -0,0 +1,11 @@
<manifest version="1.0" type="device">
<hal format="hidl">
<name>vendor.qti.hardware.alarm</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IAlarm</name>
<instance>default</instance>
</interface>
</hal>
</manifest>

View File

@ -11,5 +11,9 @@ PRODUCT_SOONG_NAMESPACES += \
PRODUCT_PACKAGES += \
init.qcom.alarm.rc
# Manifest
DEVICE_MANIFEST_FILE += \
$(QCOM_COMMON_PATH)/vendor/alarm/alarm-manifest.xml
# Get non-open-source specific aspects.
$(call inherit-product-if-exists, vendor/qcom/common/vendor/alarm/alarm-vendor.mk)