Updated gypi for tests to work on osx.
Review URL: http://webrtc-codereview.appspot.com/250002 git-svn-id: http://webrtc.googlecode.com/svn/trunk@830 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
dfbebb916c
commit
8b1f621e3a
@ -122,11 +122,16 @@
|
|||||||
'../test/utility.cpp',
|
'../test/utility.cpp',
|
||||||
],
|
],
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['OS=="linux"', {
|
['OS=="linux" or OS=="mac"', {
|
||||||
'cflags': [
|
'cflags': [
|
||||||
'-fexceptions', # enable exceptions
|
'-fexceptions', # enable exceptions
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
|
['OS=="mac"', {
|
||||||
|
'xcode_settings': {
|
||||||
|
'GCC_ENABLE_CPP_EXCEPTIONS': 'YES', # -fexceptions
|
||||||
|
}
|
||||||
|
}],
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user