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

Unified Diff: base/base.gypi

Issue 545148: Import google-glog's Symbolize() and use it in debug_util_posix.cc. (Closed)
Patch Set: Fix checkdeps.py error Created 10 years, 11 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 | base/debug_util_posix.cc » ('j') | base/debug_util_posix.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gypi
diff --git a/base/base.gypi b/base/base.gypi
index 47789debc9d7d12ecf6f1396c9ec531436295e38..74bddf08d7c7c89bbd618b5c84c09df65796e9e7 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -394,6 +394,10 @@
'../build/util/build_util.gyp:lastchange',
'../build/linux/system.gyp:gtk',
'../build/linux/system.gyp:nss',
+ 'symbolize'
+ ],
+ 'defines': [
+ 'USE_SYMBOLIZE',
],
'cflags': [
'-Wno-write-strings',
@@ -602,5 +606,20 @@
},
],
}],
+ [ 'OS == "linux" or OS == "freebsd"', {
+ 'targets': [
+ {
+ 'target_name': 'symbolize',
+ 'type': '<(library)',
+ 'cflags': [
+ '-Wno-sign-compare',
+ ],
+ 'sources': [
+ 'third_party/symbolize/symbolize.cc',
+ 'third_party/symbolize/demangle.cc',
+ ],
+ },
+ ],
+ }],
],
}
« no previous file with comments | « no previous file | base/debug_util_posix.cc » ('j') | base/debug_util_posix.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698