Chromium Code Reviews| 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" ] |
| + } |
| +} |