mirror of
https://github.com/servo/servo.git
synced 2025-07-26 16:50:23 +01:00
Use the bootstraped Android toolchains by default
This commit is contained in:
parent
65122b10d3
commit
fc77db4b09
3 changed files with 18 additions and 18 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue