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

Side by Side Diff: webrtc/build/apk_tests.gyp

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

Powered by Google App Engine
This is Rietveld 408576698