mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Inherit as much as possible from camera.device@3.2 - Refactor CameraDeviceSession@3.2 implementation to separate out the HIDL session interface from the main implementation object. This avoids multiple inheritance issues - Create CameraDeviceSession@3.3 with support for the new overrideDataspace field - Add virtual factory method for CameraDevice to create the right version of Session. - Create CameraDevice@3.3, which overrides createSession to return a CameraDeviceSession@3.3. - Add system property to override selection of which minor HIDL version is used for legal HAL version 3.x; set the default to the newest available minor version. Test: Camera CTS passes on device using @3.3. Bug: 62358514 Change-Id: I497e4bc0de798b56ecdb2ea6467b79afccaf89f7
53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
cc_library_shared {
|
|
name: "android.hardware.camera.provider@2.4-impl",
|
|
defaults: ["hidl_defaults"],
|
|
proprietary: true,
|
|
relative_install_path: "hw",
|
|
srcs: ["CameraProvider.cpp"],
|
|
shared_libs: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libutils",
|
|
"libcutils",
|
|
"android.hardware.camera.device@1.0",
|
|
"android.hardware.camera.device@3.2",
|
|
"android.hardware.camera.device@3.3",
|
|
"camera.device@1.0-impl",
|
|
"camera.device@3.2-impl",
|
|
"camera.device@3.3-impl",
|
|
"android.hardware.camera.provider@2.4",
|
|
"android.hardware.camera.common@1.0",
|
|
"android.hardware.graphics.mapper@2.0",
|
|
"android.hidl.allocator@1.0",
|
|
"android.hidl.memory@1.0",
|
|
"liblog",
|
|
"libhardware",
|
|
"libcamera_metadata"
|
|
],
|
|
static_libs: [
|
|
"android.hardware.camera.common@1.0-helper"
|
|
]
|
|
}
|
|
|
|
cc_binary {
|
|
name: "android.hardware.camera.provider@2.4-service",
|
|
defaults: ["hidl_defaults"],
|
|
proprietary: true,
|
|
relative_install_path: "hw",
|
|
srcs: ["service.cpp"],
|
|
compile_multilib: "32",
|
|
init_rc: ["android.hardware.camera.provider@2.4-service.rc"],
|
|
shared_libs: [
|
|
"libhidlbase",
|
|
"libhidltransport",
|
|
"libbinder",
|
|
"liblog",
|
|
"libutils",
|
|
"android.hardware.camera.device@1.0",
|
|
"android.hardware.camera.device@3.2",
|
|
"android.hardware.camera.device@3.3",
|
|
"android.hardware.camera.provider@2.4",
|
|
"android.hardware.camera.common@1.0",
|
|
],
|
|
}
|