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
Merged-In: If0f62c2baa3db3c079b2913fcdc3dafd66394011
(cherry picked from commit d365449fae)
This commit is contained in:
Samiul Islam 2021-06-02 15:23:37 +01:00 committed by Mohammad Samiul Islam
parent 0bdd20d5e0
commit 129afaea73

View file

@ -68,6 +68,9 @@ lib_dir() {
# Make sure this build builds from source, regardless of the default.
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)
DIST_DIR=$(source build/envsetup.sh > /dev/null; TARGET_PRODUCT= get_build_var DIST_DIR)