target: Light debloat

Change-Id: Ie0fef911f9c7f410192bb4b46bd08e43410b0a1c
This commit is contained in:
Richard Raya 2022-09-30 13:56:08 -03:00 committed by Fazil Sheik
parent bc618819ea
commit a8d6c351a2
2 changed files with 20 additions and 0 deletions

16
Debloater/Android.mk Normal file
View File

@ -0,0 +1,16 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := Debloater
LOCAL_MODULE_CLASS := APPS
LOCAL_MODULE_TAGS := optional
LOCAL_OVERRIDES_PACKAGES += \
Drive \
Maps \
YouTube \
GoogleFeedback \
Gmail2
LOCAL_UNINSTALLABLE_MODULE := true
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_SRC_FILES := /dev/null
include $(BUILD_PREBUILT)

View File

@ -58,6 +58,10 @@ $(call inherit-product, vendor/aospa/bootanimation/bootanimation.mk)
PRODUCT_PACKAGES += \
curl
# Debloater
PRODUCT_PACKAGES += \
Debloater
# Dex2oat
PRODUCT_SYSTEM_EXT_PROPERTIES += \
dalvik.vm.dex2oat64.enabled=true