Files
platform-external-webrtc/webrtc/video_engine/test/tests.gypi
pbos@webrtc.org bbb07e69e5 Glue code and tests for NACK in new VideoEngine API.
The test works by randomly dropping small bursts of packets until enough
NACKs have been sent back by the receiver. Retransmitted packets are
never dropped in order to assure that all packets are eventually
delivered. When enough NACK packets have been received and all dropped
packets retransmitted, the test waits for the receiving side to send a
number of RTCP packets without NACK lists to assure that the receiving
side stops sending NACKs once packets have been retransmitted.

BUG=2043
R=stefan@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/1934004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4482 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-05 12:01:36 +00:00

154 lines
4.5 KiB
Python

# Copyright (c) 2013 The WebRTC project authors.All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS.All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
{
'targets': [
{
'target_name': 'video_tests_common',
'type': 'static_library',
'sources': [
'common/file_capturer.cc',
'common/file_capturer.h',
'common/flags.cc',
'common/flags.h',
'common/frame_generator.cc',
'common/frame_generator.h',
'common/frame_generator_capturer.cc',
'common/frame_generator_capturer.h',
'common/generate_ssrcs.h',
'common/gl/gl_renderer.cc',
'common/gl/gl_renderer.h',
'common/linux/glx_renderer.cc',
'common/linux/glx_renderer.h',
'common/linux/video_renderer_linux.cc',
'common/mac/run_tests.mm',
'common/mac/video_renderer_mac.h',
'common/mac/video_renderer_mac.mm',
'common/null_platform_renderer.cc',
'common/run_tests.cc',
'common/run_tests.h',
'common/run_loop.cc',
'common/run_loop.h',
'common/statistics.cc',
'common/statistics.h',
'common/vcm_capturer.cc',
'common/vcm_capturer.h',
'common/video_capturer.cc',
'common/video_capturer.h',
'common/video_renderer.cc',
'common/video_renderer.h',
'common/win/d3d_renderer.cc',
'common/win/d3d_renderer.h',
'common/win/run_loop_win.cc',
],
'conditions': [
['OS=="linux"', {
'sources!': [
'common/null_platform_renderer.cc',
],
}],
['OS=="mac"', {
'sources!': [
'common/null_platform_renderer.cc',
'common/run_tests.cc',
],
}],
['OS!="linux" and OS!="mac"', {
'sources!' : [
'common/gl/gl_renderer.cc',
'common/gl/gl_renderer.h',
],
}],
['OS=="win"', {
'sources!': [
'common/null_platform_renderer.cc',
'common/run_loop.cc',
],
}],
],
'direct_dependent_settings': {
'conditions': [
['OS=="linux"', {
'libraries': [
'-lXext',
'-lX11',
'-lGL',
],
}],
#TODO(pbos) : These dependencies should not have to be here, they
# aren't used by test code directly, only by components
# used by the tests.
['OS=="android"', {
'libraries' : [
'-lGLESv2', '-llog',
],
}],
['OS=="mac"', {
'xcode_settings' : {
'OTHER_LDFLAGS' : [
'-framework Foundation',
'-framework AppKit',
'-framework Cocoa',
'-framework OpenGL',
'-framework CoreVideo',
'-framework CoreAudio',
'-framework AudioToolbox',
],
},
}],
],
},
'dependencies': [
'<(DEPTH)/testing/gtest.gyp:gtest',
'<(DEPTH)/third_party/google-gflags/google-gflags.gyp:google-gflags',
'<(webrtc_root)/modules/modules.gyp:video_capture_module',
'<(webrtc_root)/test/test.gyp:test_support',
'video_engine_core',
],
},
{
'target_name': 'video_loopback',
'type': 'executable',
'sources': [
'loopback.cc',
'test_main.cc',
],
'dependencies': [
'<(DEPTH)/testing/gtest.gyp:gtest',
'video_tests_common',
],
},
{
'target_name': 'video_full_stack',
'type': 'executable',
'sources': [
'full_stack.cc',
'test_main.cc',
],
'dependencies': [
'<(DEPTH)/testing/gtest.gyp:gtest',
'<(DEPTH)/third_party/google-gflags/google-gflags.gyp:google-gflags',
'video_tests_common',
],
},
{
'target_name': 'video_engine_tests',
'type': 'executable',
'sources': [
'engine_tests.cc',
'test_main.cc',
],
'dependencies': [
'<(DEPTH)/testing/gtest.gyp:gtest',
'<(DEPTH)/third_party/google-gflags/google-gflags.gyp:google-gflags',
'video_tests_common',
],
},
],
}