Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 3a071c8b760483be3aadd8302aa235efcd6d1f25..e7f704461dbcd05950e5e142d633e1bb49c8db1a 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2080,10 +2080,13 @@ |
'host_os%': "mac", |
}], |
+ # Use the version of clang shipped with Xcode when building official |
+ # version of Chrome for iOS. |
+ # |
# TODO(eugenebut): Remove enable_coverage check once |
# libclang_rt.profile_ios.a is bundled with Chromium's clang. |
# http://crbug.com/450379 |
- ['enable_coverage or "<(GENERATOR)"=="xcode"', { |
+ ['buildtype=="Official" or enable_coverage', { |
'clang_xcode%': 1, |
}], |
], |