summaryrefslogtreecommitdiff
path: root/src/meson.build
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-04-30 14:18:52 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-06-25 16:09:46 +0100
commit63c46875376031141e6e9bda694dcb5d59fb8d4b (patch)
tree72d2a298b3f90620d63db0e36892e949acebe752 /src/meson.build
parent53a0d80af0f9983d6bc0d54b0e85403a08721488 (diff)
android: Split HAL to its own shared library
The libcamera Android HAL implementation should not be an integral part of libcamera, but a support library that utilises the libcamera public API. Move the implementation to its own distinct library. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/meson.build b/src/meson.build
index 57396605..e0ea9c35 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -25,14 +25,10 @@ else
ipa_sign_module = false
endif
-libcamera_cpp_args = []
-libcamera_objects = []
+# libcamera must be built first as a dependency to the other components.
+subdir('libcamera')
-# The 'android' subdir must be processed first, and the build targets
-# are included directly into the libcamera library when this is enabled.
subdir('android')
-
-subdir('libcamera')
subdir('ipa')
subdir('lc-compliance')