1 # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
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.
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.
22 'target_name': 'audio_decoder_unittests_apk',
25 'test_suite_name': 'audio_decoder_unittests',
26 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)audio_decoder_unittests<(SHARED_LIB_SUFFIX)',
29 '<(webrtc_root)/modules/modules.gyp:audio_decoder_unittests',
32 '../../build/apk_test.gypi',
36 'target_name': 'common_audio_unittests_apk',
39 'test_suite_name': 'common_audio_unittests',
40 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)common_audio_unittests<(SHARED_LIB_SUFFIX)',
43 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio_unittests',
46 '../../build/apk_test.gypi',
50 'target_name': 'common_video_unittests_apk',
53 'test_suite_name': 'common_video_unittests',
54 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)common_video_unittests<(SHARED_LIB_SUFFIX)',
57 '<(webrtc_root)/common_video/common_video_unittests.gyp:common_video_unittests',
60 '../../build/apk_test.gypi',
64 'target_name': 'modules_tests_apk',
67 'test_suite_name': 'modules_tests',
68 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)modules_tests<(SHARED_LIB_SUFFIX)',
71 '<(webrtc_root)/modules/modules.gyp:modules_tests',
74 '../../build/apk_test.gypi',
78 'target_name': 'modules_unittests_apk',
81 'test_suite_name': 'modules_unittests',
82 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)modules_unittests<(SHARED_LIB_SUFFIX)',
85 '<(webrtc_root)/modules/modules.gyp:modules_unittests',
88 '../../build/apk_test.gypi',
92 'target_name': 'system_wrappers_unittests_apk',
95 'test_suite_name': 'system_wrappers_unittests',
96 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)system_wrappers_unittests<(SHARED_LIB_SUFFIX)',
99 '<(webrtc_root)/system_wrappers/source/system_wrappers_tests.gyp:system_wrappers_unittests',
102 '../../build/apk_test.gypi',
106 'target_name': 'test_support_unittests_apk',
109 'test_suite_name': 'test_support_unittests',
110 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)test_support_unittests<(SHARED_LIB_SUFFIX)',
113 '<(webrtc_root)/test/test.gyp:test_support_unittests',
116 '../../build/apk_test.gypi',
120 'target_name': 'tools_unittests_apk',
123 'test_suite_name': 'tools_unittests',
124 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)tools_unittests<(SHARED_LIB_SUFFIX)',
127 '<(webrtc_root)/tools/tools.gyp:tools_unittests',
130 '../../build/apk_test.gypi',
134 'target_name': 'video_engine_core_unittests_apk',
137 'test_suite_name': 'video_engine_core_unittests',
138 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)video_engine_core_unittests<(SHARED_LIB_SUFFIX)',
141 '<(webrtc_root)/video_engine/video_engine.gyp:video_engine_core_unittests',
144 '../../build/apk_test.gypi',
148 'target_name': 'video_engine_tests_apk',
151 'test_suite_name': 'video_engine_tests',
152 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)video_engine_tests<(SHARED_LIB_SUFFIX)',
155 '<(webrtc_root)/webrtc.gyp:video_engine_tests',
158 '../../build/apk_test.gypi',
162 'target_name': 'voice_engine_unittests_apk',
165 'test_suite_name': 'voice_engine_unittests',
166 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)voice_engine_unittests<(SHARED_LIB_SUFFIX)',
169 '<(webrtc_root)/voice_engine/voice_engine.gyp:voice_engine_unittests',
172 '../../build/apk_test.gypi',
176 'target_name': 'webrtc_perf_tests_apk',
179 'test_suite_name': 'webrtc_perf_tests',
180 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)webrtc_perf_tests<(SHARED_LIB_SUFFIX)',
183 '<(webrtc_root)/webrtc.gyp:webrtc_perf_tests',
186 '../../build/apk_test.gypi',
190 'target_name': 'audio_codec_speed_tests_apk',
193 'test_suite_name': 'audio_codec_speed_tests',
194 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)audio_codec_speed_tests<(SHARED_LIB_SUFFIX)',
197 '<(webrtc_root)/modules/modules.gyp:audio_codec_speed_tests',
200 '../../build/apk_test.gypi',
204 'target_name': 'video_capture_tests_apk',
207 'test_suite_name': 'video_capture_tests',
208 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)video_capture_tests<(SHARED_LIB_SUFFIX)',
211 '<(webrtc_root)/modules/modules.gyp:video_capture_tests',
212 'video_capture_java',
215 '../../build/apk_test.gypi',
219 # Used only by video_capture_tests_apk above, and impossible to use in the
220 # standalone build, which is why it's declared here instead of under
221 # modules/video_capture/ (to avoid the need for a forked _noop.gyp file
222 # like this file has; see comment at the top of this file).
223 'target_name': 'video_capture_java',
226 'java_in_dir': '<(webrtc_root)/modules/video_capture/android/java',
229 '../../build/java.gypi',