Don't always require ndk_path

This commit is contained in:
Daniel Martí committed 2014-01-26 21:28:09 +01:00
1 parent bc94f21463
commit c4d14ce86a
1 file changed
+4 -3
+4 -3
View File
@@ -1018,9 +1018,10 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
else:
props += "sdk.dir=%s\n" % config['sdk_path']
props += "sdk-location=%s\n" % ['sdk_path']
# Add ndk location...
props += "ndk.dir=%s\n" % config['ndk_path']
props += "ndk-location=%s\n" % config['ndk_path']
if 'ndk_path' in config:
# Add ndk location...
props += "ndk.dir=%s\n" % config['ndk_path']
props += "ndk-location=%s\n" % config['ndk_path']
# Add java.encoding if necessary...
if 'encoding' in build:
props += "java.encoding=%s\n" % build['encoding']