diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-06-28 16:32:46 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-07-02 13:25:44 +0200 |
commit | fc77db4b09ebd7eae69089f1dc1c95191a4a611a (patch) | |
tree | b537ac4d98909f4944f41f794567e1afc44e6db4 /python/servo/build_commands.py | |
parent | 65122b10d3d303ec44c5182d48fecea483ce9b5e (diff) | |
download | servo-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.py | 4 |
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) |