Index: build_overrides/build.gni |
diff --git a/build_overrides/build.gni b/build_overrides/build.gni |
index e88dfc98383306d45021f89ce5fedeedc2c75059..a7cd058756591b58e2556af74a8268457632364a 100644 |
--- a/build_overrides/build.gni |
+++ b/build_overrides/build.gni |
@@ -46,8 +46,12 @@ |
} |
if (use_system_xcode == "") { |
- _result = exec_script("//build/mac/should_use_hermetic_xcode.py", |
- [ target_os ], |
- "value") |
- use_system_xcode = _result == 0 |
+ if (target_os == "mac") { |
+ _result = |
+ exec_script("//build/mac/should_use_hermetic_xcode.py", [], "value") |
+ use_system_xcode = _result == 0 |
+ } |
+ if (target_os == "ios") { |
+ use_system_xcode = true |
+ } |
} |