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

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: Rename use_system_clang to is_clang_xcode 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
Index: build/toolchain/toolchain.gni
diff --git a/build/toolchain/toolchain.gni b/build/toolchain/toolchain.gni
index 9f564794816655edd06d110aeb2ce14390f037bb..3560e0a40e28a8eb7b5f8078abffbc230ac2a96c 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 system version of clang instead of hermetic version shipped
Nico 2016/06/21 13:25:44 update "system" in comment as well. if it's possi
+ # with the build. Used on iOS to ship official builds (as they are built
+ # with the version of clang shipped with Xcode).
+ is_clang_xcode = is_ios && is_official_build
}
# Subdirectory within root_out_dir for shared library files.

Powered by Google App Engine
This is Rietveld 408576698