aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-06-28 16:32:46 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-07-02 13:25:44 +0200
commitfc77db4b09ebd7eae69089f1dc1c95191a4a611a (patch)
treeb537ac4d98909f4944f41f794567e1afc44e6db4 /python/servo/build_commands.py
parent65122b10d3d303ec44c5182d48fecea483ce9b5e (diff)
downloadservo-fc77db4b09ebd7eae69089f1dc1c95191a4a611a.tar.gz
servo-fc77db4b09ebd7eae69089f1dc1c95191a4a611a.zip
Use the bootstraped Android toolchains by default
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index d48730252b2..02d71eee8bd 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -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)