Don't always require ndk_path

This commit is contained in:
Daniel Martí 2014-01-26 21:28:09 +01:00
parent bc94f21463
commit c4d14ce86a

View file

@ -1018,6 +1018,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
else: else:
props += "sdk.dir=%s\n" % config['sdk_path'] props += "sdk.dir=%s\n" % config['sdk_path']
props += "sdk-location=%s\n" % ['sdk_path'] props += "sdk-location=%s\n" % ['sdk_path']
if 'ndk_path' in config:
# Add ndk location... # Add ndk location...
props += "ndk.dir=%s\n" % config['ndk_path'] props += "ndk.dir=%s\n" % config['ndk_path']
props += "ndk-location=%s\n" % config['ndk_path'] props += "ndk-location=%s\n" % config['ndk_path']