Chromium Code Reviews

Unified Diff: build/toolchain/gcc_toolchain.gni

Issue 2011693002: Allow use_debug_fission to be passed to gcc_toolchain(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: do not use forward_variables_from() Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« 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 14df6db9fa6f2f2fbeb5f00216eaf2762e7b392b..7db87a3b10151df5bf9d841ec8e5c6a97aff20de 100644
--- a/build/toolchain/gcc_toolchain.gni
+++ b/build/toolchain/gcc_toolchain.gni
@@ -98,6 +98,9 @@ if (allow_posix_link_time_opt || is_cfi) {
# Override the global cc_wrapper setting. e.g. "ccache" or "icecc".
# useful to opt-out of cc_wrapper in a particular toolchain by setting
# cc_wrapper = "" in it.
+# - use_debug_fission
+# Override the global use_debug_fission setting, useful if the particular
+# toolchain should not be generating split-dwarf code.
# - use_goma
# Override the global use_goma setting, useful to opt-out of goma in a
# particular toolchain by setting use_gome = false in it.
@@ -461,6 +464,9 @@ template("gcc_toolchain") {
if (defined(invoker.use_allocator)) {
use_allocator = invoker.use_allocator
}
+ if (defined(invoker.use_debug_fission)) {
+ use_debug_fission = invoker.use_debug_fission
+ }
if (defined(invoker.use_gold)) {
use_gold = invoker.use_gold
}
@@ -520,5 +526,9 @@ template("clang_toolchain") {
"use_gold",
"strip",
])
+
+ if (defined(invoker.use_debug_fission)) {
+ use_debug_fission = invoker.use_debug_fission
+ }
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine