Adding neteq_tests to modules tests

Also moving neteq_tests.gyp and renaming to gypi. Cleaning up a
little in neteq_tests.gypi.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@696 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
henrik.lundin@webrtc.org 2011-10-05 20:38:19 +00:00
parent 29787c71a0
commit 01ca01f6e6
3 changed files with 7 additions and 7 deletions

View File

@ -7,20 +7,17 @@
# be found in the AUTHORS file in the root of the source tree. # be found in the AUTHORS file in the root of the source tree.
{ {
'includes': [
'../../../../../common_settings.gypi',
],
'targets': [ 'targets': [
{ {
'target_name': 'neteq_unittest', 'target_name': 'neteq_unittest',
'type': 'executable', 'type': 'executable',
'dependencies': [ 'dependencies': [
'neteq.gyp:NetEq', 'NetEq',
'neteq.gyp:NetEqTestTools', 'NetEqTestTools',
'../../../../../../testing/gtest.gyp:gtest', '<(webrtc_root)/../testing/gtest.gyp:gtest',
], ],
'sources': [ 'sources': [
'neteq_api_unittest.cc', 'source/neteq_api_unittest.cc',
], ],
}, },
], ],

View File

@ -306,7 +306,9 @@ WebRtc_Word16 NETEQTEST_NetEQClass::recOut(WebRtc_Word16 *outData, void *msInfo,
if (newfsmult != _fsmult) if (newfsmult != _fsmult)
{ {
#ifdef NETEQTEST_PRINT_WARNINGS
printf("Warning: output sample rate changed\n"); printf("Warning: output sample rate changed\n");
#endif // NETEQTEST_PRINT_WARNINGS
_fsmult = newfsmult; _fsmult = newfsmult;
} }
} }

View File

@ -46,6 +46,7 @@
'audio_coding/codecs/iLBC/ilbc_test.gypi', 'audio_coding/codecs/iLBC/ilbc_test.gypi',
'audio_coding/codecs/iSAC/isac_test.gypi', 'audio_coding/codecs/iSAC/isac_test.gypi',
'audio_coding/codecs/iSAC/isacfix_test.gypi', 'audio_coding/codecs/iSAC/isacfix_test.gypi',
'audio_coding/NetEQ/main/neteq_tests.gypi',
'audio_processing/main/apm_tests.gypi', 'audio_processing/main/apm_tests.gypi',
'rtp_rtcp/source/rtp_rtcp_tests.gypi', 'rtp_rtcp/source/rtp_rtcp_tests.gypi',
'rtp_rtcp/test/test_bwe/test_bwe.gypi', 'rtp_rtcp/test/test_bwe/test_bwe.gypi',