| 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 { | |
| 65 'target_name': 'video_test_common', | 16 'target_name': 'video_test_common', |
| 66 'type': 'static_library', | 17 'type': 'static_library', |
| 67 'sources': [ | 18 'sources': [ |
| 68 'fake_texture_frame.cc', | 19 'fake_texture_frame.cc', |
| 69 'fake_texture_frame.h', | 20 'fake_texture_frame.h', |
| 70 'frame_generator.cc', | 21 'frame_generator.cc', |
| 71 'frame_generator.h', | 22 'frame_generator.h', |
| 72 'frame_utils.cc', | 23 'frame_utils.cc', |
| 73 'frame_utils.h', | 24 'frame_utils.h', |
| 74 ], | 25 ], |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 ], | 146 ], |
| 196 'sources': [ | 147 'sources': [ |
| 197 'testsupport/mac/run_threaded_main_mac.h', | 148 'testsupport/mac/run_threaded_main_mac.h', |
| 198 'testsupport/mac/run_threaded_main_mac.mm', | 149 'testsupport/mac/run_threaded_main_mac.mm', |
| 199 ], | 150 ], |
| 200 }, | 151 }, |
| 201 { | 152 { |
| 202 'target_name': 'test_support_unittests', | 153 'target_name': 'test_support_unittests', |
| 203 'type': '<(gtest_target_type)', | 154 'type': '<(gtest_target_type)', |
| 204 'dependencies': [ | 155 'dependencies': [ |
| 205 'channel_transport', | |
| 206 'test_common', | 156 'test_common', |
| 207 'test_support_main', | 157 'test_support_main', |
| 208 '<(webrtc_root)/modules/modules.gyp:video_capture', | 158 '<(webrtc_root)/modules/modules.gyp:video_capture', |
| 209 '<(DEPTH)/testing/gmock.gyp:gmock', | 159 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 210 '<(DEPTH)/testing/gtest.gyp:gtest', | 160 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 211 ], | 161 ], |
| 212 'sources': [ | 162 'sources': [ |
| 213 'fake_network_pipe_unittest.cc', | 163 'fake_network_pipe_unittest.cc', |
| 214 'frame_generator_unittest.cc', | 164 'frame_generator_unittest.cc', |
| 215 'rtp_file_reader_unittest.cc', | 165 'rtp_file_reader_unittest.cc', |
| 216 'rtp_file_writer_unittest.cc', | 166 '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', | |
| 220 'testsupport/always_passing_unittest.cc', | 167 'testsupport/always_passing_unittest.cc', |
| 221 'testsupport/unittest_utils.h', | 168 'testsupport/unittest_utils.h', |
| 222 'testsupport/fileutils_unittest.cc', | 169 'testsupport/fileutils_unittest.cc', |
| 223 'testsupport/frame_reader_unittest.cc', | 170 'testsupport/frame_reader_unittest.cc', |
| 224 'testsupport/frame_writer_unittest.cc', | 171 'testsupport/frame_writer_unittest.cc', |
| 225 'testsupport/metrics/video_metrics_unittest.cc', | 172 'testsupport/metrics/video_metrics_unittest.cc', |
| 226 'testsupport/packet_reader_unittest.cc', | 173 'testsupport/packet_reader_unittest.cc', |
| 227 'testsupport/perf_test_unittest.cc', | 174 'testsupport/perf_test_unittest.cc', |
| 228 ], | 175 ], |
| 229 # Disable warnings to enable Win64 build, issue 1323. | 176 # Disable warnings to enable Win64 build, issue 1323. |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 '../build/isolate.gypi', | 371 '../build/isolate.gypi', |
| 425 ], | 372 ], |
| 426 'sources': [ | 373 'sources': [ |
| 427 'test_support_unittests.isolate', | 374 'test_support_unittests.isolate', |
| 428 ], | 375 ], |
| 429 }, | 376 }, |
| 430 ], | 377 ], |
| 431 }], | 378 }], |
| 432 ], | 379 ], |
| 433 } | 380 } |
| OLD | NEW |