python: do not include by default
Native solution for ABX xml conversion will be used,
so python isn't necessary
Use TW_INCLUDE_PYTHON := true to add to build
if desired to use in TWRP
Change-Id: Ibe5cbabb6c7260966d933218f08d24e96e0b8a63
diff --git a/Android.mk b/Android.mk
index a1273f0..8d73e8f 100755
--- a/Android.mk
+++ b/Android.mk
@@ -144,7 +144,6 @@
TW_EXCLUDE_TZDATA := true
TW_EXCLUDE_NANO := true
TW_EXCLUDE_BASH := true
- TW_EXCLUDE_PYTHON := true
endif
ifeq ($(AB_OTA_UPDATER),true)
@@ -576,7 +575,7 @@
ifneq ($(TW_LOAD_VENDOR_MODULES),)
TWRP_REQUIRED_MODULES += libmodprobe
endif
-ifneq ($(TW_EXCLUDE_PYTHON),true)
+ifeq ($(TW_INCLUDE_PYTHON),true)
TWRP_REQUIRED_MODULES += python3_twrp
endif