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