Make it easier to add new build architectures

by making the build file generator script (mostly) architecture independent.

Bug: 269761242
Test: build x64 and arm64 locally
Change-Id: I76ea4bc0ba5e8e5c152b93cb1ad7a385c796adae
This commit is contained in:
Jorge E. Moreira
2023-02-22 11:19:34 -08:00
parent 4f483b3fa5
commit b33211a55a
3 changed files with 18152 additions and 45535 deletions

View File

@ -9,12 +9,7 @@ fi
DIR=$(dirname $0)
PYTHONHASHSEED=31 "${DIR}"/generate_bp.py \
"${DIR}"/project_x64.json \
"${DIR}"/project_x86.json \
"${DIR}"/project_arm64.json \
"${DIR}"/project_arm.json \
>"${DIR}"/../Android.bp
PYTHONHASHSEED=31 "${DIR}"/generate_bp.py "$DIR" >"${DIR}/../Android.bp"
bpfmt -w "${DIR}"/../Android.bp
bpfmt -w "${DIR}/../Android.bp"