exclude the ACM test target from building with chromium.

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

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

View File

@ -94,40 +94,47 @@
'audio_coding_module_impl.h', 'audio_coding_module_impl.h',
], ],
}, },
{ ],
'target_name': 'audio_coding_module_test', # Exclude the test targets when building with chromium.
'type': 'executable', 'conditions': [
'dependencies': [ ['build_with_chromium==0', {
'audio_coding_module', 'targets': [
'../../../../system_wrappers/source/system_wrappers.gyp:system_wrappers', {
], 'target_name': 'audio_coding_module_test',
'sources': [ 'type': 'executable',
'../test/ACMTest.cpp', 'dependencies': [
'../test/APITest.cpp', 'audio_coding_module',
'../test/Channel.cpp', '../../../../system_wrappers/source/system_wrappers.gyp:system_wrappers',
'../test/EncodeDecodeTest.cpp',
'../test/EncodeToFileTest.cpp',
'../test/iSACTest.cpp',
'../test/PCMFile.cpp',
'../test/RTPFile.cpp',
'../test/SpatialAudio.cpp',
'../test/TestAllCodecs.cpp',
'../test/Tester.cpp',
'../test/TestFEC.cpp',
'../test/TestStereo.cpp',
'../test/TestVADDTX.cpp',
'../test/TimedTrace.cpp',
'../test/TwoWayCommunication.cpp',
'../test/utility.cpp',
],
'conditions': [
['OS=="linux"', {
'cflags': [
'-fexceptions', # enable exceptions
], ],
}], 'sources': [
'../test/ACMTest.cpp',
'../test/APITest.cpp',
'../test/Channel.cpp',
'../test/EncodeDecodeTest.cpp',
'../test/EncodeToFileTest.cpp',
'../test/iSACTest.cpp',
'../test/PCMFile.cpp',
'../test/RTPFile.cpp',
'../test/SpatialAudio.cpp',
'../test/TestAllCodecs.cpp',
'../test/Tester.cpp',
'../test/TestFEC.cpp',
'../test/TestStereo.cpp',
'../test/TestVADDTX.cpp',
'../test/TimedTrace.cpp',
'../test/TwoWayCommunication.cpp',
'../test/utility.cpp',
],
'conditions': [
['OS=="linux"', {
'cflags': [
'-fexceptions', # enable exceptions
],
}],
],
},
], ],
}, }],
], ],
} }