Mac: adds missing _DEBUG flag to mac debug builds.

BUG=3836
R=andrew@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/25769004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7377 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrike@webrtc.org 2014-10-06 22:04:11 +00:00
parent 528fc650d8
commit 2fe5893748
2 changed files with 11 additions and 1 deletions

View File

@ -204,6 +204,16 @@
}, {
'conditions': [
['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',
],
},
},
'conditions': [
# -Wextra is currently disabled in Chromium's common.gypi. Enable
# for targets that can handle it. For Android/arm64 right now

View File

@ -240,7 +240,7 @@ class XmlElementCreatorThread : public rtc::Thread {
// If XmlElement creation and destruction isn't thread safe,
// this test should crash.
TEST(XmlElementTest, DISABLED_ON_MAC(TestMultithread)) {
TEST(XmlElementTest, TestMultithread) {
int thread_count = 2; // Was 100, but that's too slow.
int elem_count = 100; // Was 100000, but that's too slow.
buzz::QName qname("foo", "bar");