Delete build-aml-prebuilts.sh
Its usecase can now be supported natively by soong_ui via the --skip-kati flag + the mainline_sdk product. Migrate build-mainline-modules.sh to use this new approach, and delete the script. Bug: 174315599 Test: build/soong/scripts/build-mainline-modules.sh Change-Id: I0f6b34310df51ddf060b2912d43487f4d37dd01b
This commit is contained in:
@@ -84,10 +84,16 @@ for product in "${PRODUCTS[@]}"; do
|
||||
done
|
||||
|
||||
# Create multi-archs SDKs in a different out directory. The multi-arch script
|
||||
# uses Soong in --skip-make mode which cannot use the same directory as normal
|
||||
# uses Soong in --skip-kati mode which cannot use the same directory as normal
|
||||
# mode with make.
|
||||
export OUT_DIR=${OUT_DIR}/aml
|
||||
echo_and_run build/soong/scripts/build-aml-prebuilts.sh ${MODULES_SDK_AND_EXPORTS[@]}
|
||||
# We use force building LLVM components flag (even though we actually don't
|
||||
# compile them) because we don't have bionic host prebuilts
|
||||
# for them.
|
||||
export FORCE_BUILD_LLVM_COMPONENTS=true
|
||||
|
||||
echo_and_run build/soong/soong_ui.bash --make-mode --skip-kati \
|
||||
TARGET_PRODUCT=mainline_sdk "$@" ${MODULES_SDK_AND_EXPORTS[@]}
|
||||
|
||||
rm -rf ${DIST_DIR}/mainline-sdks
|
||||
echo_and_run cp -R ${OUT_DIR}/soong/mainline-sdks ${DIST_DIR}
|
||||
|
Reference in New Issue
Block a user