Fix failure to do anything when ndk_path is not defined

This commit is contained in:
Ciaran Gultnieks 2014-07-03 08:56:48 +01:00
parent 1d6b2378db
commit 327422af09

View file

@ -41,8 +41,8 @@ env = None
def get_default_config(): def get_default_config():
return { return {
'sdk_path': os.getenv("ANDROID_HOME"), 'sdk_path': os.getenv("ANDROID_HOME") or "",
'ndk_path': os.getenv("ANDROID_NDK"), 'ndk_path': os.getenv("ANDROID_NDK") or "",
'build_tools': "20.0.0", 'build_tools': "20.0.0",
'ant': "ant", 'ant': "ant",
'mvn3': "mvn", 'mvn3': "mvn",