waflib: android: python 3 fix

This commit is contained in:
Alibek Omarov 2019-05-19 14:48:33 +03:00
parent 8582c505e9
commit 1aab248fa4

View file

@ -50,8 +50,8 @@ def configure(conf):
paths = [os.path.join(sdk, 'tools'), get_build_tools(sdk, btv)] paths = [os.path.join(sdk, 'tools'), get_build_tools(sdk, btv)]
paths += os.environ['PATH'].split(os.pathsep) # just in case we have installed tools paths += os.environ['PATH'].split(os.pathsep) # just in case we have installed tools
conf.env.BUILD_TOOLS_VERSION = map(int, btv.split('.')) conf.env.BUILD_TOOLS_VERSION = [int(x) for x in btv.split('.')]
# mandatory # mandatory
for i in ['aapt2', 'zipalign', 'apksigner', 'zip']: for i in ['aapt2', 'zipalign', 'apksigner', 'zip']: