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

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

Issue 1855483004: [iOS/OS X] Allow base::scoped_nsobject<> to be used when ARC is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes to build/config/compiler/BUILD.gn Created 4 years, 9 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/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 0da129f5ae5df9ee78557ac8b31537bd4bec8547..14260c943ce5c927893b6b34c0020d563cde0128 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -1291,7 +1291,11 @@ config("symbols") {
ldflags = [ "/DEBUG" ]
}
} else {
- cflags = [ "-g2" ]
+ if (!is_ios && !is_mac) {
+ cflags = [ "-g2" ]
+ } else {
+ cflags = [ "-gdwarf-2" ]
Nico 2016/04/04 17:53:45 ?
+ }
if (use_debug_fission) {
cflags += [ "-gsplit-dwarf" ]
}

Powered by Google App Engine
This is Rietveld 408576698