DivestOS/Patches/Common/android_vendor_divested/divestos.mk
2019-03-22 04:20:06 -04:00

32 lines
1022 B
Makefile

PRODUCT_BRAND ?= DivestOS
#PRODUCT_VERSION_MAJOR = 1
#PRODUCT_VERSION_MINOR = 0
#PRODUCT_VERSION_MAINTENANCE := 0
#Overlays
LOCAL_AAPT_FLAGS += --auto-add-overlay
DEVICE_PACKAGE_OVERLAYS += vendor/divested/overlay/common
#Extra settings
PRODUCT_BUILD_PROP_OVERRIDES += \
BUILD_UTC_DATE=0
PRODUCT_PROPERTY_OVERRIDES += \
ro.config.notification_sound=Pong.ogg \
ro.config.alarm_alert=Alarm_Buzzer.ogg \
keyguard.no_require_sim=true \
ro.build.selinux=1 \
ro.storage_manager.enabled=false
# ro.control_privapp_permissions=log
# ro.control_privapp_permissions=enforce
#Copy extra files
PRODUCT_COPY_FILES += \
vendor/divested/prebuilts/etc/additional_fdroid_repos.xml:system/etc/org.fdroid.fdroid/additional_repos.xml \
vendor/divested/prebuilts/etc/permissions_org.fdroid.fdroid.privileged.xml:system/etc/permissions/permissions_org.fdroid.fdroid.privileged.xml
#Include packages
PRODUCT_PACKAGES += BlobBlocker
PRODUCT_PACKAGES += ModuleBlocker
include vendor/divested/packages.mk