OLD | NEW |
1 # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2013 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 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'rtc_unittests', | 11 'target_name': 'rtc_unittests', |
12 'type': '<(gtest_target_type)', | 12 'type': '<(gtest_target_type)', |
13 'dependencies': [ | 13 'dependencies': [ |
14 'base/base.gyp:rtc_base', | 14 'base/base.gyp:rtc_base', |
15 'base/base.gyp:rtc_task_queue', | 15 'base/base.gyp:rtc_task_queue', |
16 'base/base_tests.gyp:rtc_base_tests_utils', | 16 'base/base_tests.gyp:rtc_base_tests_utils', |
17 'base/base_tests.gyp:rtc_base_tests', | |
18 'p2p/p2p.gyp:rtc_p2p', | 17 'p2p/p2p.gyp:rtc_p2p', |
19 'p2p/p2p.gyp:libstunprober', | 18 'p2p/p2p.gyp:libstunprober', |
20 'p2p/p2p.gyp:rtc_p2p_unittest', | |
21 '<(DEPTH)/testing/gtest.gyp:gtest', | 19 '<(DEPTH)/testing/gtest.gyp:gtest', |
22 '<(DEPTH)/testing/gmock.gyp:gmock', | 20 '<(DEPTH)/testing/gmock.gyp:gmock', |
23 ], | 21 ], |
| 22 'sources': [ |
| 23 'base/array_view_unittest.cc', |
| 24 'base/atomicops_unittest.cc', |
| 25 'base/autodetectproxy_unittest.cc', |
| 26 'base/bandwidthsmoother_unittest.cc', |
| 27 'base/base64_unittest.cc', |
| 28 'base/basictypes_unittest.cc', |
| 29 'base/bind_unittest.cc', |
| 30 'base/bitbuffer_unittest.cc', |
| 31 'base/buffer_unittest.cc', |
| 32 'base/bufferqueue_unittest.cc', |
| 33 'base/bytebuffer_unittest.cc', |
| 34 'base/byteorder_unittest.cc', |
| 35 'base/callback_unittest.cc', |
| 36 'base/copyonwritebuffer_unittest.cc', |
| 37 'base/crc32_unittest.cc', |
| 38 'base/criticalsection_unittest.cc', |
| 39 'base/event_tracer_unittest.cc', |
| 40 'base/event_unittest.cc', |
| 41 'base/exp_filter_unittest.cc', |
| 42 'base/fakeclock.cc', |
| 43 'base/fakeclock.h', |
| 44 'base/filerotatingstream_unittest.cc', |
| 45 'base/fileutils_unittest.cc', |
| 46 'base/helpers_unittest.cc', |
| 47 'base/httpbase_unittest.cc', |
| 48 'base/httpcommon_unittest.cc', |
| 49 'base/httpserver_unittest.cc', |
| 50 'base/ipaddress_unittest.cc', |
| 51 'base/logging_unittest.cc', |
| 52 'base/md5digest_unittest.cc', |
| 53 'base/messagedigest_unittest.cc', |
| 54 'base/messagequeue_unittest.cc', |
| 55 'base/mod_ops_unittest.cc', |
| 56 'base/multipart_unittest.cc', |
| 57 'base/nat_unittest.cc', |
| 58 'base/network_unittest.cc', |
| 59 'base/onetimeevent_unittest.cc', |
| 60 'base/optional_unittest.cc', |
| 61 'base/optionsfile_unittest.cc', |
| 62 'base/pathutils_unittest.cc', |
| 63 'base/platform_thread_unittest.cc', |
| 64 'base/profiler_unittest.cc', |
| 65 'base/proxy_unittest.cc', |
| 66 'base/proxydetect_unittest.cc', |
| 67 'base/random_unittest.cc', |
| 68 'base/rate_statistics_unittest.cc', |
| 69 'base/ratelimiter_unittest.cc', |
| 70 'base/ratetracker_unittest.cc', |
| 71 'base/referencecountedsingletonfactory_unittest.cc', |
| 72 'base/rollingaccumulator_unittest.cc', |
| 73 'base/rtccertificate_unittest.cc', |
| 74 'base/rtccertificategenerator_unittest.cc', |
| 75 'base/scopedptrcollection_unittest.cc', |
| 76 'base/sha1digest_unittest.cc', |
| 77 'base/sharedexclusivelock_unittest.cc', |
| 78 'base/signalthread_unittest.cc', |
| 79 'base/sigslot_unittest.cc', |
| 80 'base/sigslottester.h', |
| 81 'base/sigslottester.h.pump', |
| 82 'base/stream_unittest.cc', |
| 83 'base/stringencode_unittest.cc', |
| 84 'base/stringutils_unittest.cc', |
| 85 'base/swap_queue_unittest.cc', |
| 86 # TODO(ronghuawu): Reenable this test. |
| 87 # 'systeminfo_unittest.cc', |
| 88 'base/task_queue_unittest.cc', |
| 89 'base/task_unittest.cc', |
| 90 'base/testclient_unittest.cc', |
| 91 'base/thread_checker_unittest.cc', |
| 92 'base/thread_unittest.cc', |
| 93 'base/timedelta.h', |
| 94 'base/timeutils_unittest.cc', |
| 95 'base/urlencode_unittest.cc', |
| 96 'base/versionparsing_unittest.cc', |
| 97 # TODO(ronghuawu): Reenable this test. |
| 98 # 'windowpicker_unittest.cc', |
| 99 'p2p/base/dtlstransportchannel_unittest.cc', |
| 100 'p2p/base/fakeportallocator.h', |
| 101 'p2p/base/faketransportcontroller.h', |
| 102 'p2p/base/p2ptransportchannel_unittest.cc', |
| 103 'p2p/base/port_unittest.cc', |
| 104 'p2p/base/portallocator_unittest.cc', |
| 105 'p2p/base/pseudotcp_unittest.cc', |
| 106 'p2p/base/relayport_unittest.cc', |
| 107 'p2p/base/relayserver_unittest.cc', |
| 108 'p2p/base/stun_unittest.cc', |
| 109 'p2p/base/stunport_unittest.cc', |
| 110 'p2p/base/stunrequest_unittest.cc', |
| 111 'p2p/base/stunserver_unittest.cc', |
| 112 'p2p/base/testrelayserver.h', |
| 113 'p2p/base/teststunserver.h', |
| 114 'p2p/base/testturnserver.h', |
| 115 'p2p/base/transport_unittest.cc', |
| 116 'p2p/base/transportcontroller_unittest.cc', |
| 117 'p2p/base/transportdescriptionfactory_unittest.cc', |
| 118 'p2p/base/tcpport_unittest.cc', |
| 119 'p2p/base/turnport_unittest.cc', |
| 120 'p2p/client/basicportallocator_unittest.cc', |
| 121 'p2p/stunprober/stunprober_unittest.cc', |
| 122 ], |
24 'conditions': [ | 123 'conditions': [ |
| 124 ['OS=="linux"', { |
| 125 'sources': [ |
| 126 'base/latebindingsymboltable_unittest.cc', |
| 127 # TODO(ronghuawu): Reenable this test. |
| 128 # 'linux_unittest.cc', |
| 129 'base/linuxfdwalk_unittest.cc', |
| 130 ], |
| 131 }], |
| 132 ['OS=="win"', { |
| 133 'sources': [ |
| 134 'base/win32_unittest.cc', |
| 135 'base/win32regkey_unittest.cc', |
| 136 'base/win32window_unittest.cc', |
| 137 'base/win32windowpicker_unittest.cc', |
| 138 'base/winfirewall_unittest.cc', |
| 139 ], |
| 140 'sources!': [ |
| 141 # TODO(pbos): Reenable this test. |
| 142 'base/win32windowpicker_unittest.cc', |
| 143 ], |
| 144 }], |
| 145 ['OS=="win" and clang==1', { |
| 146 'msvs_settings': { |
| 147 'VCCLCompilerTool': { |
| 148 'AdditionalOptions': [ |
| 149 # Disable warnings failing when compiling with Clang on Windows. |
| 150 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366 |
| 151 '-Wno-missing-braces', |
| 152 '-Wno-sign-compare', |
| 153 '-Wno-unused-const-variable', |
| 154 ], |
| 155 }, |
| 156 }, |
| 157 }], |
| 158 ['OS=="mac"', { |
| 159 'sources': [ |
| 160 'base/macutils_unittest.cc', |
| 161 ], |
| 162 }], |
| 163 ['os_posix==1', { |
| 164 'sources': [ |
| 165 'base/ssladapter_unittest.cc', |
| 166 'base/sslidentity_unittest.cc', |
| 167 'base/sslstreamadapter_unittest.cc', |
| 168 ], |
| 169 }], |
| 170 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { |
| 171 'defines': [ |
| 172 'CARBON_DEPRECATED=YES', |
| 173 ], |
| 174 }], |
| 175 ['use_quic==1', { |
| 176 'sources': [ |
| 177 'p2p/quic/quicconnectionhelper_unittest.cc', |
| 178 'p2p/quic/quicsession_unittest.cc', |
| 179 'p2p/quic/quictransport_unittest.cc', |
| 180 'p2p/quic/quictransportchannel_unittest.cc', |
| 181 'p2p/quic/reliablequicstream_unittest.cc', |
| 182 ], |
| 183 }], |
25 ['OS=="android"', { | 184 ['OS=="android"', { |
26 'dependencies': [ | 185 'dependencies': [ |
27 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', | 186 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
28 ], | 187 ], |
29 }], | 188 }], |
30 ['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', { | 189 ['OS=="ios" or (OS=="mac" and mac_deployment_target=="10.7")', { |
31 'dependencies': [ | 190 'dependencies': [ |
32 'sdk/sdk_tests.gyp:rtc_sdk_peerconnection_objc_tests', | 191 'sdk/sdk_tests.gyp:rtc_sdk_peerconnection_objc_tests', |
33 ], | 192 ], |
34 }], | 193 }], |
35 ], | 194 ], |
36 }, | 195 }, |
37 { | 196 { |
38 'target_name': 'xmllite_xmpp_unittests', | 197 'target_name': 'xmllite_xmpp_unittests', |
39 'type': '<(gtest_target_type)', | 198 'type': '<(gtest_target_type)', |
40 'dependencies': [ | 199 'dependencies': [ |
41 'base/base_tests.gyp:rtc_base_tests_utils', # needed for main() | 200 'base/base_tests.gyp:rtc_base_tests_utils', # needed for main() |
42 'libjingle/xmllite/xmllite.gyp:rtc_xmllite', | 201 'libjingle/xmllite/xmllite.gyp:rtc_xmllite', |
43 'libjingle/xmpp/xmpp.gyp:rtc_xmpp', | 202 'libjingle/xmpp/xmpp.gyp:rtc_xmpp', |
44 'libjingle/xmllite/xmllite.gyp:rtc_xmllite_unittest', | |
45 'libjingle/xmpp/xmpp.gyp:rtc_xmpp_unittest', | |
46 '<(DEPTH)/testing/gtest.gyp:gtest', | 203 '<(DEPTH)/testing/gtest.gyp:gtest', |
47 ], | 204 ], |
| 205 'sources': [ |
| 206 'libjingle/xmllite/qname_unittest.cc', |
| 207 'libjingle/xmllite/xmlbuilder_unittest.cc', |
| 208 'libjingle/xmllite/xmlelement_unittest.cc', |
| 209 'libjingle/xmllite/xmlnsstack_unittest.cc', |
| 210 'libjingle/xmllite/xmlparser_unittest.cc', |
| 211 'libjingle/xmllite/xmlprinter_unittest.cc', |
| 212 'libjingle/xmpp/fakexmppclient.h', |
| 213 'libjingle/xmpp/hangoutpubsubclient_unittest.cc', |
| 214 'libjingle/xmpp/jid_unittest.cc', |
| 215 'libjingle/xmpp/mucroomconfigtask_unittest.cc', |
| 216 'libjingle/xmpp/mucroomdiscoverytask_unittest.cc', |
| 217 'libjingle/xmpp/mucroomlookuptask_unittest.cc', |
| 218 'libjingle/xmpp/mucroomuniquehangoutidtask_unittest.cc', |
| 219 'libjingle/xmpp/pingtask_unittest.cc', |
| 220 'libjingle/xmpp/pubsubclient_unittest.cc', |
| 221 'libjingle/xmpp/pubsubtasks_unittest.cc', |
| 222 'libjingle/xmpp/util_unittest.cc', |
| 223 'libjingle/xmpp/util_unittest.h', |
| 224 'libjingle/xmpp/xmppengine_unittest.cc', |
| 225 'libjingle/xmpp/xmpplogintask_unittest.cc', |
| 226 'libjingle/xmpp/xmppstanzaparser_unittest.cc', |
| 227 ], |
48 }, | 228 }, |
49 { | 229 { |
50 'target_name': 'webrtc_tests', | 230 'target_name': 'webrtc_tests', |
51 'type': 'none', | 231 'type': 'none', |
52 'dependencies': [ | 232 'dependencies': [ |
53 'video_engine_tests', | 233 'video_engine_tests', |
54 'video_loopback', | 234 'video_loopback', |
55 'video_replay', | 235 'video_replay', |
56 'webrtc_perf_tests', | 236 'webrtc_perf_tests', |
57 'webrtc_nonparallel_tests', | 237 'webrtc_nonparallel_tests', |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 'build/isolate.gypi', | 653 'build/isolate.gypi', |
474 ], | 654 ], |
475 'sources': [ | 655 'sources': [ |
476 'webrtc_perf_tests.isolate', | 656 'webrtc_perf_tests.isolate', |
477 ], | 657 ], |
478 }, | 658 }, |
479 ], | 659 ], |
480 }], | 660 }], |
481 ], | 661 ], |
482 } | 662 } |
OLD | NEW |