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

Unified Diff: build/toolchain/gcc_toolchain.gni

Issue 1961433003: build/toolchain/gcc_toolchain.gni: further fixes for var forwarding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-bootstrap-2
Patch Set: Created 4 years, 7 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 5100963c4b1bfcfffbc8fa93db4ec9a6f4b0546e..f38b5a3bfd50ef2fc47581e3dd9a826ecd3ddc82 100644
--- a/build/toolchain/gcc_toolchain.gni
+++ b/build/toolchain/gcc_toolchain.gni
@@ -410,12 +410,6 @@ template("gcc_toolchain") {
target_os = target_os
target_cpu = target_cpu
- forward_variables_from(invoker,
- [
- "use_allocator",
- "use_gold",
- ])
-
if (defined(invoker.is_clang)) {
is_clang = invoker.is_clang
}
@@ -428,6 +422,12 @@ template("gcc_toolchain") {
if (defined(invoker.symbol_level)) {
symbol_level = invoker.symbol_level
}
+ if (defined(invoker.use_allocator)) {
+ use_allocator = invoker.use_allocator
+ }
+ if (defined(invoker.use_gold)) {
+ use_gold = invoker.use_gold
+ }
if (defined(invoker.clear_sanitizers) && invoker.clear_sanitizers) {
is_asan = false
« 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