From d0046db961f32c1dd867f9f6f99fcd230bfbf860 Mon Sep 17 00:00:00 2001 From: Sebastiano Barezzi Date: Tue, 20 Jul 2021 14:28:09 +0200 Subject: [PATCH] sm6250-common: Build camera libs Change-Id: I9b5d730c54018614c8e28a946a1d234663339b0c --- BoardConfigCommon.mk | 3 +++ atoll.mk | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index ef6692e..03fa5d6 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -45,6 +45,9 @@ BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(COMMON_PATH)/bluetooth/include TARGET_BOOTLOADER_BOARD_NAME := atoll TARGET_NO_BOOTLOADER := true +# Camera +TARGET_USES_QTI_CAMERA_DEVICE := true + # Filesystem TARGET_FS_CONFIG_GEN := $(COMMON_PATH)/config.fs diff --git a/atoll.mk b/atoll.mk index f67cc9d..5fe44b7 100644 --- a/atoll.mk +++ b/atoll.mk @@ -86,6 +86,20 @@ PRODUCT_PACKAGES += \ vendor.qti.hardware.btconfigstore@1.0.vendor \ vendor.qti.hardware.btconfigstore@2.0.vendor +# Camera +PRODUCT_PACKAGES += \ + android.hardware.camera.provider@2.4-impl \ + android.hardware.camera.provider@2.4-service_64 + +PRODUCT_PACKAGES += \ + libcamera2ndk_vendor \ + libdng_sdk.vendor \ + libgui_vendor \ + libstdc++.vendor + +PRODUCT_PACKAGES += \ + Snap + # Rootdir PRODUCT_PACKAGES += \ init.qcom.early_boot.sh \