exclude the g722 test target from building with chromium.

Review URL: http://webrtc-codereview.appspot.com/92011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@311 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
xians@google.com 2011-08-05 16:14:25 +00:00
parent e1cfd5f252
commit 4d79bf164b

View File

@ -29,24 +29,31 @@
'g722_enc_dec.h', 'g722_enc_dec.h',
], ],
}, },
{ ], # targets
'target_name': 'G722Test', # Exclude the test target when building with chromium.
'type': 'executable', 'conditions': [
'dependencies': [ ['build_with_chromium==0', {
'G722', 'targets': [
], {
'sources': [ 'target_name': 'G722Test',
'../testG722/testG722.cpp', 'type': 'executable',
], 'dependencies': [
'conditions': [ 'G722',
['OS=="linux"', {
'cflags': [
'-fexceptions', # enable exceptions
], ],
}], 'sources': [
], '../testG722/testG722.cpp',
}, ],
], 'conditions': [
['OS=="linux"', {
'cflags': [
'-fexceptions', # enable exceptions
],
}],
],
},
], # targets
}], # build_with_chromium
], # conditions
} }
# Local Variables: # Local Variables: