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

Unified Diff: build/toolchain/gcc_toolchain.gni

Issue 2237113004: Remove GN back-compat toolchain code for NaCl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/gcc_toolchain.gni
diff --git a/build/toolchain/gcc_toolchain.gni b/build/toolchain/gcc_toolchain.gni
index ad2d1339190017182da2a9db1b016922802fb48c..eecb409a71c35d58e5461b356139785fa1d82bba 100644
--- a/build/toolchain/gcc_toolchain.gni
+++ b/build/toolchain/gcc_toolchain.gni
@@ -470,28 +470,5 @@ template("clang_toolchain") {
}
is_clang = true
}
-
- # Backwards-compatible handling for toolchain definitions in the Native
- # Client repo.
- #
- # TODO(brettw) bug 634446 remove this when
- # //native_client/src/trusted/service_runtime/linux/BUILD.gn is updated to
- # use the new-style toolchain_args.
- if (defined(invoker.toolchain_cpu)) {
- assert(!defined(toolchain_args.current_cpu))
- toolchain_args.current_cpu = invoker.toolchain_cpu
- }
- if (defined(invoker.toolchain_os)) {
- assert(!defined(toolchain_args.current_os))
- toolchain_args.current_os = invoker.toolchain_os
- }
- if (defined(invoker.use_debug_fission)) {
- assert(!defined(toolchain_args.use_debug_fission))
- toolchain_args.use_debug_fission = invoker.use_debug_fission
- }
- if (defined(invoker.use_gold)) {
- assert(!defined(toolchain_args.use_gold))
- toolchain_args.use_gold = invoker.use_gold
- }
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698