Index: build/mac/should_use_hermetic_xcode.py |
diff --git a/build/mac/should_use_hermetic_xcode.py b/build/mac/should_use_hermetic_xcode.py |
index 14ddfacdc5020b780334eb838ebe9bfddbd06314..3ddf9611043ab81435fae4a444b5d3c94f66cd57 100755 |
--- a/build/mac/should_use_hermetic_xcode.py |
+++ b/build/mac/should_use_hermetic_xcode.py |
@@ -15,7 +15,8 @@ def _IsCorpMachine(): |
def main(): |
- if os.environ.get('FORCE_MAC_TOOLCHAIN') or _IsCorpMachine(): |
+ allow_corp = sys.argv[1] == "mac" and _IsCorpMachine() |
erikchen
2016/12/06 20:07:55
Update documentation for this script?
justincohen
2016/12/06 20:51:34
Done.
|
+ if os.environ.get('FORCE_MAC_TOOLCHAIN') or allow_corp: |
return "1" |
else: |
return "0" |