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:
@ -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:
|
||||
|
Reference in New Issue
Block a user