def task_compile_native_debug(): abi = get_make_config().get_value("debugAbi", None) if abi is None: abi = "armeabi-v7a" print(f"WARNING: no debugAbi value in config, using {abi} as default") from native.native_build import compile_all_using_make_config return compile_all_using_make_config([abi])
def task_compile_java_release(): from java.java_build import compile_all_using_make_config return compile_all_using_make_config()
def task_compile_native_release(): abis = get_make_config().get_value("make.abis", []) if abis is None or not isinstance(abis, list) or len(abis) == 0: error(f"ERROR: no make.abis value in config") from native.native_build import compile_all_using_make_config return compile_all_using_make_config(abis)