Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1426)

Unified Diff: build/toolchain/toolchain.gni

Issue 2079283002: [iOS/GN] Allow compilation with system clang. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/toolchain/mac/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/toolchain.gni
diff --git a/build/toolchain/toolchain.gni b/build/toolchain/toolchain.gni
index 9f564794816655edd06d110aeb2ce14390f037bb..c7d2ceed5aa4671d99b4c1b18ad86ac2797a66fe 100644
--- a/build/toolchain/toolchain.gni
+++ b/build/toolchain/toolchain.gni
@@ -26,6 +26,11 @@ declare_args() {
# Clang compiler version. Clang files are placed at version-dependent paths.
clang_version = "3.9.0"
}
+
+ # Compile with Xcode version of clang instead of hermetic version shipped
+ # with the build. Used on iOS to ship official builds (as they are built
+ # with the version of clang shipped with Xcode).
+ use_xcode_clang = is_ios && is_official_build
}
# Subdirectory within root_out_dir for shared library files.
« no previous file with comments | « build/toolchain/mac/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698