mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-27 21:28:04 +00:00
Android build script works with pre-releases present.
build_apk.sh assumed pre-releases would be sorted towards the end, but instead they end up at the front (sort -n) causing the api selection loop to halt early. bug: 19213196 Change-Id: I210a18c16e81880229f154c4613f8b97d90ac9bd tested: on Linux.
This commit is contained in:
@@ -243,12 +243,8 @@ select_android_build_target() {
|
|||||||
android_build_target="android-${android_target}"
|
android_build_target="android-${android_target}"
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
else
|
# else
|
||||||
# The API version is a letter
|
# The API version is a letter, so skip it.
|
||||||
# Letters are sorted to the end by 'sort -n'
|
|
||||||
# so we're out of numbered platforms. Use this one.
|
|
||||||
android_build_target="android-${android_target}"
|
|
||||||
break
|
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
if [[ "${android_build_target}" == "" ]]; then
|
if [[ "${android_build_target}" == "" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user