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

Unified Diff: build/config/mac/symbols.gni

Issue 2157573002: [Mac/GN] Add a new linker_driver.py option to save unstripped linker output. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compiler config Created 4 years, 5 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/mac/BUILD.gn ('k') | build/toolchain/mac/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/mac/symbols.gni
diff --git a/build/config/mac/symbols.gni b/build/config/mac/symbols.gni
index 9574e1d16c87fe20f3764bb775b7aabb1665104c..b54003a2b3f445cefab7c519c1782baea1364125 100644
--- a/build/config/mac/symbols.gni
+++ b/build/config/mac/symbols.gni
@@ -21,4 +21,13 @@ declare_args() {
# linked target and apply custom -Wcrl,strip flags. See
# //build/toolchain/mac/linker_driver.py for more information.
enable_stripping = is_official_build
+
+ # Save unstripped copies of targets with a ".unstripped" suffix. This is
+ # useful to preserve the original output when enable_stripping=true.
+ save_unstripped_output = false
+}
+
+if (save_unstripped_output) {
+ assert(enable_stripping,
+ "save_unstripped_output=true requires enable_stripping=true")
}
« no previous file with comments | « build/config/mac/BUILD.gn ('k') | build/toolchain/mac/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698