summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-09-16 16:04:03 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-09-16 18:15:28 +0300
commitd5ce2679c67877295ce0096afd3d24d28ad34d16 (patch)
tree460048faef4fd8b869edfaf60845b554a42cf588 /meson_options.txt
parentde20029a582a71a87d99388a62fb63c86e85028a (diff)
libcamera: Turn the android option into a feature
Allow disabling compilation of the Android HAL adaptation layer automatically when a dependency is missing by turning the android option into a feature. The default value is set to 'disabled' to match the current behaviour. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson_options.txt b/meson_options.txt
index e9e815fd..d2e07ef1 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,8 +1,8 @@
# SPDX-License-Identifier: CC0-1.0
option('android',
- type : 'boolean',
- value : false,
+ type : 'feature',
+ value : 'disabled',
description : 'Compile libcamera with Android Camera3 HAL interface')
option('documentation',