1 # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree.
10 '../build/common.gypi',
14 'target_name': 'webrtc_test_common',
15 'type': 'static_library',
19 'configurable_frame_size_encoder.cc',
20 'configurable_frame_size_encoder.h',
21 'direct_transport.cc',
23 'encoder_settings.cc',
25 'fake_audio_device.cc',
26 'fake_audio_device.h',
31 'fake_network_pipe.cc',
32 'fake_network_pipe.h',
33 'frame_generator_capturer.cc',
34 'frame_generator_capturer.h',
38 'rtp_rtcp_observer.h',
47 'win/run_loop_win.cc',
57 '<(DEPTH)/testing/gtest.gyp:gtest',
58 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
59 '<(webrtc_root)/base/base.gyp:rtc_base',
60 '<(webrtc_root)/modules/modules.gyp:media_file',
61 '<(webrtc_root)/modules/modules.gyp:video_render_module_impl',
62 '<(webrtc_root)/test/test.gyp:frame_generator',
63 '<(webrtc_root)/test/test.gyp:test_support',
64 '<(webrtc_root)/test/test.gyp:rtp_test_utils',
65 '<(webrtc_root)/webrtc.gyp:webrtc',
69 'target_name': 'webrtc_test_renderer',
70 'type': 'static_library',
74 'linux/glx_renderer.cc',
75 'linux/glx_renderer.h',
76 'linux/video_renderer_linux.cc',
77 'mac/video_renderer_mac.h',
78 'mac/video_renderer_mac.mm',
79 'null_platform_renderer.cc',
82 'win/d3d_renderer.cc',
88 'null_platform_renderer.cc',
93 'null_platform_renderer.cc',
96 ['OS!="linux" and OS!="mac"', {
104 'null_platform_renderer.cc',
107 '<(directx_sdk_path)/Include',
112 '<(DEPTH)/testing/gtest.gyp:gtest',
113 '<(webrtc_root)/modules/modules.gyp:media_file',
114 '<(webrtc_root)/test/test.gyp:frame_generator',
115 '<(webrtc_root)/test/test.gyp:test_support',
117 'direct_dependent_settings': {
136 '-framework CoreVideo',
145 ['include_tests==1', {
148 'target_name': 'webrtc_test_common_unittests',
149 'type': '<(gtest_target_type)',
151 'webrtc_test_common',
152 '<(DEPTH)/testing/gtest.gyp:gtest',
153 '<(DEPTH)/testing/gmock.gyp:gmock',
154 '<(webrtc_root)/modules/modules.gyp:video_capture_module_impl',
155 '<(webrtc_root)/test/test.gyp:test_support_main',
158 'fake_network_pipe_unittest.cc',
159 'rtp_file_reader_unittest.cc',