bootstrap-android: always run sdkmanager

It is quick when already up to date
This commit is contained in:
Simon Sapin 2018-06-28 16:22:15 +02:00
parent aa1c3cea2f
commit 65122b10d3

View file

@ -108,7 +108,6 @@ class MachCommands(CommandBase):
ndk_path = download(ndk.format(system=system, arch=arch), "ndk", flatten=True)
tools_path = download(tools.format(system=system), "sdk")
if update or not path.isdir(path.join(tools_path, "platform-tools")):
subprocess.check_call([
path.join(tools_path, "tools", "bin", "sdkmanager"),
"platform-tools",