From ca47b272aba23b8c6fa3ab1529a4376bdfd63c8a Mon Sep 17 00:00:00 2001 From: Vachounet Date: Thu, 7 Jun 2018 13:12:58 +0200 Subject: [PATCH] sanders: add some HALs required by camera --- configs/manifest.xml | 27 +++++++++++++++++++++++++++ device.mk | 16 +++++++++------- 2 files changed, 36 insertions(+), 7 deletions(-) diff --git a/configs/manifest.xml b/configs/manifest.xml index b3b1bf5..7653893 100644 --- a/configs/manifest.xml +++ b/configs/manifest.xml @@ -8,6 +8,15 @@ default + + android.hardware.graphics.composer + hwbinder + 2.1 + + IComposer + default + + android.hardware.graphics.mapper passthrough @@ -446,4 +455,22 @@ default + + android.hardware.camera.provider + hwbinder + 2.4 + + ICameraProvider + legacy/0 + + + + android.hardware.memtrack + hwbinder + 1.0 + + IMemtrack + default + + diff --git a/device.mk b/device.mk index 8d248ba..307372e 100644 --- a/device.mk +++ b/device.mk @@ -110,8 +110,8 @@ PRODUCT_PACKAGES += \ camera.device@1.0-impl \ camera.device@3.2-impl \ android.hardware.camera.provider@2.4-impl \ - libshim_camera_hal \ - libshims_camera + vendor.qti.hardware.camera.device@1.0 \ + vendor.qti.hardware.camera.device@1.0_vendor PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/camera/imx219_chromatix.xml:system/etc/camera/imx219_chromatix.xml \ @@ -143,15 +143,19 @@ PRODUCT_PACKAGES += \ android.hardware.graphics.allocator@2.0-impl \ android.hardware.graphics.allocator@2.0-service \ android.hardware.graphics.composer@2.1-impl \ + android.hardware.graphics.composer@2.1-service \ android.hardware.graphics.mapper@2.0-impl \ android.hardware.memtrack@1.0-impl \ + android.hardware.memtrack@1.0-service \ android.hardware.configstore@1.0-service \ hwcomposer.msm8953 \ memtrack.msm8953 \ libgenlock \ libtinyxml \ libdisplayconfig \ - libqdMetaData.system + libqdMetaData.system \ + vendor.display.config@1.0 \ + vendor.display.config@1.0_vendor PRODUCT_PACKAGES += android.hardware.media.omx @@ -250,10 +254,8 @@ PRODUCT_PACKAGES += \ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/media_codecs.xml:system/vendor/etc/media_codecs.xml \ $(LOCAL_PATH)/configs/media_codecs_performance.xml:system/vendor/etc/media_codecs_performance.xml \ - $(LOCAL_PATH)/configs/media_profiles_vendor.xml:system/vendor/etc/media_profiles_vendor.xml \ - $(LOCAL_PATH)/configs/media_profiles.xml:system/vendor/etc/media_profiles.xml \ - $(LOCAL_PATH)/configs/media_profiles_V1_0.xml:system/vendor/etc/media_profiles_V1_0.xml \ - $(LOCAL_PATH)/configs/media_profiles.xml:system/etc/media_profiles.xml \ + $(LOCAL_PATH)/configs/media_profiles.xml:system/vendor/etc/media_profiles_vendor.xml \ + $(LOCAL_PATH)/configs/media_profiles.xml:system/etc/media_profiles.xml PRODUCT_COPY_FILES += \ frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/vendor/etc/media_codecs_google_audio.xml \