Do not build compressed APEX

This script expects to build uncompressed APEX and use them as
prebuilts.

Bug: 189926000
Test: build_mainline_modules.sh
Change-Id: If0f62c2baa3db3c079b2913fcdc3dafd66394011
This commit is contained in:
Samiul Islam 2021-06-02 15:23:37 +01:00
parent abca1d19a4
commit d365449fae

View file

@ -68,6 +68,9 @@ lib_dir() {
# Make sure this build builds from source, regardless of the default. # Make sure this build builds from source, regardless of the default.
export SOONG_CONFIG_art_module_source_build=true export SOONG_CONFIG_art_module_source_build=true
# This script does not intend to handle compressed APEX
export OVERRIDE_PRODUCT_COMPRESSED_APEX=false
OUT_DIR=$(source build/envsetup.sh > /dev/null; TARGET_PRODUCT= get_build_var OUT_DIR) OUT_DIR=$(source build/envsetup.sh > /dev/null; TARGET_PRODUCT= get_build_var OUT_DIR)
DIST_DIR=$(source build/envsetup.sh > /dev/null; TARGET_PRODUCT= get_build_var DIST_DIR) DIST_DIR=$(source build/envsetup.sh > /dev/null; TARGET_PRODUCT= get_build_var DIST_DIR)