config: Adding an option to build DeviceAsWebcam

This commit is contained in:
ShevT
2024-08-30 12:38:33 +03:00
committed by Joey
parent 294b7e4fa9
commit a1e8e055f3

View File

@@ -24,6 +24,15 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/android.hardware.biometrics.face.xml
endif
# DeviceAsWebcam
ifeq ($(TARGET_BUILD_DEVICE_AS_WEBCAM), true)
PRODUCT_PACKAGES += \
DeviceAsWebcam
PRODUCT_VENDOR_PROPERTIES += \
ro.usb.uvc.enabled=true
endif
# Cloned app exemption
PRODUCT_COPY_FILES += \
vendor/lineage/prebuilt/common/etc/sysconfig/preinstalled-packages-platform-evolution-product.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/preinstalled-packages-platform-evolution-product.xml