Enable elf checks

Change-Id: Ia6c9a381abb3384c77532d75e02fd84c841a4d1e
This commit is contained in:
Aaron Kling 2024-08-14 01:44:45 -05:00 committed by Giovanni Ricca
parent 35ab7f0c5e
commit 09cefd1963
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,8 @@ if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
ANDROID_ROOT="${MY_DIR}/../../.." ANDROID_ROOT="${MY_DIR}/../../.."
export TARGET_ENABLE_CHECKELF=true
# If XML files don't have comments before the XML header, use this flag # If XML files don't have comments before the XML header, use this flag
# Can still be used with broken XML files by using blob_fixup # Can still be used with broken XML files by using blob_fixup
export TARGET_DISABLE_XML_FIXING=true export TARGET_DISABLE_XML_FIXING=true

View File

@ -16,6 +16,8 @@ if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi
ANDROID_ROOT="${MY_DIR}/../../.." ANDROID_ROOT="${MY_DIR}/../../.."
export TARGET_ENABLE_CHECKELF=true
HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh" HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh"
if [ ! -f "${HELPER}" ]; then if [ ! -f "${HELPER}" ]; then
echo "Unable to find helper script at ${HELPER}" echo "Unable to find helper script at ${HELPER}"