summaryrefslogtreecommitdiffstats
path: root/aries/libcamera/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'aries/libcamera/Android.mk')
-rw-r--r--aries/libcamera/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/aries/libcamera/Android.mk b/aries/libcamera/Android.mk
index c069daf..f4b41bb 100644
--- a/aries/libcamera/Android.mk
+++ b/aries/libcamera/Android.mk
@@ -1,3 +1,5 @@
+ifeq ($(Y_U_NO_HAVE_CAMERA),true)
+
# When zero we link against libqcamera; when 1, we dlopen libqcamera.
ifeq ($(BOARD_CAMERA_LIBRARIES),libcamera)
@@ -46,3 +48,4 @@ LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
endif
+endif