Index: build/config/BUILDCONFIG.gn |
diff --git a/build/config/BUILDCONFIG.gn b/build/config/BUILDCONFIG.gn |
index c4a57b076f73723ca6060984df3e6e9a11337e5d..38da66cef0ffbafed63f5dde29eb0adb68fb0989 100644 |
--- a/build/config/BUILDCONFIG.gn |
+++ b/build/config/BUILDCONFIG.gn |
@@ -161,6 +161,11 @@ if (os == "win") { |
is_nacl = false |
is_posix = true |
is_win = false |
+ if (!is_clang) { |
+ # Always use clang on iOS when using ninja |
+ # (which is always true when using GN). |
+ is_clang = true |
+ } |
} else if (os == "linux") { |
is_android = false |
is_chromeos = false |