diff options
| author | Elliott Sales de Andrade | 2017-09-24 23:06:45 -0400 |
|---|---|---|
| committer | Elliott Sales de Andrade | 2017-09-25 14:36:01 -0400 |
| commit | f9e463bce2607c5136acc79ecd495f8b62b8e5ad (patch) | |
| tree | 7581d62804f8d484bf21e87be5bb7d73ee19abdd /platform/android/detect.py | |
| parent | 0a6446ff361f1674649e1625eb5868478d998091 (diff) | |
| download | godot-f9e463bce2607c5136acc79ecd495f8b62b8e5ad.tar.gz godot-f9e463bce2607c5136acc79ecd495f8b62b8e5ad.tar.zst godot-f9e463bce2607c5136acc79ecd495f8b62b8e5ad.zip | |
Diffstat (limited to 'platform/android/detect.py')
| -rw-r--r-- | platform/android/detect.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/android/detect.py b/platform/android/detect.py index c1ac54c58..6640a053f 100644 --- a/platform/android/detect.py +++ b/platform/android/detect.py @@ -18,11 +18,12 @@ def can_build(): def get_opts(): + from SCons.Variables import EnumVariable return [ ('ANDROID_NDK_ROOT', 'Path to the Android NDK', os.environ.get("ANDROID_NDK_ROOT", 0)), ('ndk_platform', 'Target platform (android-<api>, e.g. "android-18")', "android-18"), - ('android_arch', 'Target architecture (armv7/armv6/arm64v8/x86)', "armv7"), + EnumVariable('android_arch', 'Target architecture', "armv7", ('armv7', 'armv6', 'arm64v8', 'x86')), ('android_neon', 'Enable NEON support (armv7 only)', "yes"), ('android_stl', 'Enable Android STL support (for modules)', "no") ] |
