Add python prebuilts to build
Change-Id: I159b2b07962b89582f99af74e53585dc0bddcb63 (cherry picked from commit 1ef40fc330e88059ac6b53199ab0033c9ad380a8)
This commit is contained in:
committed by
captainthrowback
parent
83e0b3327b
commit
608493c07c
@@ -144,6 +144,7 @@ ifeq ($(TW_OEM_BUILD),true)
|
||||
TW_EXCLUDE_TZDATA := true
|
||||
TW_EXCLUDE_NANO := true
|
||||
TW_EXCLUDE_BASH := true
|
||||
TW_EXCLUDE_PYTHON := true
|
||||
endif
|
||||
|
||||
ifeq ($(AB_OTA_UPDATER),true)
|
||||
@@ -557,6 +558,9 @@ endif
|
||||
ifneq ($(TW_LOAD_VENDOR_MODULES),)
|
||||
TWRP_REQUIRED_MODULES += libmodprobe
|
||||
endif
|
||||
ifneq ($(TW_EXCLUDE_PYTHON),true)
|
||||
TWRP_REQUIRED_MODULES += python3_twrp
|
||||
endif
|
||||
|
||||
TWRP_REQUIRED_MODULES += file_contexts_text
|
||||
|
||||
|
||||
+1
-1
@@ -1550,7 +1550,7 @@ bool TWFunc::Check_Xml_Format(const std::string filename) {
|
||||
File.close();
|
||||
// Android Binary Xml start from these bytes
|
||||
if(!buffer.compare(0, abx_hdr.size(), abx_hdr))
|
||||
return false; // bad format, not possible to parse
|
||||
return false; // ABX format - requires conversion
|
||||
}
|
||||
return true; // good format, possible to parse
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user