Index: build/toolchain/toolchain.gni |
diff --git a/build/toolchain/toolchain.gni b/build/toolchain/toolchain.gni |
index 867177bd9423c6d7fd4ef5b818230e20e5d871d4..ca4bc2a7790e67dec020285ce78ede46f02bbdeb 100644 |
--- a/build/toolchain/toolchain.gni |
+++ b/build/toolchain/toolchain.gni |
@@ -50,8 +50,8 @@ |
} |
if ((is_mac || is_ios) && use_system_xcode == "") { |
- _result = exec_script("//build/mac/should_use_hermetic_xcode.py", [], "value") |
- use_system_xcode = _result == 0 |
+ _result = getenv("FORCE_MAC_TOOLCHAIN") |
+ use_system_xcode = _result == "" |
} |
# The path to the hermetic install of Xcode. Only relevant when |