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

Side by Side Diff: talk/libjingle_tests.gyp

Issue 1610243002: Move talk/app/webrtc to webrtc/api (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Removed processing of api.gyp for Chromium builds Created 4 years, 10 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
« no previous file with comments | « talk/libjingle.gyp ('k') | talk/peerconnection_unittests.isolate » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 13 matching lines...) Expand all
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_p2p_unittest', 31 'target_name': 'libjingle_p2p_unittest',
32 'type': 'executable', 32 'type': 'executable',
33 'dependencies': [ 33 'dependencies': [
34 '<(webrtc_root)/api/api.gyp:libjingle_peerconnection',
34 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', 35 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
35 '<(webrtc_root)/webrtc.gyp:rtc_unittest_main', 36 '<(webrtc_root)/webrtc.gyp:rtc_unittest_main',
36 'libjingle.gyp:libjingle_peerconnection',
37 'libjingle.gyp:libjingle_p2p', 37 'libjingle.gyp:libjingle_p2p',
38 ], 38 ],
39 'include_dirs': [ 39 'include_dirs': [
40 '<(DEPTH)/third_party/libsrtp/srtp', 40 '<(DEPTH)/third_party/libsrtp/srtp',
41 ], 41 ],
42 'sources': [ 42 'sources': [
43 'session/media/bundlefilter_unittest.cc', 43 'session/media/bundlefilter_unittest.cc',
44 'session/media/channel_unittest.cc', 44 'session/media/channel_unittest.cc',
45 'session/media/channelmanager_unittest.cc', 45 'session/media/channelmanager_unittest.cc',
46 'session/media/currentspeakermonitor_unittest.cc', 46 'session/media/currentspeakermonitor_unittest.cc',
(...skipping 11 matching lines...) Expand all
58 'msvs_settings': { 58 'msvs_settings': {
59 'VCLinkerTool': { 59 'VCLinkerTool': {
60 'AdditionalDependencies': [ 60 'AdditionalDependencies': [
61 'strmiids.lib', 61 'strmiids.lib',
62 ], 62 ],
63 }, 63 },
64 }, 64 },
65 }], 65 }],
66 ], 66 ],
67 }, # target libjingle_p2p_unittest 67 }, # target libjingle_p2p_unittest
68 {
69 'target_name': 'peerconnection_unittests',
70 'type': '<(gtest_target_type)',
71 'dependencies': [
72 '<(DEPTH)/testing/gmock.gyp:gmock',
73 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
74 '<(webrtc_root)/common.gyp:webrtc_common',
75 '<(webrtc_root)/webrtc.gyp:rtc_unittest_main',
76 'libjingle.gyp:libjingle_p2p',
77 'libjingle.gyp:libjingle_peerconnection',
78 ],
79 'direct_dependent_settings': {
80 'include_dirs': [
81 '<(DEPTH)/testing/gmock/include',
82 ],
83 },
84 'sources': [
85 'app/webrtc/datachannel_unittest.cc',
86 'app/webrtc/dtlsidentitystore_unittest.cc',
87 'app/webrtc/dtmfsender_unittest.cc',
88 'app/webrtc/fakemetricsobserver.cc',
89 'app/webrtc/fakemetricsobserver.h',
90 'app/webrtc/jsepsessiondescription_unittest.cc',
91 'app/webrtc/localaudiosource_unittest.cc',
92 'app/webrtc/mediastream_unittest.cc',
93 'app/webrtc/peerconnection_unittest.cc',
94 'app/webrtc/peerconnectionendtoend_unittest.cc',
95 'app/webrtc/peerconnectionfactory_unittest.cc',
96 'app/webrtc/peerconnectioninterface_unittest.cc',
97 # 'app/webrtc/peerconnectionproxy_unittest.cc',
98 'app/webrtc/remotevideocapturer_unittest.cc',
99 'app/webrtc/rtpsenderreceiver_unittest.cc',
100 'app/webrtc/statscollector_unittest.cc',
101 'app/webrtc/test/fakeaudiocapturemodule.cc',
102 'app/webrtc/test/fakeaudiocapturemodule.h',
103 'app/webrtc/test/fakeaudiocapturemodule_unittest.cc',
104 'app/webrtc/test/fakeconstraints.h',
105 'app/webrtc/test/fakedatachannelprovider.h',
106 'app/webrtc/test/fakedtlsidentitystore.h',
107 'app/webrtc/test/fakeperiodicvideocapturer.h',
108 'app/webrtc/test/fakevideotrackrenderer.h',
109 'app/webrtc/test/mockpeerconnectionobservers.h',
110 'app/webrtc/test/peerconnectiontestwrapper.h',
111 'app/webrtc/test/peerconnectiontestwrapper.cc',
112 'app/webrtc/test/testsdpstrings.h',
113 'app/webrtc/videosource_unittest.cc',
114 'app/webrtc/videotrack_unittest.cc',
115 'app/webrtc/webrtcsdp_unittest.cc',
116 'app/webrtc/webrtcsession_unittest.cc',
117 ],
118 'conditions': [
119 ['OS=="android"', {
120 'sources': [
121 'app/webrtc/test/androidtestinitializer.cc',
122 'app/webrtc/test/androidtestinitializer.h',
123 ],
124 'dependencies': [
125 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
126 'libjingle.gyp:libjingle_peerconnection_jni',
127 ],
128 }],
129 ['OS=="win" and clang==1', {
130 'msvs_settings': {
131 'VCCLCompilerTool': {
132 'AdditionalOptions': [
133 # Disable warnings failing when compiling with Clang on Windows.
134 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
135 '-Wno-unused-function',
136 ],
137 },
138 },
139 }],
140 ],
141 }, # target peerconnection_unittests
142 ], 68 ],
143 'conditions': [ 69 'conditions': [
144 ['OS=="android"', {
145 'targets': [
146 {
147 'target_name': 'libjingle_peerconnection_android_unittest',
148 'type': 'none',
149 'dependencies': [
150 'libjingle.gyp:libjingle_peerconnection_java',
151 ],
152 'variables': {
153 'apk_name': 'libjingle_peerconnection_android_unittest',
154 'java_in_dir': 'app/webrtc/androidtests',
155 'resource_dir': 'app/webrtc/androidtests/res',
156 'native_lib_target': 'libjingle_peerconnection_so',
157 'is_test_apk': 1,
158 },
159 'includes': [ '../build/java_apk.gypi' ],
160 },
161 ], # targets
162 }], # OS=="android"
163 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { 70 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', {
164 # The >=10.7 above is required to make ARC link cleanly (e.g. as 71 # The >=10.7 above is required to make ARC link cleanly (e.g. as
165 # opposed to _compile_ cleanly, which the library under test 72 # opposed to _compile_ cleanly, which the library under test
166 # does just fine on 10.6 too). 73 # does just fine on 10.6 too).
167 'targets': [ 74 'targets': [
168 { 75 {
169 'target_name': 'libjingle_peerconnection_objc_test', 76 'target_name': 'libjingle_peerconnection_objc_test',
170 'type': 'executable', 77 'type': 'executable',
171 'includes': [ 'build/objc_app.gypi' ], 78 'includes': [ 'build/objc_app.gypi' ],
172 'dependencies': [ 79 'dependencies': [
(...skipping 24 matching lines...) Expand all
197 }], 104 }],
198 ], 105 ],
199 }, # target libjingle_peerconnection_objc_test 106 }, # target libjingle_peerconnection_objc_test
200 { 107 {
201 'target_name': 'apprtc_signaling_gunit_test', 108 'target_name': 'apprtc_signaling_gunit_test',
202 'type': 'executable', 109 'type': 'executable',
203 'includes': [ 'build/objc_app.gypi' ], 110 'includes': [ 'build/objc_app.gypi' ],
204 'dependencies': [ 111 'dependencies': [
205 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils', 112 '<(webrtc_root)/base/base_tests.gyp:rtc_base_tests_utils',
206 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa ult', 113 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:field_trial_defa ult',
114 '<(webrtc_root)/webrtc_examples.gyp:apprtc_signaling',
207 '<(DEPTH)/third_party/ocmock/ocmock.gyp:ocmock', 115 '<(DEPTH)/third_party/ocmock/ocmock.gyp:ocmock',
208 '<(webrtc_root)/webrtc_examples.gyp:apprtc_signaling',
209 ], 116 ],
210 'sources': [ 117 'sources': [
211 'app/webrtc/objctests/mac/main.mm', 118 'app/webrtc/objctests/mac/main.mm',
212 '<(webrtc_root)/examples/objc/AppRTCDemo/tests/ARDAppClientTest.mm', 119 '<(webrtc_root)/examples/objc/AppRTCDemo/tests/ARDAppClientTest.mm',
213 ], 120 ],
214 'conditions': [ 121 'conditions': [
215 ['OS=="mac"', { 122 ['OS=="mac"', {
216 'xcode_settings': { 123 'xcode_settings': {
217 'MACOSX_DEPLOYMENT_TARGET' : '10.8', 124 'MACOSX_DEPLOYMENT_TARGET' : '10.8',
218 }, 125 },
219 }], 126 }],
220 ], 127 ],
221 }, # target apprtc_signaling_gunit_test 128 }, # target apprtc_signaling_gunit_test
222 ], 129 ],
223 }], 130 }],
224 ['OS=="android"', {
225 'targets': [
226 {
227 'target_name': 'peerconnection_unittests_apk_target',
228 'type': 'none',
229 'dependencies': [
230 '<(DEPTH)/webrtc/build/apk_tests.gyp:peerconnection_unittests_apk',
231 ],
232 },
233 ],
234 }],
235 ['test_isolation_mode != "noop"', { 131 ['test_isolation_mode != "noop"', {
236 'targets': [ 132 'targets': [
237 { 133 {
238 'target_name': 'libjingle_p2p_unittest_run', 134 'target_name': 'libjingle_p2p_unittest_run',
239 'type': 'none', 135 'type': 'none',
240 'dependencies': [ 136 'dependencies': [
241 'libjingle_p2p_unittest', 137 'libjingle_p2p_unittest',
242 ], 138 ],
243 'includes': [ 139 'includes': [
244 'build/isolate.gypi', 140 'build/isolate.gypi',
245 ], 141 ],
246 'sources': [ 142 'sources': [
247 'libjingle_p2p_unittest.isolate', 143 'libjingle_p2p_unittest.isolate',
248 ], 144 ],
249 }, 145 },
250 {
251 'target_name': 'peerconnection_unittests_run',
252 'type': 'none',
253 'dependencies': [
254 'peerconnection_unittests',
255 ],
256 'includes': [
257 'build/isolate.gypi',
258 ],
259 'sources': [
260 'peerconnection_unittests.isolate',
261 ],
262 },
263 ], 146 ],
264 }], 147 }],
265 ], 148 ],
266 } 149 }
OLDNEW
« no previous file with comments | « talk/libjingle.gyp ('k') | talk/peerconnection_unittests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698