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

Unified Diff: build/config/compiler/compiler.gni

Issue 2953953002: Revert of build: Remove build system support for gold plugin, except under ChromeOS. (Closed)
Patch Set: Created 3 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/config/compiler/BUILD.gn ('k') | build/toolchain/toolchain.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/compiler.gni
diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni
index 73f3bf04e61c47a856a070d03479125e7508a212..83369d944c8850513bb5b405711df779ccb0d499 100644
--- a/build/config/compiler/compiler.gni
+++ b/build/config/compiler/compiler.gni
@@ -120,14 +120,6 @@
}
declare_args() {
- # Set to true to use lld, the LLVM linker. This flag may be used on Windows,
- # Linux or Fuchsia.
- use_lld = (is_win && host_os != "win") || is_fuchsia ||
- ((allow_posix_link_time_opt || is_cfi) && target_os == "linux" &&
- !is_chromeos && target_cpu == "x64")
-}
-
-declare_args() {
# Whether to use the gold linker from binutils instead of lld or bfd.
use_gold =
(!use_lld && !(is_chromecast && is_linux &&
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | build/toolchain/toolchain.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698