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

Unified Diff: build/config/mac/BUILD.gn

Issue 1999513002: [Mac/GN] Implement dSYM generation and stripping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a comment 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
Index: build/config/mac/BUILD.gn
diff --git a/build/config/mac/BUILD.gn b/build/config/mac/BUILD.gn
index 56e101cee713f3350170e5aeb007afe882bab157..311c5aa6bc74ff0351c4bd13e3122b9d81d9c956 100644
--- a/build/config/mac/BUILD.gn
+++ b/build/config/mac/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/sysroot.gni")
import("//build/config/mac/mac_sdk.gni")
+import("//build/config/mac/symbols.gni")
# This is included by reference in the //build/config/compiler config that
# is applied to all targets. It is here to separate out the logic.
@@ -86,3 +87,11 @@ config("mac_executable_flags") {
# Remove this when targeting >=10.7 since it is the default in that config.
ldflags = [ "-Wl,-pie" ] # Position independent.
}
+
+# The ldflags referenced below are handled by
brettw 2016/06/03 20:23:25 Can this comment give a description of what this c
Robert Sesek 2016/06/03 20:46:14 Done.
+# //build/toolchain/mac/linker_driver.py.
+config("strip_all") {
+ if (enable_stripping) {
+ ldflags = [ "-Wcrl,strip,-x,-S" ]
+ }
+}
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | build/config/mac/rules.gni » ('j') | chrome/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698