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

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

Issue 2098613003: [Mac/GN] Use -gdwarf-2 instead of -g2 in //build/config/compiler:symbols. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index f9e01af1968300094eb290adc62c0786902d420d..60c422884a45afcc10db984ee221683c74d28ab0 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1479,7 +1479,7 @@ config("symbols") {
ldflags = [ "/DEBUG" ]
}
} else {
- if (is_ios) {
+ if (is_mac || is_ios) {
cflags = [ "-gdwarf-2" ]
} else {
cflags = [ "-g2" ]
« 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