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

Unified Diff: build/toolchain/toolchain.gni

Issue 1925843002: Make the GN build flag 'use_lld' usable on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move use_lld flag to build/toolchain/toolchain.gni Created 4 years, 8 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/config/compiler/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 41daacc667b0ce96a0425b5f6a46256e549f509e..dac6163f280f2f112c137f94830255347b2cfbf4 100644
--- a/build/toolchain/toolchain.gni
+++ b/build/toolchain/toolchain.gni
@@ -11,6 +11,12 @@ declare_args() {
#
# TODO(pcc): Remove this flag if/when LTO is enabled in official builds.
allow_posix_link_time_opt = false
+
+ # Set to true to use lld, the LLVM linker. This flag may be used on Windows
+ # 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
}
# Subdirectory within root_out_dir for shared library files.
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | build/toolchain/win/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698