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
(cherry picked from commit 73ab9725661bcaafed88b70f16da200cd599e7d3)
diff --git a/Android.mk b/Android.mk
index 4bc9ea2..84dc6be 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)
@@ -559,7 +558,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