summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2021-02-17 15:19:33 +0100
committerJacopo Mondi <jacopo@jmondi.org>2021-03-03 09:50:12 +0100
commitad9eee2a7d91cd6113242194b8bc7be905436cb5 (patch)
tree99b5594700984a4a16382983afff9702c69ed14c
parent6715a31f39457c57098e397109e4902a7df1f9a6 (diff)
meson: options: Add option to select the Android platform
The Android Camera3 HAL implementation requires platform specific extensions, such as the selection of the memory backend to use and additional constraints depending on the target device. Define a combo option to select which platform to target and define the currently existing implementation as 'generic'. Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
-rw-r--r--meson_options.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 53f2675e..d840543b 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -5,6 +5,12 @@ option('android',
value : 'disabled',
description : 'Compile libcamera with Android Camera3 HAL interface')
+option('android_platform',
+ type : 'combo',
+ choices : ['generic'],
+ value : 'generic',
+ description : 'Select the Android platform to compile for')
+
option('documentation',
type : 'feature',
description : 'Generate the project documentation')