python/build/toolchain: add is_android, is_darwin

This commit is contained in:
Max Kellermann
2023-09-26 14:46:59 +02:00
parent a0892b852e
commit 48cc76f114
3 changed files with 7 additions and 3 deletions

@ -63,7 +63,7 @@ pkgconfig = '{toolchain.pkg_config}'
root = '{toolchain.install_prefix}'
""")
if 'android' in toolchain.arch:
if toolchain.is_android:
f.write("""
# Keep Meson from executing Android-x86 test binariees
needs_exe_wrapper = true