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

Unified Diff: build/toolchain/toolchain.gni

Issue 1183633003: cross gn Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: slightly smaller diff Created 4 years, 5 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/secondary/third_party/crashpad/crashpad/util/BUILD.gn ('k') | build/toolchain/win/BUILD.gn » ('j') | 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 00737b52c1da0730438cee47c8f11f8003e8b0d2..4a16701b6a524c17d2320a65b14d1982185e6ab1 100644
--- a/build/toolchain/toolchain.gni
+++ b/build/toolchain/toolchain.gni
@@ -20,7 +20,8 @@ declare_args() {
# with the shipped LLVM toolchain, or on Linux with a self-built top-of-tree
# LLVM toolchain (see llvm_force_head_revision in
# build/config/compiler/BUILD.gn).
- use_lld = false
+ # Use by default when targeting Windows on a non-Windows host.
+ use_lld = is_win && host_os != "win"
if (is_clang) {
# Clang compiler version. Clang files are placed at version-dependent paths.
« no previous file with comments | « build/secondary/third_party/crashpad/crashpad/util/BUILD.gn ('k') | build/toolchain/win/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698