build: remove default NDK, closes #717

This commit is contained in:
Hans-Christoph Steiner 2021-05-12 14:24:05 +02:00
parent 69fcd6a024
commit 9fc2a23713
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
5 changed files with 8 additions and 23 deletions

View file

@ -326,13 +326,7 @@ class Build(dict):
return 'ant'
def ndk_path(self):
version = self.ndk
if not version:
version = 'r12b' # falls back to latest
paths = fdroidserver.common.config['ndk_paths']
if version not in paths:
return ''
return paths[version]
return fdroidserver.common.config['ndk_paths'].get(self.ndk, '')
flagtypes = {