Use the bootstraped Android toolchains by default

This commit is contained in:
Simon Sapin 2018-06-28 16:32:46 +02:00
parent 65122b10d3
commit fc77db4b09
3 changed files with 18 additions and 18 deletions

View file

@ -260,10 +260,10 @@ class MachCommands(CommandBase):
env['RUSTFLAGS'] = env.get('RUSTFLAGS', "") + " -C debug_assertions"
if android:
if "ANDROID_NDK" not in os.environ:
if "ANDROID_NDK" not in env:
print("Please set the ANDROID_NDK environment variable.")
sys.exit(1)
if "ANDROID_SDK" not in os.environ:
if "ANDROID_SDK" not in env:
print("Please set the ANDROID_SDK environment variable.")
sys.exit(1)