android: hal: Add Camera3 HAL
Add libcamera Android Camera HALv3 implementation. The initial camera HAL implementation supports the LIMITED hardware level and uses statically defined metadata and camera characteristics. Add a build option named 'android' and adjust the build system to selectively compile the Android camera HAL and link it against the required Android libraries. Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
@@ -103,9 +103,18 @@ libcamera_deps = [
|
||||
dependency('threads'),
|
||||
]
|
||||
|
||||
libcamera_link_with = []
|
||||
|
||||
if get_option('android')
|
||||
libcamera_sources += android_hal_sources
|
||||
includes += android_includes
|
||||
libcamera_link_with += android_camera_metadata
|
||||
endif
|
||||
|
||||
libcamera = shared_library('camera',
|
||||
libcamera_sources,
|
||||
install : true,
|
||||
link_with : libcamera_link_with,
|
||||
include_directories : includes,
|
||||
dependencies : libcamera_deps)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user