From 7ebc342b86ec025873548d893f9e218b7af6f489 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Mon, 27 Feb 2017 15:07:59 -0800 Subject: [PATCH] Add system/manifest.xml on device Similar to vendor/manifest.xml on device, this file lists all HALs defined in the framework (and hence go to the system image). IServiceManager / IMemory / etc. getService should consult this file (via VINTF object under /system/libvintf) to return the HAL in the correct transport mode. Bug: 34772739 Create system/manifest.xml Bug: 35219444 Need interface + instance entry Test: compiles and manually confirm that system/manifest.xml exist. Change-Id: I5b3c79b068841e47062cbab6f72d70555801a21d --- target/product/embedded.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/product/embedded.mk b/target/product/embedded.mk index 71e9c3346..69cd1cfbe 100644 --- a/target/product/embedded.mk +++ b/target/product/embedded.mk @@ -116,3 +116,7 @@ PRODUCT_COPY_FILES += \ system/core/rootdir/init.usb.configfs.rc:root/init.usb.configfs.rc \ system/core/rootdir/ueventd.rc:root/ueventd.rc \ system/core/rootdir/etc/hosts:system/etc/hosts + +# Framework Manifest +PRODUCT_COPY_FILES += \ + system/libhidl/sintf.xml:system/manifest.xml