Merge "Force ART modules to be built from source here, regardless of default."

This commit is contained in:
Treehugger Robot 2021-02-03 13:45:00 +00:00 committed by Gerrit Code Review
commit aef038aac1
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ lib_dir() {
esac
}
# Make sure this build builds from source, regardless of the default.
export SOONG_CONFIG_art_module_source_build=true
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)