exclude test target from chromium

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

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

View File

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