Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: talk/libjingle_tests.gyp

Issue 1587193006: Move talk/media to webrtc/media (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rename back test to libjingle_media_unittest Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # 1 #
2 # libjingle 2 # libjingle
3 # Copyright 2012 Google Inc. 3 # Copyright 2012 Google Inc.
4 # 4 #
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are met: 6 # modification, are permitted provided that the following conditions are met:
7 # 7 #
8 # 1. Redistributions of source code must retain the above copyright notice, 8 # 1. Redistributions of source code must retain the above copyright notice,
9 # this list of conditions and the following disclaimer. 9 # this list of conditions and the following disclaimer.
10 # 2. Redistributions in binary form must reproduce the above copyright notice, 10 # 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 10 matching lines...) Expand all
21 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 21 # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
22 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 22 # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 23 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
24 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 24 # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
25 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 26
27 { 27 {
28 'includes': ['build/common.gypi'], 28 'includes': ['build/common.gypi'],
29 'targets': [ 29 'targets': [
30 { 30 {
31 'target_name': 'libjingle_unittest_main',
32 'type': 'static_library',
33 'dependencies': [
34 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
35 '<@(libjingle_tests_additional_deps)',
36 ],
37 'direct_dependent_settings': {
38 'include_dirs': [
39 '<(libyuv_dir)/include',
40 '<(DEPTH)/testing/gtest/include',
41 '<(DEPTH)/testing/gtest',
42 ],
43 },
44 'conditions': [
45 ['build_libyuv==1', {
46 'dependencies': ['<(DEPTH)/third_party/libyuv/libyuv.gyp:libyuv',],
47 }],
48 ],
49 'include_dirs': [
50 '<(DEPTH)/testing/gtest/include',
51 '<(DEPTH)/testing/gtest',
52 ],
53 'sources': [
54 'media/base/fakecapturemanager.h',
55 'media/base/fakemediaengine.h',
56 'media/base/fakenetworkinterface.h',
57 'media/base/fakertp.h',
58 'media/base/fakevideocapturer.h',
59 'media/base/fakevideorenderer.h',
60 'media/base/testutils.cc',
61 'media/base/testutils.h',
62 'media/devices/fakedevicemanager.h',
63 'media/webrtc/fakewebrtccall.cc',
64 'media/webrtc/fakewebrtccall.h',
65 'media/webrtc/fakewebrtccommon.h',
66 'media/webrtc/fakewebrtcdeviceinfo.h',
67 'media/webrtc/fakewebrtcvcmfactory.h',
68 'media/webrtc/fakewebrtcvideocapturemodule.h',
69 'media/webrtc/fakewebrtcvideoengine.h',
70 'media/webrtc/fakewebrtcvoiceengine.h',
71 ],
72 }, # target libjingle_unittest_main
73 {
74 'target_name': 'libjingle_media_unittest',
75 'type': 'executable',
76 'dependencies': [
77 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
78 'libjingle.gyp:libjingle_media',
79 'libjingle_unittest_main',
80 ],
81 'sources': [
82 'media/base/capturemanager_unittest.cc',
83 'media/base/codec_unittest.cc',
84 'media/base/rtpdataengine_unittest.cc',
85 'media/base/rtpdump_unittest.cc',
86 'media/base/rtputils_unittest.cc',
87 'media/base/streamparams_unittest.cc',
88 'media/base/testutils.cc',
89 'media/base/testutils.h',
90 'media/base/turnutils_unittest.cc',
91 'media/base/videoadapter_unittest.cc',
92 'media/base/videocapturer_unittest.cc',
93 'media/base/videocommon_unittest.cc',
94 'media/base/videoengine_unittest.h',
95 'media/base/videoframe_unittest.h',
96 'media/devices/dummydevicemanager_unittest.cc',
97 'media/devices/filevideocapturer_unittest.cc',
98 'media/sctp/sctpdataengine_unittest.cc',
99 'media/webrtc/simulcast_unittest.cc',
100 'media/webrtc/webrtcmediaengine_unittest.cc',
101 'media/webrtc/webrtcvideocapturer_unittest.cc',
102 'media/webrtc/webrtcvideoframe_unittest.cc',
103 'media/webrtc/webrtcvideoframefactory_unittest.cc',
104 # Disabled because some tests fail.
105 # TODO(ronghuawu): Reenable these tests.
106 # 'media/devices/devicemanager_unittest.cc',
107 'media/webrtc/webrtcvideoengine2_unittest.cc',
108 'media/webrtc/webrtcvoiceengine_unittest.cc',
109 ],
110 'conditions': [
111 ['OS=="win"', {
112 'conditions': [
113 ['use_openssl==0', {
114 'dependencies': [
115 '<(DEPTH)/net/third_party/nss/ssl.gyp:libssl',
116 '<(DEPTH)/third_party/nss/nss.gyp:nspr',
117 '<(DEPTH)/third_party/nss/nss.gyp:nss',
118 ],
119 }],
120 ],
121 'msvs_settings': {
122 'VCLinkerTool': {
123 'AdditionalDependencies': [
124 # TODO(ronghuawu): Since we've included strmiids in
125 # libjingle_media target, we shouldn't need this here.
126 # Find out why it doesn't work without this.
127 'strmiids.lib',
128 ],
129 },
130 },
131 }],
132 ['OS=="win" and clang==1', {
133 'msvs_settings': {
134 'VCCLCompilerTool': {
135 'AdditionalOptions': [
136 # Disable warnings failing when compiling with Clang on Windows.
137 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
138 '-Wno-unused-function',
139 ],
140 },
141 },
142 },],
143 ['OS=="ios"', {
144 'sources!': [
145 'media/sctp/sctpdataengine_unittest.cc',
146 ],
147 }],
148 ],
149 }, # target libjingle_media_unittest
150 {
151 'target_name': 'libjingle_p2p_unittest', 31 'target_name': 'libjingle_p2p_unittest',
152 'type': 'executable', 32 'type': 'executable',
153 'dependencies': [ 33 'dependencies': [
154 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', 34 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
155 'libjingle.gyp:libjingle', 35 '<(webrtc_root)/webrtc.gyp:rtc_unittest_main',
156 'libjingle.gyp:libjingle_peerconnection', 36 'libjingle.gyp:libjingle_peerconnection',
157 'libjingle.gyp:libjingle_p2p', 37 'libjingle.gyp:libjingle_p2p',
158 'libjingle_unittest_main',
159 ], 38 ],
160 'include_dirs': [ 39 'include_dirs': [
161 '<(DEPTH)/third_party/libsrtp/srtp', 40 '<(DEPTH)/third_party/libsrtp/srtp',
162 ], 41 ],
163 'sources': [ 42 'sources': [
164 'session/media/bundlefilter_unittest.cc', 43 'session/media/bundlefilter_unittest.cc',
165 'session/media/channel_unittest.cc', 44 'session/media/channel_unittest.cc',
166 'session/media/channelmanager_unittest.cc', 45 'session/media/channelmanager_unittest.cc',
167 'session/media/currentspeakermonitor_unittest.cc', 46 'session/media/currentspeakermonitor_unittest.cc',
168 'session/media/mediasession_unittest.cc', 47 'session/media/mediasession_unittest.cc',
(...skipping 17 matching lines...) Expand all
186 }], 65 }],
187 ], 66 ],
188 }, # target libjingle_p2p_unittest 67 }, # target libjingle_p2p_unittest
189 { 68 {
190 'target_name': 'libjingle_peerconnection_unittest', 69 'target_name': 'libjingle_peerconnection_unittest',
191 'type': '<(gtest_target_type)', 70 'type': '<(gtest_target_type)',
192 'dependencies': [ 71 'dependencies': [
193 '<(DEPTH)/testing/gmock.gyp:gmock', 72 '<(DEPTH)/testing/gmock.gyp:gmock',
194 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', 73 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
195 '<(webrtc_root)/common.gyp:webrtc_common', 74 '<(webrtc_root)/common.gyp:webrtc_common',
196 'libjingle.gyp:libjingle', 75 '<(webrtc_root)/webrtc.gyp:rtc_unittest_main',
197 'libjingle.gyp:libjingle_p2p', 76 'libjingle.gyp:libjingle_p2p',
198 'libjingle.gyp:libjingle_peerconnection', 77 'libjingle.gyp:libjingle_peerconnection',
199 'libjingle_unittest_main',
200 ], 78 ],
201 'direct_dependent_settings': { 79 'direct_dependent_settings': {
202 'include_dirs': [ 80 'include_dirs': [
203 '<(DEPTH)/testing/gmock/include', 81 '<(DEPTH)/testing/gmock/include',
204 ], 82 ],
205 }, 83 },
206 'sources': [ 84 'sources': [
207 'app/webrtc/datachannel_unittest.cc', 85 'app/webrtc/datachannel_unittest.cc',
208 'app/webrtc/dtlsidentitystore_unittest.cc', 86 'app/webrtc/dtlsidentitystore_unittest.cc',
209 'app/webrtc/dtmfsender_unittest.cc', 87 'app/webrtc/dtmfsender_unittest.cc',
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 'type': 'none', 297 'type': 'none',
420 'dependencies': [ 298 'dependencies': [
421 '<(DEPTH)/webrtc/build/apk_tests.gyp:libjingle_peerconnection_unitte st_apk', 299 '<(DEPTH)/webrtc/build/apk_tests.gyp:libjingle_peerconnection_unitte st_apk',
422 ], 300 ],
423 }, 301 },
424 ], 302 ],
425 }], 303 }],
426 ['test_isolation_mode != "noop"', { 304 ['test_isolation_mode != "noop"', {
427 'targets': [ 305 'targets': [
428 { 306 {
429 'target_name': 'libjingle_media_unittest_run',
430 'type': 'none',
431 'dependencies': [
432 'libjingle_media_unittest',
433 ],
434 'includes': [
435 'build/isolate.gypi',
436 ],
437 'sources': [
438 'libjingle_media_unittest.isolate',
439 ],
440 },
441 {
442 'target_name': 'libjingle_p2p_unittest_run', 307 'target_name': 'libjingle_p2p_unittest_run',
443 'type': 'none', 308 'type': 'none',
444 'dependencies': [ 309 'dependencies': [
445 'libjingle_p2p_unittest', 310 'libjingle_p2p_unittest',
446 ], 311 ],
447 'includes': [ 312 'includes': [
448 'build/isolate.gypi', 313 'build/isolate.gypi',
449 ], 314 ],
450 'sources': [ 315 'sources': [
451 'libjingle_p2p_unittest.isolate', 316 'libjingle_p2p_unittest.isolate',
452 ], 317 ],
453 }, 318 },
454 { 319 {
455 'target_name': 'libjingle_peerconnection_unittest_run', 320 'target_name': 'libjingle_peerconnection_unittest_run',
456 'type': 'none', 321 'type': 'none',
457 'dependencies': [ 322 'dependencies': [
458 'libjingle_peerconnection_unittest', 323 'libjingle_peerconnection_unittest',
459 ], 324 ],
460 'includes': [ 325 'includes': [
461 'build/isolate.gypi', 326 'build/isolate.gypi',
462 ], 327 ],
463 'sources': [ 328 'sources': [
464 'libjingle_peerconnection_unittest.isolate', 329 'libjingle_peerconnection_unittest.isolate',
465 ], 330 ],
466 }, 331 },
467 ], 332 ],
468 }], 333 }],
469 ], 334 ],
470 } 335 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698