talk/: enable _DEBUG in Debug for all posix
Chromium's build/common.gypi defines _DEBUG for Debug builds _except_ on (OS=="mac" OS=="ios"). But libjingle uses _DEBUG on all platforms so define it on all posix (chromium covers non-posix separately and fine). BUG=webrtc:3101 R=juberti@google.com Review URL: https://webrtc-codereview.appspot.com/10699004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5795 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
44caf01c34
commit
b25576a75b
@ -114,6 +114,16 @@
|
|||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
['os_posix==1', {
|
['os_posix==1', {
|
||||||
|
'configurations': {
|
||||||
|
'Debug_Base': {
|
||||||
|
'defines': [
|
||||||
|
# Chromium's build/common.gypi defines this for all posix _except_
|
||||||
|
# for ios & mac. We want it there as well, e.g. because ASSERT
|
||||||
|
# and friends trigger off of it.
|
||||||
|
'_DEBUG',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
},
|
||||||
'defines': [
|
'defines': [
|
||||||
'HASH_NAMESPACE=__gnu_cxx',
|
'HASH_NAMESPACE=__gnu_cxx',
|
||||||
'POSIX',
|
'POSIX',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user