universal7885: Introduce libcamera_metadata_helper

* For supporting VNDK and Treble rules.

Issue: In accordance to treble rules libcamera_client.so cannot be
       used or included. For Camera HAL needed support for values of
       CameraMetadata

Solution: Included CameraMetadata.h and .cpp files to this helper lib for camera hal and replaced with libcamera_client.so.
Change-Id: I33fced3cf5dffc721bf613456f5c85de6d57f71c
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
Erfan Abdi 2019-08-07 02:27:36 +04:30 committed by roynatech2544
commit 986be0160f
6 changed files with 712 additions and 13 deletions

View file

@ -33,6 +33,13 @@ function blob_fixup {
vendor/lib*/libsec-ril-dsds.so)
"$PATCHELF" --replace-needed "libcutils.so" "libcutils-v29.so" "$2"
;;
vendor/lib*/hw/camera.exynos7904.so)
;&
vendor/lib*/libexynoscamera.so)
;&
vendor/lib*/libexynoscamera3.so)
"$PATCHELF" --replace-needed "libcamera_client.so" "libcamera_metadata_helper.so" "$2"
;;
esac
}