OLD | NEW |
1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 # TODO(andrew): consider moving test_support to src/base/test. | 9 # TODO(andrew): consider moving test_support to src/base/test. |
10 { | 10 { |
11 'includes': [ | 11 'includes': [ |
12 '../build/common.gypi', | 12 '../build/common.gypi', |
13 ], | 13 ], |
14 'targets': [ | 14 'targets': [ |
15 { | 15 { |
| 16 'target_name': 'channel_transport', |
| 17 'type': 'static_library', |
| 18 'dependencies': [ |
| 19 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 20 '<(webrtc_root)/common.gyp:webrtc_common', |
| 21 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
| 22 ], |
| 23 'sources': [ |
| 24 'channel_transport/channel_transport.cc', |
| 25 'channel_transport/channel_transport.h', |
| 26 'channel_transport/traffic_control_win.cc', |
| 27 'channel_transport/traffic_control_win.h', |
| 28 'channel_transport/udp_socket_manager_posix.cc', |
| 29 'channel_transport/udp_socket_manager_posix.h', |
| 30 'channel_transport/udp_socket_manager_wrapper.cc', |
| 31 'channel_transport/udp_socket_manager_wrapper.h', |
| 32 'channel_transport/udp_socket_posix.cc', |
| 33 'channel_transport/udp_socket_posix.h', |
| 34 'channel_transport/udp_socket_wrapper.cc', |
| 35 'channel_transport/udp_socket_wrapper.h', |
| 36 'channel_transport/udp_socket2_manager_win.cc', |
| 37 'channel_transport/udp_socket2_manager_win.h', |
| 38 'channel_transport/udp_socket2_win.cc', |
| 39 'channel_transport/udp_socket2_win.h', |
| 40 'channel_transport/udp_transport.h', |
| 41 'channel_transport/udp_transport_impl.cc', |
| 42 'channel_transport/udp_transport_impl.h', |
| 43 ], |
| 44 'msvs_disabled_warnings': [ |
| 45 4302, # cast truncation |
| 46 ], |
| 47 'conditions': [ |
| 48 ['OS=="win" and clang==1', { |
| 49 'msvs_settings': { |
| 50 'VCCLCompilerTool': { |
| 51 'AdditionalOptions': [ |
| 52 # Disable warnings failing when compiling with Clang on Windows. |
| 53 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 |
| 54 '-Wno-parentheses-equality', |
| 55 '-Wno-reorder', |
| 56 '-Wno-tautological-constant-out-of-range-compare', |
| 57 '-Wno-unused-private-field', |
| 58 ], |
| 59 }, |
| 60 }, |
| 61 }], |
| 62 ], # conditions. |
| 63 }, |
| 64 { |
16 'target_name': 'video_test_common', | 65 'target_name': 'video_test_common', |
17 'type': 'static_library', | 66 'type': 'static_library', |
18 'sources': [ | 67 'sources': [ |
19 'fake_texture_frame.cc', | 68 'fake_texture_frame.cc', |
20 'fake_texture_frame.h', | 69 'fake_texture_frame.h', |
21 'frame_generator.cc', | 70 'frame_generator.cc', |
22 'frame_generator.h', | 71 'frame_generator.h', |
23 'frame_utils.cc', | 72 'frame_utils.cc', |
24 'frame_utils.h', | 73 'frame_utils.h', |
25 ], | 74 ], |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 ], | 195 ], |
147 'sources': [ | 196 'sources': [ |
148 'testsupport/mac/run_threaded_main_mac.h', | 197 'testsupport/mac/run_threaded_main_mac.h', |
149 'testsupport/mac/run_threaded_main_mac.mm', | 198 'testsupport/mac/run_threaded_main_mac.mm', |
150 ], | 199 ], |
151 }, | 200 }, |
152 { | 201 { |
153 'target_name': 'test_support_unittests', | 202 'target_name': 'test_support_unittests', |
154 'type': '<(gtest_target_type)', | 203 'type': '<(gtest_target_type)', |
155 'dependencies': [ | 204 'dependencies': [ |
| 205 'channel_transport', |
156 'test_common', | 206 'test_common', |
157 'test_support_main', | 207 'test_support_main', |
158 '<(webrtc_root)/modules/modules.gyp:video_capture', | 208 '<(webrtc_root)/modules/modules.gyp:video_capture', |
159 '<(DEPTH)/testing/gmock.gyp:gmock', | 209 '<(DEPTH)/testing/gmock.gyp:gmock', |
160 '<(DEPTH)/testing/gtest.gyp:gtest', | 210 '<(DEPTH)/testing/gtest.gyp:gtest', |
161 ], | 211 ], |
162 'sources': [ | 212 'sources': [ |
163 'fake_network_pipe_unittest.cc', | 213 'fake_network_pipe_unittest.cc', |
164 'frame_generator_unittest.cc', | 214 'frame_generator_unittest.cc', |
165 'rtp_file_reader_unittest.cc', | 215 'rtp_file_reader_unittest.cc', |
166 'rtp_file_writer_unittest.cc', | 216 'rtp_file_writer_unittest.cc', |
| 217 'channel_transport/udp_transport_unittest.cc', |
| 218 'channel_transport/udp_socket_manager_unittest.cc', |
| 219 'channel_transport/udp_socket_wrapper_unittest.cc', |
167 'testsupport/always_passing_unittest.cc', | 220 'testsupport/always_passing_unittest.cc', |
168 'testsupport/unittest_utils.h', | 221 'testsupport/unittest_utils.h', |
169 'testsupport/fileutils_unittest.cc', | 222 'testsupport/fileutils_unittest.cc', |
170 'testsupport/frame_reader_unittest.cc', | 223 'testsupport/frame_reader_unittest.cc', |
171 'testsupport/frame_writer_unittest.cc', | 224 'testsupport/frame_writer_unittest.cc', |
172 'testsupport/metrics/video_metrics_unittest.cc', | 225 'testsupport/metrics/video_metrics_unittest.cc', |
173 'testsupport/packet_reader_unittest.cc', | 226 'testsupport/packet_reader_unittest.cc', |
174 'testsupport/perf_test_unittest.cc', | 227 'testsupport/perf_test_unittest.cc', |
175 ], | 228 ], |
176 # Disable warnings to enable Win64 build, issue 1323. | 229 # Disable warnings to enable Win64 build, issue 1323. |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 '../build/isolate.gypi', | 424 '../build/isolate.gypi', |
372 ], | 425 ], |
373 'sources': [ | 426 'sources': [ |
374 'test_support_unittests.isolate', | 427 'test_support_unittests.isolate', |
375 ], | 428 ], |
376 }, | 429 }, |
377 ], | 430 ], |
378 }], | 431 }], |
379 ], | 432 ], |
380 } | 433 } |
OLD | NEW |