Revert "Delete build-aml-prebuilts.sh"
Revert submission 1535006-bap Reason for revert: Looks like it breaks the build as aapt2 depends on the build_number.txt this script was generating. Error log below. Reverted Changes: I0f6b34310:Delete build-aml-prebuilts.sh I4eae4153a:Replace use of build-aml-prebuilts Change-Id: I7f5f1b3047f3d71eb8ac7bec95c5916425d5d8f2 FAILED: ninja: 'out/aml/soong/build_number.txt', needed by 'out/aml/soong/.intermediates/frameworks/base/tools/aapt2/aapt2/linux_glibc_x86_64/unstripped/aapt2', missing and no known rule to make it
This commit is contained in:
@@ -84,16 +84,10 @@ for product in "${PRODUCTS[@]}"; do
|
||||
done
|
||||
|
||||
# Create multi-archs SDKs in a different out directory. The multi-arch script
|
||||
# uses Soong in --skip-kati mode which cannot use the same directory as normal
|
||||
# uses Soong in --skip-make mode which cannot use the same directory as normal
|
||||
# mode with make.
|
||||
export OUT_DIR=${OUT_DIR}/aml
|
||||
# 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[@]}
|
||||
echo_and_run build/soong/scripts/build-aml-prebuilts.sh ${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