src: meson: Re-order subdir layout

Move the android subdir below the configuration options to keep all
subdirs together.

Add a comment explaining why android must come first, and some padding
to group the libcamera and ipa components, applications, and remaining
adaptation layers.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Kieran Bingham
2020-11-10 16:03:39 +00:00
parent bf68e72276
commit 85f01678a0

View File

@@ -1,7 +1,5 @@
# SPDX-License-Identifier: CC0-1.0
subdir('android')
openssl = find_program('openssl', required : true)
if openssl.found()
ipa_priv_key = custom_target('ipa-priv-key',
@@ -13,8 +11,13 @@ else
ipa_sign_module = false
endif
# 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('cam')
subdir('qcam')