Merge "Generate NDK stubs for riscv64 too."

This commit is contained in:
Elliott Hughes 2023-03-20 21:10:53 +00:00 committed by Gerrit Code Review
commit 65a97364ba
2 changed files with 5 additions and 1 deletions

View file

@ -1694,6 +1694,7 @@ func getNdkAbisConfig() []archConfig {
return []archConfig{
{"arm64", "armv8-a-branchprot", "", []string{"arm64-v8a"}},
{"arm", "armv7-a-neon", "", []string{"armeabi-v7a"}},
{"riscv64", "", "", []string{"riscv64"}},
{"x86_64", "", "", []string{"x86_64"}},
{"x86", "", "", []string{"x86"}},
}

View file

@ -19,7 +19,10 @@ if [ -z "${OUT_DIR}" ]; then
exit 1
fi
TARGET_PRODUCT=ndk build/soong/soong_ui.bash --make-mode --soong-only ${OUT_DIR}/soong/ndk.timestamp
# TODO: remove this when all the riscv64 dependencies exist (currently blocked by
# http://b/273792258).
ALLOW_MISSING_DEPENDENCIES=true \
TARGET_PRODUCT=ndk build/soong/soong_ui.bash --make-mode --soong-only ${OUT_DIR}/soong/ndk.timestamp
if [ -n "${DIST_DIR}" ]; then
mkdir -p ${DIST_DIR} || true