xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 1 | # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 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. |
| 8 | |
| 9 | { |
| 10 | 'includes': [ |
andrew@webrtc.org | 3ce62fc | 2011-10-06 01:03:18 +0000 | [diff] [blame] | 11 | '../build/common.gypi', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 12 | ], |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 13 | 'targets': [ |
| 14 | { |
| 15 | 'target_name': 'voice_engine', |
| 16 | 'type': 'static_library', |
| 17 | 'dependencies': [ |
kjellander | a69d973 | 2016-08-31 07:33:05 -0700 | [diff] [blame] | 18 | '<(webrtc_root)/api/api.gyp:call_api', |
kjellander@webrtc.org | 7ffeab5 | 2016-02-26 22:46:09 +0100 | [diff] [blame] | 19 | '<(webrtc_root)/base/base.gyp:rtc_base_approved', |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 20 | '<(webrtc_root)/common.gyp:webrtc_common', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 21 | '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
| 22 | '<(webrtc_root)/modules/modules.gyp:audio_coding_module', |
| 23 | '<(webrtc_root)/modules/modules.gyp:audio_conference_mixer', |
| 24 | '<(webrtc_root)/modules/modules.gyp:audio_device', |
| 25 | '<(webrtc_root)/modules/modules.gyp:audio_processing', |
minyue@webrtc.org | c1a40a7 | 2014-05-28 09:52:06 +0000 | [diff] [blame] | 26 | '<(webrtc_root)/modules/modules.gyp:bitrate_controller', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 27 | '<(webrtc_root)/modules/modules.gyp:media_file', |
Stefan Holmer | b86d4e4 | 2015-12-07 10:26:18 +0100 | [diff] [blame] | 28 | '<(webrtc_root)/modules/modules.gyp:paced_sender', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 29 | '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', |
| 30 | '<(webrtc_root)/modules/modules.gyp:webrtc_utility', |
andresp@webrtc.org | 86e1e48 | 2015-01-14 09:30:52 +0000 | [diff] [blame] | 31 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
ivoc | b04965c | 2015-09-09 00:09:43 -0700 | [diff] [blame] | 32 | '<(webrtc_root)/webrtc.gyp:rtc_event_log', |
aleloi | e6ca9ec | 2016-08-10 05:01:51 -0700 | [diff] [blame] | 33 | 'level_indicator', |
andrew@webrtc.org | 3ce62fc | 2011-10-06 01:03:18 +0000 | [diff] [blame] | 34 | ], |
minyue | 3cea256 | 2015-11-10 03:49:26 -0800 | [diff] [blame] | 35 | 'export_dependent_settings': [ |
| 36 | '<(webrtc_root)/modules/modules.gyp:audio_coding_module', |
| 37 | ], |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 38 | 'sources': [ |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 39 | 'include/voe_audio_processing.h', |
| 40 | 'include/voe_base.h', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 41 | 'include/voe_codec.h', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 42 | 'include/voe_errors.h', |
| 43 | 'include/voe_external_media.h', |
| 44 | 'include/voe_file.h', |
| 45 | 'include/voe_hardware.h', |
| 46 | 'include/voe_neteq_stats.h', |
| 47 | 'include/voe_network.h', |
| 48 | 'include/voe_rtp_rtcp.h', |
| 49 | 'include/voe_video_sync.h', |
| 50 | 'include/voe_volume_control.h', |
| 51 | 'channel.cc', |
| 52 | 'channel.h', |
| 53 | 'channel_manager.cc', |
| 54 | 'channel_manager.h', |
solenberg | 1372508 | 2015-11-25 08:16:52 -0800 | [diff] [blame] | 55 | 'channel_proxy.cc', |
| 56 | 'channel_proxy.h', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 57 | 'monitor_module.cc', |
| 58 | 'monitor_module.h', |
minyue@webrtc.org | 74aaf29 | 2014-07-16 21:28:26 +0000 | [diff] [blame] | 59 | 'network_predictor.cc', |
| 60 | 'network_predictor.h', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 61 | 'output_mixer.cc', |
| 62 | 'output_mixer.h', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 63 | 'shared_data.cc', |
| 64 | 'shared_data.h', |
| 65 | 'statistics.cc', |
| 66 | 'statistics.h', |
| 67 | 'transmit_mixer.cc', |
| 68 | 'transmit_mixer.h', |
| 69 | 'utility.cc', |
| 70 | 'utility.h', |
| 71 | 'voe_audio_processing_impl.cc', |
| 72 | 'voe_audio_processing_impl.h', |
| 73 | 'voe_base_impl.cc', |
| 74 | 'voe_base_impl.h', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 75 | 'voe_codec_impl.cc', |
| 76 | 'voe_codec_impl.h', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 77 | 'voe_external_media_impl.cc', |
| 78 | 'voe_external_media_impl.h', |
| 79 | 'voe_file_impl.cc', |
| 80 | 'voe_file_impl.h', |
| 81 | 'voe_hardware_impl.cc', |
| 82 | 'voe_hardware_impl.h', |
| 83 | 'voe_neteq_stats_impl.cc', |
| 84 | 'voe_neteq_stats_impl.h', |
| 85 | 'voe_network_impl.cc', |
| 86 | 'voe_network_impl.h', |
| 87 | 'voe_rtp_rtcp_impl.cc', |
| 88 | 'voe_rtp_rtcp_impl.h', |
| 89 | 'voe_video_sync_impl.cc', |
| 90 | 'voe_video_sync_impl.h', |
| 91 | 'voe_volume_control_impl.cc', |
| 92 | 'voe_volume_control_impl.h', |
| 93 | 'voice_engine_defines.h', |
| 94 | 'voice_engine_impl.cc', |
| 95 | 'voice_engine_impl.h', |
| 96 | ], |
| 97 | }, |
aleloi | e6ca9ec | 2016-08-10 05:01:51 -0700 | [diff] [blame] | 98 | { |
| 99 | 'target_name': 'level_indicator', |
| 100 | 'type': 'static_library', |
| 101 | 'dependencies': [ |
| 102 | '<(webrtc_root)/base/base.gyp:rtc_base_approved', |
| 103 | '<(webrtc_root)/common.gyp:webrtc_common', |
| 104 | '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
| 105 | ], |
| 106 | 'sources': [ |
| 107 | 'level_indicator.cc', |
| 108 | 'level_indicator.h', |
| 109 | ] |
solenberg | ba56b6c | 2016-09-13 07:29:12 -0700 | [diff] [blame^] | 110 | }, |
andrew@webrtc.org | 3ce62fc | 2011-10-06 01:03:18 +0000 | [diff] [blame] | 111 | ], |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 112 | 'conditions': [ |
| 113 | ['OS=="win"', { |
| 114 | 'defines': ['WEBRTC_DRIFT_COMPENSATION_SUPPORTED',], |
| 115 | }], |
| 116 | ['include_tests==1', { |
| 117 | 'targets': [ |
| 118 | { |
solenberg | ba56b6c | 2016-09-13 07:29:12 -0700 | [diff] [blame^] | 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 Windows. |
| 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 | { |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 168 | 'target_name': 'voice_engine_unittests', |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 169 | 'type': '<(gtest_target_type)', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 170 | 'dependencies': [ |
solenberg | ba56b6c | 2016-09-13 07:29:12 -0700 | [diff] [blame^] | 171 | 'channel_transport', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 172 | 'voice_engine', |
Jelena Marusic | 06b08af | 2015-04-21 11:39:57 +0200 | [diff] [blame] | 173 | '<(DEPTH)/testing/gmock.gyp:gmock', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 174 | '<(DEPTH)/testing/gtest.gyp:gtest', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 175 | # The rest are to satisfy the unittests' include chain. |
| 176 | # This would be unnecessary if we used qualified includes. |
| 177 | '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
| 178 | '<(webrtc_root)/modules/modules.gyp:audio_device', |
| 179 | '<(webrtc_root)/modules/modules.gyp:audio_processing', |
| 180 | '<(webrtc_root)/modules/modules.gyp:audio_coding_module', |
| 181 | '<(webrtc_root)/modules/modules.gyp:audio_conference_mixer', |
| 182 | '<(webrtc_root)/modules/modules.gyp:media_file', |
| 183 | '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', |
| 184 | '<(webrtc_root)/modules/modules.gyp:webrtc_utility', |
andresp@webrtc.org | 86e1e48 | 2015-01-14 09:30:52 +0000 | [diff] [blame] | 185 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
kjellander@webrtc.org | 6c35e0b | 2013-06-11 08:29:17 +0000 | [diff] [blame] | 186 | '<(webrtc_root)/test/test.gyp:test_support_main', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 187 | ], |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 188 | 'sources': [ |
| 189 | 'channel_unittest.cc', |
minyue@webrtc.org | 74aaf29 | 2014-07-16 21:28:26 +0000 | [diff] [blame] | 190 | 'network_predictor_unittest.cc', |
solenberg | ba56b6c | 2016-09-13 07:29:12 -0700 | [diff] [blame^] | 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', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 194 | 'transmit_mixer_unittest.cc', |
andrew@webrtc.org | a78a41f | 2014-04-08 23:09:28 +0000 | [diff] [blame] | 195 | 'utility_unittest.cc', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 196 | 'voe_audio_processing_unittest.cc', |
| 197 | 'voe_base_unittest.cc', |
| 198 | 'voe_codec_unittest.cc', |
Jelena Marusic | 46bd31b | 2015-04-30 10:57:10 +0200 | [diff] [blame] | 199 | 'voe_network_unittest.cc', |
| 200 | 'voice_engine_fixture.cc', |
| 201 | 'voice_engine_fixture.h', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 202 | ], |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 203 | 'conditions': [ |
kjellander@webrtc.org | 3bd4156 | 2014-09-01 11:06:37 +0000 | [diff] [blame] | 204 | ['OS=="android"', { |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 205 | 'dependencies': [ |
| 206 | '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
| 207 | ], |
| 208 | }], |
| 209 | ], |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 210 | }, |
| 211 | { |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 212 | # command line test that should work on linux/mac/win |
| 213 | 'target_name': 'voe_cmd_test', |
| 214 | 'type': 'executable', |
| 215 | 'dependencies': [ |
solenberg | ba56b6c | 2016-09-13 07:29:12 -0700 | [diff] [blame^] | 216 | 'channel_transport', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 217 | 'voice_engine', |
kjellander@webrtc.org | 6c35e0b | 2013-06-11 08:29:17 +0000 | [diff] [blame] | 218 | '<(DEPTH)/testing/gtest.gyp:gtest', |
minyue@webrtc.org | cc92e00 | 2013-09-30 08:43:50 +0000 | [diff] [blame] | 219 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
andresp@webrtc.org | 86e1e48 | 2015-01-14 09:30:52 +0000 | [diff] [blame] | 220 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
| 221 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default', |
kjellander@webrtc.org | 6c35e0b | 2013-06-11 08:29:17 +0000 | [diff] [blame] | 222 | '<(webrtc_root)/test/test.gyp:test_support', |
ivoc | b04965c | 2015-09-09 00:09:43 -0700 | [diff] [blame] | 223 | '<(webrtc_root)/webrtc.gyp:rtc_event_log', |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 224 | ], |
| 225 | 'sources': [ |
| 226 | 'test/cmd_test/voe_cmd_test.cc', |
| 227 | ], |
| 228 | }, |
| 229 | ], # targets |
| 230 | 'conditions': [ |
kjellander@webrtc.org | f22695c | 2015-11-19 15:39:29 +0100 | [diff] [blame] | 231 | ['OS!="ios"', { |
| 232 | 'targets': [ |
| 233 | { |
| 234 | 'target_name': 'voe_auto_test', |
| 235 | 'type': 'executable', |
| 236 | 'dependencies': [ |
solenberg | ba56b6c | 2016-09-13 07:29:12 -0700 | [diff] [blame^] | 237 | 'channel_transport', |
kjellander@webrtc.org | f22695c | 2015-11-19 15:39:29 +0100 | [diff] [blame] | 238 | 'voice_engine', |
| 239 | '<(DEPTH)/testing/gmock.gyp:gmock', |
| 240 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 241 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
| 242 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
| 243 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default', |
kjellander | 0e73934 | 2016-03-02 10:46:17 -0800 | [diff] [blame] | 244 | '<(webrtc_root)/test/test.gyp:test_common', |
kjellander@webrtc.org | f22695c | 2015-11-19 15:39:29 +0100 | [diff] [blame] | 245 | '<(webrtc_root)/test/test.gyp:test_support', |
kjellander@webrtc.org | f22695c | 2015-11-19 15:39:29 +0100 | [diff] [blame] | 246 | '<(webrtc_root)/webrtc.gyp:rtc_event_log', |
| 247 | ], |
| 248 | 'sources': [ |
| 249 | 'test/auto_test/automated_mode.cc', |
| 250 | 'test/auto_test/extended/agc_config_test.cc', |
| 251 | 'test/auto_test/extended/ec_metrics_test.cc', |
| 252 | 'test/auto_test/fakes/conference_transport.cc', |
| 253 | 'test/auto_test/fakes/conference_transport.h', |
| 254 | 'test/auto_test/fakes/loudest_filter.cc', |
| 255 | 'test/auto_test/fakes/loudest_filter.h', |
| 256 | 'test/auto_test/fixtures/after_initialization_fixture.cc', |
| 257 | 'test/auto_test/fixtures/after_initialization_fixture.h', |
| 258 | 'test/auto_test/fixtures/after_streaming_fixture.cc', |
| 259 | 'test/auto_test/fixtures/after_streaming_fixture.h', |
| 260 | 'test/auto_test/fixtures/before_initialization_fixture.cc', |
| 261 | 'test/auto_test/fixtures/before_initialization_fixture.h', |
| 262 | 'test/auto_test/fixtures/before_streaming_fixture.cc', |
| 263 | 'test/auto_test/fixtures/before_streaming_fixture.h', |
| 264 | 'test/auto_test/standard/audio_processing_test.cc', |
| 265 | 'test/auto_test/standard/codec_before_streaming_test.cc', |
| 266 | 'test/auto_test/standard/codec_test.cc', |
| 267 | 'test/auto_test/standard/dtmf_test.cc', |
| 268 | 'test/auto_test/standard/external_media_test.cc', |
| 269 | 'test/auto_test/standard/file_before_streaming_test.cc', |
| 270 | 'test/auto_test/standard/file_test.cc', |
| 271 | 'test/auto_test/standard/hardware_before_initializing_test.cc', |
| 272 | 'test/auto_test/standard/hardware_before_streaming_test.cc', |
| 273 | 'test/auto_test/standard/hardware_test.cc', |
| 274 | 'test/auto_test/standard/mixing_test.cc', |
| 275 | 'test/auto_test/standard/neteq_stats_test.cc', |
| 276 | 'test/auto_test/standard/rtp_rtcp_before_streaming_test.cc', |
| 277 | 'test/auto_test/standard/rtp_rtcp_extensions.cc', |
| 278 | 'test/auto_test/standard/rtp_rtcp_test.cc', |
| 279 | 'test/auto_test/standard/voe_base_misc_test.cc', |
| 280 | 'test/auto_test/standard/video_sync_test.cc', |
| 281 | 'test/auto_test/standard/volume_test.cc', |
| 282 | 'test/auto_test/resource_manager.cc', |
| 283 | 'test/auto_test/voe_conference_test.cc', |
| 284 | 'test/auto_test/voe_cpu_test.cc', |
| 285 | 'test/auto_test/voe_cpu_test.h', |
| 286 | 'test/auto_test/voe_output_test.cc', |
| 287 | 'test/auto_test/voe_standard_test.cc', |
| 288 | 'test/auto_test/voe_standard_test.h', |
| 289 | 'test/auto_test/voe_stress_test.cc', |
| 290 | 'test/auto_test/voe_stress_test.h', |
| 291 | 'test/auto_test/voe_test_defines.h', |
| 292 | 'test/auto_test/voe_test_interface.h', |
| 293 | ], |
| 294 | 'conditions': [ |
| 295 | ['OS=="android"', { |
| 296 | # some tests are not supported on android yet, exclude these tests. |
| 297 | 'sources!': [ |
| 298 | 'test/auto_test/standard/hardware_before_streaming_test.cc', |
| 299 | ], |
| 300 | }], |
| 301 | ['enable_protobuf==1', { |
| 302 | 'defines': [ |
| 303 | 'ENABLE_RTC_EVENT_LOG', |
| 304 | ], |
| 305 | }], |
| 306 | ], |
| 307 | # Disable warnings to enable Win64 build, issue 1323. |
| 308 | 'msvs_disabled_warnings': [ |
| 309 | 4267, # size_t to int truncation. |
| 310 | ], |
| 311 | }, |
| 312 | ], |
| 313 | }], |
kjellander@webrtc.org | 3bd4156 | 2014-09-01 11:06:37 +0000 | [diff] [blame] | 314 | ['OS=="android"', { |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 315 | 'targets': [ |
| 316 | { |
kjellander@webrtc.org | 0372b93 | 2014-09-03 14:34:46 +0000 | [diff] [blame] | 317 | 'target_name': 'voice_engine_unittests_apk_target', |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 318 | 'type': 'none', |
| 319 | 'dependencies': [ |
kjellander | 208d198 | 2016-05-31 04:01:38 -0700 | [diff] [blame] | 320 | '<(android_tests_path):voice_engine_unittests_apk', |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 321 | ], |
| 322 | }, |
| 323 | ], |
kjellander | e532aec | 2016-04-17 20:08:20 -0700 | [diff] [blame] | 324 | 'conditions': [ |
| 325 | ['test_isolation_mode != "noop"', |
| 326 | { |
| 327 | 'targets': [ |
| 328 | { |
| 329 | 'target_name': 'voice_engine_unittests_apk_run', |
| 330 | 'type': 'none', |
| 331 | 'dependencies': [ |
kjellander | 208d198 | 2016-05-31 04:01:38 -0700 | [diff] [blame] | 332 | '<(android_tests_path):voice_engine_unittests_apk', |
kjellander | e532aec | 2016-04-17 20:08:20 -0700 | [diff] [blame] | 333 | ], |
| 334 | 'includes': [ |
| 335 | '../build/isolate.gypi', |
| 336 | ], |
| 337 | 'sources': [ |
| 338 | 'voice_engine_unittests_apk.isolate', |
| 339 | ], |
| 340 | }, |
| 341 | ], |
| 342 | }, |
| 343 | ], |
| 344 | ], |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 345 | }], |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 346 | ['test_isolation_mode != "noop"', { |
| 347 | 'targets': [ |
| 348 | { |
| 349 | 'target_name': 'voice_engine_unittests_run', |
| 350 | 'type': 'none', |
| 351 | 'dependencies': [ |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 352 | 'voice_engine_unittests', |
| 353 | ], |
| 354 | 'includes': [ |
kjellander@webrtc.org | 2a97317 | 2013-10-02 19:31:16 +0000 | [diff] [blame] | 355 | '../build/isolate.gypi', |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 356 | ], |
| 357 | 'sources': [ |
| 358 | 'voice_engine_unittests.isolate', |
| 359 | ], |
| 360 | }, |
| 361 | { |
| 362 | 'target_name': 'voe_auto_test_run', |
| 363 | 'type': 'none', |
| 364 | 'dependencies': [ |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 365 | 'voe_auto_test', |
| 366 | ], |
| 367 | 'includes': [ |
kjellander@webrtc.org | 2a97317 | 2013-10-02 19:31:16 +0000 | [diff] [blame] | 368 | '../build/isolate.gypi', |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 369 | ], |
| 370 | 'sources': [ |
| 371 | 'voe_auto_test.isolate', |
| 372 | ], |
| 373 | }, |
| 374 | ], |
| 375 | }], |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 376 | ], # conditions |
kjellander@webrtc.org | f22695c | 2015-11-19 15:39:29 +0100 | [diff] [blame] | 377 | }], # include_tests==1 |
andrew@webrtc.org | f791b1c | 2013-05-29 00:38:02 +0000 | [diff] [blame] | 378 | ], # conditions |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 379 | } |