OLD | NEW |
| (Empty) |
1 # Copyright (c) 2013 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 # This file exists in two versions. A no-op version under | |
10 # webrtc/build/apk_tests_noop.gyp and this one. This gyp file builds the apk | |
11 # unit tests (for Android) assuming that WebRTC is built inside a Chromium | |
12 # workspace. The no-op version is included when building WebRTC without | |
13 # Chromium. This is a workaround for the fact that 'includes' don't expand | |
14 # variables and that the relative location of apk_test.gypi is different for | |
15 # WebRTC when built as part of Chromium and when it is built without Chromium. | |
16 { | |
17 'includes': [ | |
18 'common.gypi', | |
19 ], | |
20 'variables': { | |
21 'shard_timeout': 900, | |
22 }, | |
23 'targets': [ | |
24 { | |
25 'target_name': 'audio_codec_speed_tests_apk', | |
26 'type': 'none', | |
27 'variables': { | |
28 'test_suite_name': 'audio_codec_speed_tests', | |
29 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)audio_codec_s
peed_tests<(SHARED_LIB_SUFFIX)', | |
30 'isolate_file': '../modules/audio_codec_speed_tests.isolate', | |
31 }, | |
32 'dependencies': [ | |
33 '<(webrtc_root)/modules/modules.gyp:audio_codec_speed_tests', | |
34 ], | |
35 'includes': [ | |
36 '../../build/apk_test.gypi', | |
37 ], | |
38 }, | |
39 { | |
40 'target_name': 'audio_decoder_unittests_apk', | |
41 'type': 'none', | |
42 'variables': { | |
43 'test_suite_name': 'audio_decoder_unittests', | |
44 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)audio_decoder
_unittests<(SHARED_LIB_SUFFIX)', | |
45 'isolate_file': '../modules/audio_decoder_unittests.isolate', | |
46 }, | |
47 'dependencies': [ | |
48 '<(webrtc_root)/modules/modules.gyp:audio_decoder_unittests', | |
49 ], | |
50 'includes': [ | |
51 '../../build/apk_test.gypi', | |
52 ], | |
53 }, | |
54 { | |
55 'target_name': 'common_audio_unittests_apk', | |
56 'type': 'none', | |
57 'variables': { | |
58 'test_suite_name': 'common_audio_unittests', | |
59 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)common_audio_
unittests<(SHARED_LIB_SUFFIX)', | |
60 'isolate_file': '../common_audio/common_audio_unittests.isolate', | |
61 }, | |
62 'dependencies': [ | |
63 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio_unittests', | |
64 ], | |
65 'includes': [ | |
66 '../../build/apk_test.gypi', | |
67 ], | |
68 }, | |
69 { | |
70 'target_name': 'common_video_unittests_apk', | |
71 'type': 'none', | |
72 'variables': { | |
73 'test_suite_name': 'common_video_unittests', | |
74 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)common_video_
unittests<(SHARED_LIB_SUFFIX)', | |
75 'isolate_file': '../common_video/common_video_unittests.isolate', | |
76 }, | |
77 'dependencies': [ | |
78 '<(webrtc_root)/common_video/common_video_unittests.gyp:common_video_uni
ttests', | |
79 ], | |
80 'includes': [ | |
81 '../../build/apk_test.gypi', | |
82 ], | |
83 }, | |
84 { | |
85 'target_name': 'modules_tests_apk', | |
86 'type': 'none', | |
87 'variables': { | |
88 'test_suite_name': 'modules_tests', | |
89 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)modules_tests
<(SHARED_LIB_SUFFIX)', | |
90 'isolate_file': '../modules/modules_tests.isolate', | |
91 }, | |
92 'dependencies': [ | |
93 '<(webrtc_root)/modules/modules.gyp:modules_tests', | |
94 ], | |
95 'includes': [ | |
96 '../../build/apk_test.gypi', | |
97 ], | |
98 }, | |
99 { | |
100 'target_name': 'modules_unittests_apk', | |
101 'type': 'none', | |
102 'variables': { | |
103 'test_suite_name': 'modules_unittests', | |
104 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)modules_unitt
ests<(SHARED_LIB_SUFFIX)', | |
105 'isolate_file': '../modules/modules_unittests.isolate', | |
106 }, | |
107 'dependencies': [ | |
108 '<(webrtc_root)/modules/modules.gyp:modules_unittests', | |
109 'audio_device_java', | |
110 ], | |
111 'includes': [ | |
112 '../../build/apk_test.gypi', | |
113 ], | |
114 }, | |
115 { | |
116 'target_name': 'peerconnection_unittests_apk', | |
117 'type': 'none', | |
118 'variables': { | |
119 'test_suite_name': 'peerconnection_unittests', | |
120 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)peerconnectio
n_unittests<(SHARED_LIB_SUFFIX)', | |
121 'isolate_file': '../api/peerconnection_unittests.isolate', | |
122 }, | |
123 'dependencies': [ | |
124 '<(webrtc_root)/api/api_tests.gyp:peerconnection_unittests', | |
125 '<(webrtc_root)/api/api.gyp:libjingle_peerconnection_java', | |
126 ], | |
127 'includes': [ | |
128 '../../build/apk_test.gypi', | |
129 ], | |
130 }, | |
131 { | |
132 'target_name': 'rtc_unittests_apk', | |
133 'type': 'none', | |
134 'variables': { | |
135 'test_suite_name': 'rtc_unittests', | |
136 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)rtc_unittests
<(SHARED_LIB_SUFFIX)', | |
137 'isolate_file': '../rtc_unittests.isolate', | |
138 }, | |
139 'dependencies': [ | |
140 '<(webrtc_root)/webrtc.gyp:rtc_unittests', | |
141 ], | |
142 'includes': [ | |
143 '../../build/apk_test.gypi', | |
144 ], | |
145 }, | |
146 { | |
147 'target_name': 'system_wrappers_unittests_apk', | |
148 'type': 'none', | |
149 'variables': { | |
150 'test_suite_name': 'system_wrappers_unittests', | |
151 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)system_wrappe
rs_unittests<(SHARED_LIB_SUFFIX)', | |
152 'isolate_file': '../system_wrappers/system_wrappers_unittests.isolate', | |
153 }, | |
154 'dependencies': [ | |
155 '<(webrtc_root)/system_wrappers/system_wrappers_tests.gyp:system_wrapper
s_unittests', | |
156 ], | |
157 'includes': [ | |
158 '../../build/apk_test.gypi', | |
159 ], | |
160 }, | |
161 { | |
162 'target_name': 'test_support_unittests_apk', | |
163 'type': 'none', | |
164 'variables': { | |
165 'test_suite_name': 'test_support_unittests', | |
166 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)test_support_
unittests<(SHARED_LIB_SUFFIX)', | |
167 'isolate_file': '../test/test_support_unittests.isolate', | |
168 }, | |
169 'dependencies': [ | |
170 '<(webrtc_root)/test/test.gyp:test_support_unittests', | |
171 ], | |
172 'includes': [ | |
173 '../../build/apk_test.gypi', | |
174 ], | |
175 }, | |
176 { | |
177 'target_name': 'tools_unittests_apk', | |
178 'type': 'none', | |
179 'variables': { | |
180 'test_suite_name': 'tools_unittests', | |
181 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)tools_unittes
ts<(SHARED_LIB_SUFFIX)', | |
182 'isolate_file': '../tools/tools_unittests.isolate', | |
183 }, | |
184 'dependencies': [ | |
185 '<(webrtc_root)/tools/tools.gyp:tools_unittests', | |
186 ], | |
187 'includes': [ | |
188 '../../build/apk_test.gypi', | |
189 ], | |
190 }, | |
191 { | |
192 'target_name': 'video_engine_tests_apk', | |
193 'type': 'none', | |
194 'variables': { | |
195 'test_suite_name': 'video_engine_tests', | |
196 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)video_engine_
tests<(SHARED_LIB_SUFFIX)', | |
197 'isolate_file': '../video_engine_tests.isolate', | |
198 }, | |
199 'dependencies': [ | |
200 '<(webrtc_root)/webrtc.gyp:video_engine_tests', | |
201 ], | |
202 'includes': [ | |
203 '../../build/apk_test.gypi', | |
204 ], | |
205 }, | |
206 { | |
207 'target_name': 'voice_engine_unittests_apk', | |
208 'type': 'none', | |
209 'variables': { | |
210 'test_suite_name': 'voice_engine_unittests', | |
211 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)voice_engine_
unittests<(SHARED_LIB_SUFFIX)', | |
212 'isolate_file': '../voice_engine/voice_engine_unittests.isolate', | |
213 }, | |
214 'dependencies': [ | |
215 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine_unittests', | |
216 ], | |
217 'includes': [ | |
218 '../../build/apk_test.gypi', | |
219 ], | |
220 }, | |
221 { | |
222 'target_name': 'webrtc_perf_tests_apk', | |
223 'type': 'none', | |
224 'variables': { | |
225 'test_suite_name': 'webrtc_perf_tests', | |
226 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)webrtc_perf_t
ests<(SHARED_LIB_SUFFIX)', | |
227 'isolate_file': '../webrtc_perf_tests.isolate', | |
228 'shard_timeout': 2700, | |
229 }, | |
230 'dependencies': [ | |
231 '<(webrtc_root)/webrtc.gyp:webrtc_perf_tests', | |
232 ], | |
233 'includes': [ | |
234 '../../build/apk_test.gypi', | |
235 ], | |
236 }, | |
237 { | |
238 'target_name': 'webrtc_nonparallel_tests_apk', | |
239 'type': 'none', | |
240 'variables': { | |
241 'test_suite_name': 'webrtc_nonparallel_tests', | |
242 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)webrtc_nonpar
allel_tests<(SHARED_LIB_SUFFIX)', | |
243 'isolate_file': '../webrtc_nonparallel_tests.isolate', | |
244 }, | |
245 'dependencies': [ | |
246 '<(webrtc_root)/webrtc.gyp:webrtc_nonparallel_tests', | |
247 ], | |
248 'includes': [ | |
249 '../../build/apk_test.gypi', | |
250 ], | |
251 }, | |
252 { | |
253 'target_name': 'audio_device_java', | |
254 'type': 'none', | |
255 'variables': { | |
256 'java_in_dir': '<(webrtc_root)/modules/audio_device/android/java', | |
257 'additional_src_dirs': [ '<(webrtc_root)/base/java/src', ], | |
258 'never_lint': 1, | |
259 }, | |
260 'includes': [ | |
261 '../../build/java.gypi', | |
262 ], | |
263 }, | |
264 ], | |
265 } | |
266 | |
267 | |
OLD | NEW |