forked from Stricted/android_vendor_extra
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproduct.mk
41 lines (33 loc) · 1.4 KB
/
product.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Enable Google Assistant
PRODUCT_PROPERTY_OVERRIDES := \
ro.opa.eligible_device=true
# Swipelibs
PRODUCT_COPY_FILES += \
vendor/extra/libjni_latinimegoogle.so:$(TARGET_COPY_OUT_SYSTEM)/lib64/libjni_latinimegoogle.so
# Overlays
PRODUCT_PACKAGE_OVERLAYS += vendor/extra/overlay
# StichImage
PRODUCT_PACKAGES += \
StitchImage
# Other stuff
PRODUCT_COPY_FILES += \
vendor/extra/privapp-permissions-mint.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-mint.xml
include vendor/extra/${device}.mk
TARGET_FACE_UNLOCK_SUPPORTED ?= true
ifeq ($(TARGET_FACE_UNLOCK_SUPPORTED),true)
PRODUCT_PACKAGES += \
FaceUnlockService
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
ro.face_unlock_service.enabled=$(TARGET_FACE_UNLOCK_SUPPORTED)
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.biometrics.face.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.biometrics.face.xml
endif
ifeq (${WITH_GAPPS},true)
$(call inherit-product, vendor/gapps/config.mk)
PRODUCT_PROPERTY_OVERRIDES += lineage.updater.uri=https://github.com/nift4/Mint-OS/raw/ota/gapps_next_{device}.json
else
PRODUCT_PROPERTY_OVERRIDES += lineage.updater.uri=https://github.com/nift4/Mint-OS/raw/ota/next_{device}.json
# Hack
PRODUCT_COPY_FILES += \
vendor/gapps/product/blobs/etc/permissions/com.android.omadm.service.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/com.android.omadm.service.xml
endif