mirror of
https://github.com/chenxiaolong/avbroot.git
synced 2026-07-03 14:05:11 +02:00
modules/build.py: Windows requires .bat extension to be specified explicitly
Fixes: #104 Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
This commit is contained in:
@@ -41,6 +41,8 @@ def build_dex(sources):
|
||||
build_tools = newest_child_by_name(os.path.join(sdk, 'build-tools'))
|
||||
platform = newest_child_by_name(os.path.join(sdk, 'platforms'))
|
||||
d8 = os.path.join(build_tools, 'd8')
|
||||
if os.name == 'nt':
|
||||
d8 += '.bat'
|
||||
android_jar = os.path.join(platform, 'android.jar')
|
||||
|
||||
with tempfile.TemporaryDirectory() as temp_dir:
|
||||
|
||||
Reference in New Issue
Block a user