| 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 { | 9 { |
| 10 'includes': [ | 10 'includes': [ |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 'type': 'static_library', | 100 'type': 'static_library', |
| 101 'dependencies': [ | 101 'dependencies': [ |
| 102 '<(webrtc_root)/base/base.gyp:rtc_base_approved', | 102 '<(webrtc_root)/base/base.gyp:rtc_base_approved', |
| 103 '<(webrtc_root)/common.gyp:webrtc_common', | 103 '<(webrtc_root)/common.gyp:webrtc_common', |
| 104 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 104 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
| 105 ], | 105 ], |
| 106 'sources': [ | 106 'sources': [ |
| 107 'level_indicator.cc', | 107 'level_indicator.cc', |
| 108 'level_indicator.h', | 108 'level_indicator.h', |
| 109 ] | 109 ] |
| 110 }, | 110 } |
| 111 { | |
| 112 'target_name': 'channel_transport', | |
| 113 'type': 'static_library', | |
| 114 'dependencies': [ | |
| 115 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 116 '<(webrtc_root)/common.gyp:webrtc_common', | |
| 117 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | |
| 118 ], | |
| 119 'sources': [ | |
| 120 'test/channel_transport/channel_transport.cc', | |
| 121 'test/channel_transport/channel_transport.h', | |
| 122 'test/channel_transport/traffic_control_win.cc', | |
| 123 'test/channel_transport/traffic_control_win.h', | |
| 124 'test/channel_transport/udp_socket_manager_posix.cc', | |
| 125 'test/channel_transport/udp_socket_manager_posix.h', | |
| 126 'test/channel_transport/udp_socket_manager_wrapper.cc', | |
| 127 'test/channel_transport/udp_socket_manager_wrapper.h', | |
| 128 'test/channel_transport/udp_socket_posix.cc', | |
| 129 'test/channel_transport/udp_socket_posix.h', | |
| 130 'test/channel_transport/udp_socket_wrapper.cc', | |
| 131 'test/channel_transport/udp_socket_wrapper.h', | |
| 132 'test/channel_transport/udp_socket2_manager_win.cc', | |
| 133 'test/channel_transport/udp_socket2_manager_win.h', | |
| 134 'test/channel_transport/udp_socket2_win.cc', | |
| 135 'test/channel_transport/udp_socket2_win.h', | |
| 136 'test/channel_transport/udp_transport.h', | |
| 137 'test/channel_transport/udp_transport_impl.cc', | |
| 138 'test/channel_transport/udp_transport_impl.h', | |
| 139 ], | |
| 140 'msvs_disabled_warnings': [ | |
| 141 4302, # cast truncation | |
| 142 ], | |
| 143 'conditions': [ | |
| 144 ['OS=="win" and clang==1', { | |
| 145 'msvs_settings': { | |
| 146 'VCCLCompilerTool': { | |
| 147 'AdditionalOptions': [ | |
| 148 # Disable warnings failing when compiling with Clang on Windows. | |
| 149 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 | |
| 150 '-Wno-parentheses-equality', | |
| 151 '-Wno-reorder', | |
| 152 '-Wno-tautological-constant-out-of-range-compare', | |
| 153 '-Wno-unused-private-field', | |
| 154 ], | |
| 155 }, | |
| 156 }, | |
| 157 }], | |
| 158 ], # conditions. | |
| 159 }, | |
| 160 | |
| 161 ], | 111 ], |
| 162 'conditions': [ | 112 'conditions': [ |
| 163 ['OS=="win"', { | 113 ['OS=="win"', { |
| 164 'defines': ['WEBRTC_DRIFT_COMPENSATION_SUPPORTED',], | 114 'defines': ['WEBRTC_DRIFT_COMPENSATION_SUPPORTED',], |
| 165 }], | 115 }], |
| 166 ['include_tests==1', { | 116 ['include_tests==1', { |
| 167 'targets': [ | 117 'targets': [ |
| 168 { | 118 { |
| 169 'target_name': 'voice_engine_unittests', | 119 'target_name': 'voice_engine_unittests', |
| 170 'type': '<(gtest_target_type)', | 120 'type': '<(gtest_target_type)', |
| 171 'dependencies': [ | 121 'dependencies': [ |
| 172 'channel_transport', | |
| 173 'voice_engine', | 122 'voice_engine', |
| 174 '<(DEPTH)/testing/gmock.gyp:gmock', | 123 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 175 '<(DEPTH)/testing/gtest.gyp:gtest', | 124 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 176 # The rest are to satisfy the unittests' include chain. | 125 # The rest are to satisfy the unittests' include chain. |
| 177 # This would be unnecessary if we used qualified includes. | 126 # This would be unnecessary if we used qualified includes. |
| 178 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 127 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
| 179 '<(webrtc_root)/modules/modules.gyp:audio_device', | 128 '<(webrtc_root)/modules/modules.gyp:audio_device', |
| 180 '<(webrtc_root)/modules/modules.gyp:audio_processing', | 129 '<(webrtc_root)/modules/modules.gyp:audio_processing', |
| 181 '<(webrtc_root)/modules/modules.gyp:audio_coding_module', | 130 '<(webrtc_root)/modules/modules.gyp:audio_coding_module', |
| 182 '<(webrtc_root)/modules/modules.gyp:audio_conference_mixer', | 131 '<(webrtc_root)/modules/modules.gyp:audio_conference_mixer', |
| 183 '<(webrtc_root)/modules/modules.gyp:media_file', | 132 '<(webrtc_root)/modules/modules.gyp:media_file', |
| 184 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', | 133 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', |
| 185 '<(webrtc_root)/modules/modules.gyp:webrtc_utility', | 134 '<(webrtc_root)/modules/modules.gyp:webrtc_utility', |
| 186 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, | 135 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, |
| 187 '<(webrtc_root)/test/test.gyp:test_support_main', | 136 '<(webrtc_root)/test/test.gyp:test_support_main', |
| 188 ], | 137 ], |
| 189 'sources': [ | 138 'sources': [ |
| 190 'channel_unittest.cc', | 139 'channel_unittest.cc', |
| 191 'network_predictor_unittest.cc', | 140 'network_predictor_unittest.cc', |
| 192 'test/channel_transport/udp_transport_unittest.cc', | |
| 193 'test/channel_transport/udp_socket_manager_unittest.cc', | |
| 194 'test/channel_transport/udp_socket_wrapper_unittest.cc', | |
| 195 'transmit_mixer_unittest.cc', | 141 'transmit_mixer_unittest.cc', |
| 196 'utility_unittest.cc', | 142 'utility_unittest.cc', |
| 197 'voe_audio_processing_unittest.cc', | 143 'voe_audio_processing_unittest.cc', |
| 198 'voe_base_unittest.cc', | 144 'voe_base_unittest.cc', |
| 199 'voe_codec_unittest.cc', | 145 'voe_codec_unittest.cc', |
| 200 'voe_network_unittest.cc', | 146 'voe_network_unittest.cc', |
| 201 'voice_engine_fixture.cc', | 147 'voice_engine_fixture.cc', |
| 202 'voice_engine_fixture.h', | 148 'voice_engine_fixture.h', |
| 203 ], | 149 ], |
| 204 'conditions': [ | 150 'conditions': [ |
| 205 ['OS=="android"', { | 151 ['OS=="android"', { |
| 206 'dependencies': [ | 152 'dependencies': [ |
| 207 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_cod
e', | 153 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_cod
e', |
| 208 ], | 154 ], |
| 209 }], | 155 }], |
| 210 ], | 156 ], |
| 211 }, | 157 }, |
| 212 { | 158 { |
| 213 # command line test that should work on linux/mac/win | 159 # command line test that should work on linux/mac/win |
| 214 'target_name': 'voe_cmd_test', | 160 'target_name': 'voe_cmd_test', |
| 215 'type': 'executable', | 161 'type': 'executable', |
| 216 'dependencies': [ | 162 'dependencies': [ |
| 217 'channel_transport', | |
| 218 'voice_engine', | 163 'voice_engine', |
| 219 '<(DEPTH)/testing/gtest.gyp:gtest', | 164 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 220 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | 165 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
| 221 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, | 166 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, |
| 222 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_
default', | 167 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_
default', |
| 168 '<(webrtc_root)/test/test.gyp:channel_transport', |
| 223 '<(webrtc_root)/test/test.gyp:test_support', | 169 '<(webrtc_root)/test/test.gyp:test_support', |
| 224 '<(webrtc_root)/webrtc.gyp:rtc_event_log', | 170 '<(webrtc_root)/webrtc.gyp:rtc_event_log', |
| 225 ], | 171 ], |
| 226 'sources': [ | 172 'sources': [ |
| 227 'test/cmd_test/voe_cmd_test.cc', | 173 'test/cmd_test/voe_cmd_test.cc', |
| 228 ], | 174 ], |
| 229 }, | 175 }, |
| 230 ], # targets | 176 ], # targets |
| 231 'conditions': [ | 177 'conditions': [ |
| 232 ['OS!="ios"', { | 178 ['OS!="ios"', { |
| 233 'targets': [ | 179 'targets': [ |
| 234 { | 180 { |
| 235 'target_name': 'voe_auto_test', | 181 'target_name': 'voe_auto_test', |
| 236 'type': 'executable', | 182 'type': 'executable', |
| 237 'dependencies': [ | 183 'dependencies': [ |
| 238 'channel_transport', | |
| 239 'voice_engine', | 184 'voice_engine', |
| 240 '<(DEPTH)/testing/gmock.gyp:gmock', | 185 '<(DEPTH)/testing/gmock.gyp:gmock', |
| 241 '<(DEPTH)/testing/gtest.gyp:gtest', | 186 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 242 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | 187 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
| 243 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrapp
ers', | 188 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrapp
ers', |
| 244 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrapp
ers_default', | 189 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrapp
ers_default', |
| 190 '<(webrtc_root)/test/test.gyp:channel_transport', |
| 245 '<(webrtc_root)/test/test.gyp:test_common', | 191 '<(webrtc_root)/test/test.gyp:test_common', |
| 246 '<(webrtc_root)/test/test.gyp:test_support', | 192 '<(webrtc_root)/test/test.gyp:test_support', |
| 247 '<(webrtc_root)/webrtc.gyp:rtc_event_log', | 193 '<(webrtc_root)/webrtc.gyp:rtc_event_log', |
| 248 ], | 194 ], |
| 249 'sources': [ | 195 'sources': [ |
| 250 'test/auto_test/automated_mode.cc', | 196 'test/auto_test/automated_mode.cc', |
| 251 'test/auto_test/extended/agc_config_test.cc', | 197 'test/auto_test/extended/agc_config_test.cc', |
| 252 'test/auto_test/extended/ec_metrics_test.cc', | 198 'test/auto_test/extended/ec_metrics_test.cc', |
| 253 'test/auto_test/fakes/conference_transport.cc', | 199 'test/auto_test/fakes/conference_transport.cc', |
| 254 'test/auto_test/fakes/conference_transport.h', | 200 'test/auto_test/fakes/conference_transport.h', |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 'sources': [ | 317 'sources': [ |
| 372 'voe_auto_test.isolate', | 318 'voe_auto_test.isolate', |
| 373 ], | 319 ], |
| 374 }, | 320 }, |
| 375 ], | 321 ], |
| 376 }], | 322 }], |
| 377 ], # conditions | 323 ], # conditions |
| 378 }], # include_tests==1 | 324 }], # include_tests==1 |
| 379 ], # conditions | 325 ], # conditions |
| 380 } | 326 } |
| OLD | NEW |