Index: tools/ninja.py |
diff --git a/tools/ninja.py b/tools/ninja.py |
index 55d8d2ad8e4940de95e34a09febcf20939000f15..7a2db651a7fb639d052b19ab452301a4021982fa 100755 |
--- a/tools/ninja.py |
+++ b/tools/ninja.py |
@@ -90,7 +90,7 @@ def ProcessOptions(options, args): |
if os_name != 'android': |
print "Unsupported target os %s" % os_name |
return False |
- if not HOST_OS in ['linux']: |
+ if not HOST_OS in ['linux', 'macos']: |
print ("Cross-compilation to %s is not supported on host os %s." |
% (os_name, HOST_OS)) |
return False |