mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
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:
parent
45a6b5b156
commit
986be0160f
6 changed files with 712 additions and 13 deletions
27
libshims/Android.bp
Normal file
27
libshims/Android.bp
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
cc_library_shared {
|
||||
name: "libshim_stagefright_foundation",
|
||||
srcs: ["MediaDefs.cpp"],
|
||||
shared_libs: ["libstagefright_foundation"],
|
||||
vendor: true,
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "libcamera_metadata_helper",
|
||||
proprietary: true,
|
||||
defaults: ["hidl_defaults"],
|
||||
srcs: [
|
||||
"CameraMetadata.cpp",
|
||||
],
|
||||
cflags: [
|
||||
"-Werror",
|
||||
"-Wextra",
|
||||
"-Wall",
|
||||
],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libutils",
|
||||
"libhardware",
|
||||
"libcamera_metadata",
|
||||
],
|
||||
include_dirs: ["system/media/private/camera/include"],
|
||||
}
|
||||
Loading…
Reference in a new issue