mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-09 17:00:27 +03:00
Re-add NDK r12b, now fixed.
This commit is contained in:
parent
bf153ec247
commit
059d216aff
9 changed files with 18 additions and 8 deletions
|
|
@ -460,7 +460,7 @@ def build_local(app, build, vcs, build_dir, output_dir, srclib_dir, extlib_dir,
|
|||
ndk_path = build.ndk_path()
|
||||
if build.ndk or (build.buildjni and build.buildjni != ['no']):
|
||||
if not ndk_path:
|
||||
logging.critical("Android NDK version '%s' could not be found!" % build.ndk or 'r10e')
|
||||
logging.critical("Android NDK version '%s' could not be found!" % build.ndk or 'r12b')
|
||||
logging.critical("Configured versions:")
|
||||
for k, v in config['ndk_paths'].items():
|
||||
if k.endswith("_orig"):
|
||||
|
|
|
|||
|
|
@ -56,7 +56,8 @@ default_config = {
|
|||
'sdk_path': "$ANDROID_HOME",
|
||||
'ndk_paths': {
|
||||
'r9b': None,
|
||||
'r10e': "$ANDROID_NDK",
|
||||
'r10e': None,
|
||||
'r12b': "$ANDROID_NDK",
|
||||
},
|
||||
'build_tools': "24.0.0",
|
||||
'force_build_tools': False,
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ def main():
|
|||
logging.info(' Android SDK:\t\t\t' + config['sdk_path'])
|
||||
if aapt:
|
||||
logging.info(' Android SDK Build Tools:\t' + os.path.dirname(aapt))
|
||||
logging.info(' Android NDK r10e (optional):\t$ANDROID_NDK')
|
||||
logging.info(' Android NDK r12b (optional):\t$ANDROID_NDK')
|
||||
logging.info(' Keystore for signing key:\t' + keystore)
|
||||
if repo_keyalias is not None:
|
||||
logging.info(' Alias for key in store:\t' + repo_keyalias)
|
||||
|
|
|
|||
|
|
@ -348,7 +348,7 @@ class Build():
|
|||
def ndk_path(self):
|
||||
version = self.ndk
|
||||
if not version:
|
||||
version = 'r10e' # falls back to latest
|
||||
version = 'r12b' # falls back to latest
|
||||
paths = fdroidserver.common.config['ndk_paths']
|
||||
if version not in paths:
|
||||
return ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue