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 # 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 'variables': { | 20 'variables': { |
21 'shard_timeout': 900, | 21 'shard_timeout': 900, |
22 }, | 22 }, |
23 'targets': [ | 23 'targets': [ |
24 { | 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 { |
25 'target_name': 'audio_decoder_unittests_apk', | 40 'target_name': 'audio_decoder_unittests_apk', |
26 'type': 'none', | 41 'type': 'none', |
27 'variables': { | 42 'variables': { |
28 'test_suite_name': 'audio_decoder_unittests', | 43 'test_suite_name': 'audio_decoder_unittests', |
29 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)audio_decoder
_unittests<(SHARED_LIB_SUFFIX)', | 44 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)audio_decoder
_unittests<(SHARED_LIB_SUFFIX)', |
30 'isolate_file': '../modules/audio_decoder_unittests.isolate', | 45 'isolate_file': '../modules/audio_decoder_unittests.isolate', |
31 }, | 46 }, |
32 'dependencies': [ | 47 'dependencies': [ |
33 '<(webrtc_root)/modules/modules.gyp:audio_decoder_unittests', | 48 '<(webrtc_root)/modules/modules.gyp:audio_decoder_unittests', |
34 ], | 49 ], |
(...skipping 25 matching lines...) Expand all Loading... |
60 'isolate_file': '../common_video/common_video_unittests.isolate', | 75 'isolate_file': '../common_video/common_video_unittests.isolate', |
61 }, | 76 }, |
62 'dependencies': [ | 77 'dependencies': [ |
63 '<(webrtc_root)/common_video/common_video_unittests.gyp:common_video_uni
ttests', | 78 '<(webrtc_root)/common_video/common_video_unittests.gyp:common_video_uni
ttests', |
64 ], | 79 ], |
65 'includes': [ | 80 'includes': [ |
66 '../../build/apk_test.gypi', | 81 '../../build/apk_test.gypi', |
67 ], | 82 ], |
68 }, | 83 }, |
69 { | 84 { |
70 'target_name': 'peerconnection_unittests_apk', | |
71 'type': 'none', | |
72 'variables': { | |
73 'test_suite_name': 'peerconnection_unittests', | |
74 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)peerconnectio
n_unittests<(SHARED_LIB_SUFFIX)', | |
75 'isolate_file': '../api/peerconnection_unittests.isolate', | |
76 }, | |
77 'dependencies': [ | |
78 '<(webrtc_root)/api/api_tests.gyp:peerconnection_unittests', | |
79 '<(webrtc_root)/api/api.gyp:libjingle_peerconnection_java', | |
80 ], | |
81 'includes': [ | |
82 '../../build/apk_test.gypi', | |
83 ], | |
84 }, | |
85 { | |
86 'target_name': 'modules_tests_apk', | 85 'target_name': 'modules_tests_apk', |
87 'type': 'none', | 86 'type': 'none', |
88 'variables': { | 87 'variables': { |
89 'test_suite_name': 'modules_tests', | 88 'test_suite_name': 'modules_tests', |
90 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)modules_tests
<(SHARED_LIB_SUFFIX)', | 89 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)modules_tests
<(SHARED_LIB_SUFFIX)', |
91 'isolate_file': '../modules/modules_tests.isolate', | 90 'isolate_file': '../modules/modules_tests.isolate', |
92 }, | 91 }, |
93 'dependencies': [ | 92 'dependencies': [ |
94 '<(webrtc_root)/modules/modules.gyp:modules_tests', | 93 '<(webrtc_root)/modules/modules.gyp:modules_tests', |
95 ], | 94 ], |
(...skipping 11 matching lines...) Expand all Loading... |
107 }, | 106 }, |
108 'dependencies': [ | 107 'dependencies': [ |
109 '<(webrtc_root)/modules/modules.gyp:modules_unittests', | 108 '<(webrtc_root)/modules/modules.gyp:modules_unittests', |
110 'audio_device_java', | 109 'audio_device_java', |
111 ], | 110 ], |
112 'includes': [ | 111 'includes': [ |
113 '../../build/apk_test.gypi', | 112 '../../build/apk_test.gypi', |
114 ], | 113 ], |
115 }, | 114 }, |
116 { | 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 { |
117 'target_name': 'rtc_unittests_apk', | 132 'target_name': 'rtc_unittests_apk', |
118 'type': 'none', | 133 'type': 'none', |
119 'variables': { | 134 'variables': { |
120 'test_suite_name': 'rtc_unittests', | 135 'test_suite_name': 'rtc_unittests', |
121 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)rtc_unittests
<(SHARED_LIB_SUFFIX)', | 136 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)rtc_unittests
<(SHARED_LIB_SUFFIX)', |
122 'isolate_file': '../rtc_unittests.isolate', | 137 'isolate_file': '../rtc_unittests.isolate', |
123 }, | 138 }, |
124 'dependencies': [ | 139 'dependencies': [ |
125 '<(webrtc_root)/webrtc.gyp:rtc_unittests', | 140 '<(webrtc_root)/webrtc.gyp:rtc_unittests', |
126 ], | 141 ], |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 'isolate_file': '../webrtc_nonparallel_tests.isolate', | 243 'isolate_file': '../webrtc_nonparallel_tests.isolate', |
229 }, | 244 }, |
230 'dependencies': [ | 245 'dependencies': [ |
231 '<(webrtc_root)/webrtc.gyp:webrtc_nonparallel_tests', | 246 '<(webrtc_root)/webrtc.gyp:webrtc_nonparallel_tests', |
232 ], | 247 ], |
233 'includes': [ | 248 'includes': [ |
234 '../../build/apk_test.gypi', | 249 '../../build/apk_test.gypi', |
235 ], | 250 ], |
236 }, | 251 }, |
237 { | 252 { |
238 'target_name': 'audio_codec_speed_tests_apk', | |
239 'type': 'none', | |
240 'variables': { | |
241 'test_suite_name': 'audio_codec_speed_tests', | |
242 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)audio_codec_s
peed_tests<(SHARED_LIB_SUFFIX)', | |
243 'isolate_file': '../modules/audio_codec_speed_tests.isolate', | |
244 }, | |
245 'dependencies': [ | |
246 '<(webrtc_root)/modules/modules.gyp:audio_codec_speed_tests', | |
247 ], | |
248 'includes': [ | |
249 '../../build/apk_test.gypi', | |
250 ], | |
251 }, | |
252 { | |
253 'target_name': 'audio_device_java', | 253 'target_name': 'audio_device_java', |
254 'type': 'none', | 254 'type': 'none', |
255 'variables': { | 255 'variables': { |
256 'java_in_dir': '<(webrtc_root)/modules/audio_device/android/java', | 256 'java_in_dir': '<(webrtc_root)/modules/audio_device/android/java', |
257 'additional_src_dirs': [ '<(webrtc_root)/base/java/src', ], | 257 'additional_src_dirs': [ '<(webrtc_root)/base/java/src', ], |
258 'never_lint': 1, | 258 'never_lint': 1, |
259 }, | 259 }, |
260 'includes': [ | 260 'includes': [ |
261 '../../build/java.gypi', | 261 '../../build/java.gypi', |
262 ], | 262 ], |
263 }, | 263 }, |
264 ], | 264 ], |
265 } | 265 } |
266 | 266 |
267 | 267 |
OLD | NEW |