config: Adding an option to build DeviceAsWebcam
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user