mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
dist: Fix incorrect arch check for Android in build_apps
This commit is contained in:
parent
1289d5bfb4
commit
25d57e0eef
5
direct/src/dist/commands.py
vendored
5
direct/src/dist/commands.py
vendored
@ -421,9 +421,12 @@ class build_apps(setuptools.Command):
|
||||
|
||||
# Default to all supported ABIs (for the given Android version).
|
||||
if self.android_max_sdk_version and self.android_max_sdk_version < 21:
|
||||
assert self.android_max_sdk_version >= 19, \
|
||||
'Panda3D requires at least Android API level 19!'
|
||||
|
||||
if self.android_abis:
|
||||
for abi in self.android_abis:
|
||||
assert abi in ('mips64', 'x86_64', 'arm64-v8a'), \
|
||||
assert abi not in ('mips64', 'x86_64', 'arm64-v8a'), \
|
||||
f'{abi} was not a valid Android ABI before Android 21!'
|
||||
else:
|
||||
self.android_abis = ['armeabi-v7a', 'x86']
|
||||
|
Loading…
x
Reference in New Issue
Block a user