xref: /aosp_15_r20/external/webrtc/modules/BUILD.gn (revision d9f758449e529ab9291ac668be2861e7a55c2422)
1*d9f75844SAndroid Build Coastguard Worker# Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2*d9f75844SAndroid Build Coastguard Worker#
3*d9f75844SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license
4*d9f75844SAndroid Build Coastguard Worker# that can be found in the LICENSE file in the root of the source
5*d9f75844SAndroid Build Coastguard Worker# tree. An additional intellectual property rights grant can be found
6*d9f75844SAndroid Build Coastguard Worker# in the file PATENTS.  All contributing project authors may
7*d9f75844SAndroid Build Coastguard Worker# be found in the AUTHORS file in the root of the source tree.
8*d9f75844SAndroid Build Coastguard Worker
9*d9f75844SAndroid Build Coastguard Workerimport("../webrtc.gni")
10*d9f75844SAndroid Build Coastguard Workerimport("audio_coding/audio_coding.gni")
11*d9f75844SAndroid Build Coastguard Worker
12*d9f75844SAndroid Build Coastguard Workergroup("modules") {
13*d9f75844SAndroid Build Coastguard Worker  deps = [
14*d9f75844SAndroid Build Coastguard Worker    "audio_coding",
15*d9f75844SAndroid Build Coastguard Worker    "audio_device",
16*d9f75844SAndroid Build Coastguard Worker    "audio_mixer",
17*d9f75844SAndroid Build Coastguard Worker    "audio_processing",
18*d9f75844SAndroid Build Coastguard Worker    "congestion_controller",
19*d9f75844SAndroid Build Coastguard Worker    "pacing",
20*d9f75844SAndroid Build Coastguard Worker    "remote_bitrate_estimator",
21*d9f75844SAndroid Build Coastguard Worker    "rtp_rtcp",
22*d9f75844SAndroid Build Coastguard Worker    "utility",
23*d9f75844SAndroid Build Coastguard Worker    "video_coding",
24*d9f75844SAndroid Build Coastguard Worker  ]
25*d9f75844SAndroid Build Coastguard Worker
26*d9f75844SAndroid Build Coastguard Worker  if (rtc_desktop_capture_supported) {
27*d9f75844SAndroid Build Coastguard Worker    deps += [ "desktop_capture" ]
28*d9f75844SAndroid Build Coastguard Worker  }
29*d9f75844SAndroid Build Coastguard Worker}
30*d9f75844SAndroid Build Coastguard Worker
31*d9f75844SAndroid Build Coastguard Workerrtc_source_set("module_api_public") {
32*d9f75844SAndroid Build Coastguard Worker  sources = [ "include/module_common_types_public.h" ]
33*d9f75844SAndroid Build Coastguard Worker  absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
34*d9f75844SAndroid Build Coastguard Worker}
35*d9f75844SAndroid Build Coastguard Worker
36*d9f75844SAndroid Build Coastguard Workerrtc_source_set("module_api") {
37*d9f75844SAndroid Build Coastguard Worker  visibility = [ "*" ]
38*d9f75844SAndroid Build Coastguard Worker  sources = [ "include/module_common_types.h" ]
39*d9f75844SAndroid Build Coastguard Worker}
40*d9f75844SAndroid Build Coastguard Worker
41*d9f75844SAndroid Build Coastguard Workerrtc_source_set("module_fec_api") {
42*d9f75844SAndroid Build Coastguard Worker  visibility = [ "*" ]
43*d9f75844SAndroid Build Coastguard Worker  sources = [ "include/module_fec_types.h" ]
44*d9f75844SAndroid Build Coastguard Worker}
45*d9f75844SAndroid Build Coastguard Worker
46*d9f75844SAndroid Build Coastguard Workerif (rtc_include_tests && !build_with_chromium) {
47*d9f75844SAndroid Build Coastguard Worker  modules_tests_resources = [
48*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_coding/testfile16kHz.pcm",
49*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_coding/testfile32kHz.pcm",
50*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_coding/teststereo32kHz.pcm",
51*d9f75844SAndroid Build Coastguard Worker    "../resources/foreman_cif.yuv",
52*d9f75844SAndroid Build Coastguard Worker  ]
53*d9f75844SAndroid Build Coastguard Worker
54*d9f75844SAndroid Build Coastguard Worker  if (is_ios) {
55*d9f75844SAndroid Build Coastguard Worker    bundle_data("modules_tests_bundle_data") {
56*d9f75844SAndroid Build Coastguard Worker      testonly = true
57*d9f75844SAndroid Build Coastguard Worker      sources = modules_tests_resources
58*d9f75844SAndroid Build Coastguard Worker      outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
59*d9f75844SAndroid Build Coastguard Worker    }
60*d9f75844SAndroid Build Coastguard Worker  }
61*d9f75844SAndroid Build Coastguard Worker
62*d9f75844SAndroid Build Coastguard Worker  rtc_test("modules_tests") {
63*d9f75844SAndroid Build Coastguard Worker    testonly = true
64*d9f75844SAndroid Build Coastguard Worker
65*d9f75844SAndroid Build Coastguard Worker    deps = [
66*d9f75844SAndroid Build Coastguard Worker      "../test:test_main",
67*d9f75844SAndroid Build Coastguard Worker      "../test:video_test_common",
68*d9f75844SAndroid Build Coastguard Worker      "audio_coding:audio_coding_modules_tests",
69*d9f75844SAndroid Build Coastguard Worker      "rtp_rtcp:rtp_rtcp_modules_tests",
70*d9f75844SAndroid Build Coastguard Worker      "video_coding:video_coding_modules_tests",
71*d9f75844SAndroid Build Coastguard Worker      "//testing/gtest",
72*d9f75844SAndroid Build Coastguard Worker    ]
73*d9f75844SAndroid Build Coastguard Worker
74*d9f75844SAndroid Build Coastguard Worker    if (rtc_desktop_capture_supported) {
75*d9f75844SAndroid Build Coastguard Worker      deps += [ "desktop_capture:desktop_capture_modules_tests" ]
76*d9f75844SAndroid Build Coastguard Worker    }
77*d9f75844SAndroid Build Coastguard Worker
78*d9f75844SAndroid Build Coastguard Worker    data = modules_tests_resources
79*d9f75844SAndroid Build Coastguard Worker
80*d9f75844SAndroid Build Coastguard Worker    if (is_android) {
81*d9f75844SAndroid Build Coastguard Worker      use_default_launcher = false
82*d9f75844SAndroid Build Coastguard Worker      deps += [
83*d9f75844SAndroid Build Coastguard Worker        # NOTE(brandtr): Including Java classes seems only to be possible from
84*d9f75844SAndroid Build Coastguard Worker        # rtc_test targets. Therefore we include this target here, instead of
85*d9f75844SAndroid Build Coastguard Worker        # in video_coding_modules_tests, where it is actually used.
86*d9f75844SAndroid Build Coastguard Worker        "../sdk/android:libjingle_peerconnection_java",
87*d9f75844SAndroid Build Coastguard Worker        "//sdk/android:native_test_jni_onload",
88*d9f75844SAndroid Build Coastguard Worker        "//testing/android/native_test:native_test_support",
89*d9f75844SAndroid Build Coastguard Worker      ]
90*d9f75844SAndroid Build Coastguard Worker      shard_timeout = 900
91*d9f75844SAndroid Build Coastguard Worker    }
92*d9f75844SAndroid Build Coastguard Worker
93*d9f75844SAndroid Build Coastguard Worker    if (is_ios) {
94*d9f75844SAndroid Build Coastguard Worker      deps += [ ":modules_tests_bundle_data" ]
95*d9f75844SAndroid Build Coastguard Worker    }
96*d9f75844SAndroid Build Coastguard Worker  }
97*d9f75844SAndroid Build Coastguard Worker
98*d9f75844SAndroid Build Coastguard Worker  modules_unittests_resources = [
99*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_coding/neteq_opus.rtp",
100*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_coding/neteq_opus_dtx.rtp",
101*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_coding/neteq_universal_new.rtp",
102*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_coding/speech_4_channels_48k_one_second.wav",
103*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_coding/speech_mono_16kHz.pcm",
104*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_coding/speech_mono_32_48kHz.pcm",
105*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_coding/testfile16kHz.pcm",
106*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_coding/testfile32kHz.pcm",
107*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_coding/testfile_fake_stereo_32kHz.pcm",
108*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_coding/teststereo32kHz.pcm",
109*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_device/audio_short16.pcm",
110*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_device/audio_short44.pcm",
111*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_device/audio_short48.pcm",
112*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/agc/agc_audio.pcm",
113*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/agc/agc_no_circular_buffer.dat",
114*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/agc/agc_pitch_gain.dat",
115*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/agc/agc_pitch_lag.dat",
116*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/agc/agc_spectral_peak.dat",
117*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/agc/agc_vad.dat",
118*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/agc/agc_voicing_prob.dat",
119*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/agc/agc_with_circular_buffer.dat",
120*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/output_data_fixed.pb",
121*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/output_data_float.pb",
122*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/output_data_float_avx2.pb",
123*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/output_data_mac.pb",
124*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/ajm-macbook-1-spke16m.pcm",
125*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/audio16kHz.pcm",
126*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/audio32kHz.pcm",
127*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/audio48kHz.pcm",
128*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/audio8kHz.pcm",
129*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/detect16kHz.dat",
130*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/detect32kHz.dat",
131*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/detect48kHz.dat",
132*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/detect8kHz.dat",
133*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/double-utils.dat",
134*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/float-utils.dat",
135*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/suppressed16kHz.pcm",
136*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/suppressed32kHz.pcm",
137*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/suppressed8kHz.pcm",
138*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/wpd0.dat",
139*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/wpd1.dat",
140*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/wpd2.dat",
141*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/wpd3.dat",
142*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/wpd4.dat",
143*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/wpd5.dat",
144*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/wpd6.dat",
145*d9f75844SAndroid Build Coastguard Worker    "../resources/audio_processing/transient/wpd7.dat",
146*d9f75844SAndroid Build Coastguard Worker    "../resources/deflicker_before_cif_short.yuv",
147*d9f75844SAndroid Build Coastguard Worker    "../resources/far16_stereo.pcm",
148*d9f75844SAndroid Build Coastguard Worker    "../resources/far176_stereo.pcm",
149*d9f75844SAndroid Build Coastguard Worker    "../resources/far192_stereo.pcm",
150*d9f75844SAndroid Build Coastguard Worker    "../resources/far22_stereo.pcm",
151*d9f75844SAndroid Build Coastguard Worker    "../resources/far32_stereo.pcm",
152*d9f75844SAndroid Build Coastguard Worker    "../resources/far44_stereo.pcm",
153*d9f75844SAndroid Build Coastguard Worker    "../resources/far48_stereo.pcm",
154*d9f75844SAndroid Build Coastguard Worker    "../resources/far88_stereo.pcm",
155*d9f75844SAndroid Build Coastguard Worker    "../resources/far8_stereo.pcm",
156*d9f75844SAndroid Build Coastguard Worker    "../resources/far96_stereo.pcm",
157*d9f75844SAndroid Build Coastguard Worker    "../resources/foremanColorEnhanced_cif_short.yuv",
158*d9f75844SAndroid Build Coastguard Worker    "../resources/foreman_cif.yuv",
159*d9f75844SAndroid Build Coastguard Worker    "../resources/foreman_cif_short.yuv",
160*d9f75844SAndroid Build Coastguard Worker    "../resources/near16_stereo.pcm",
161*d9f75844SAndroid Build Coastguard Worker    "../resources/near176_stereo.pcm",
162*d9f75844SAndroid Build Coastguard Worker    "../resources/near192_stereo.pcm",
163*d9f75844SAndroid Build Coastguard Worker    "../resources/near22_stereo.pcm",
164*d9f75844SAndroid Build Coastguard Worker    "../resources/near32_stereo.pcm",
165*d9f75844SAndroid Build Coastguard Worker    "../resources/near44_stereo.pcm",
166*d9f75844SAndroid Build Coastguard Worker    "../resources/near48_stereo.pcm",
167*d9f75844SAndroid Build Coastguard Worker    "../resources/near88_stereo.pcm",
168*d9f75844SAndroid Build Coastguard Worker    "../resources/near8_stereo.pcm",
169*d9f75844SAndroid Build Coastguard Worker    "../resources/near96_stereo.pcm",
170*d9f75844SAndroid Build Coastguard Worker    "../resources/ref03.aecdump",
171*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_0_AST.bin",
172*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_0_TOF.bin",
173*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_1_AST.bin",
174*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_1_TOF.bin",
175*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_0_AST.bin",
176*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_0_TOF.bin",
177*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_1_AST.bin",
178*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_1_TOF.bin",
179*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDelay1_0_AST.bin",
180*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDelay1_0_TOF.bin",
181*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLoss1_0_AST.bin",
182*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLoss1_0_TOF.bin",
183*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_AST.bin",
184*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_TOF.bin",
185*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0_AST.bin",
186*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0_TOF.bin",
187*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1_AST.bin",
188*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1_TOF.bin",
189*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0_AST.bin",
190*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0_TOF.bin",
191*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_AST.bin",
192*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_TOF.bin",
193*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpeed_0_AST.bin",
194*d9f75844SAndroid Build Coastguard Worker    "../resources/remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpeed_0_TOF.bin",
195*d9f75844SAndroid Build Coastguard Worker    "../resources/short_mixed_mono_48.dat",
196*d9f75844SAndroid Build Coastguard Worker    "../resources/short_mixed_mono_48.pcm",
197*d9f75844SAndroid Build Coastguard Worker    "../resources/short_mixed_mono_48_arm.dat",
198*d9f75844SAndroid Build Coastguard Worker    "../resources/short_mixed_stereo_48.dat",
199*d9f75844SAndroid Build Coastguard Worker    "../resources/short_mixed_stereo_48.pcm",
200*d9f75844SAndroid Build Coastguard Worker    "../resources/voice_engine/audio_tiny48.wav",
201*d9f75844SAndroid Build Coastguard Worker  ]
202*d9f75844SAndroid Build Coastguard Worker  if (is_ios) {
203*d9f75844SAndroid Build Coastguard Worker    bundle_data("modules_unittests_bundle_data") {
204*d9f75844SAndroid Build Coastguard Worker      testonly = true
205*d9f75844SAndroid Build Coastguard Worker      sources = modules_unittests_resources
206*d9f75844SAndroid Build Coastguard Worker      outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ]
207*d9f75844SAndroid Build Coastguard Worker    }
208*d9f75844SAndroid Build Coastguard Worker  }
209*d9f75844SAndroid Build Coastguard Worker
210*d9f75844SAndroid Build Coastguard Worker  rtc_test("modules_unittests") {
211*d9f75844SAndroid Build Coastguard Worker    testonly = true
212*d9f75844SAndroid Build Coastguard Worker    defines = []
213*d9f75844SAndroid Build Coastguard Worker    sources = [ "module_common_types_unittest.cc" ]
214*d9f75844SAndroid Build Coastguard Worker
215*d9f75844SAndroid Build Coastguard Worker    deps = [
216*d9f75844SAndroid Build Coastguard Worker      ":module_api",
217*d9f75844SAndroid Build Coastguard Worker      ":module_api_public",
218*d9f75844SAndroid Build Coastguard Worker      "../test:test_main",
219*d9f75844SAndroid Build Coastguard Worker      "../test:test_support",
220*d9f75844SAndroid Build Coastguard Worker      "audio_coding:audio_coding_unittests",
221*d9f75844SAndroid Build Coastguard Worker      "audio_device:audio_device_unittests",
222*d9f75844SAndroid Build Coastguard Worker      "audio_mixer:audio_mixer_unittests",
223*d9f75844SAndroid Build Coastguard Worker      "audio_processing:audio_processing_unittests",
224*d9f75844SAndroid Build Coastguard Worker      "audio_processing/aec3:aec3_unittests",
225*d9f75844SAndroid Build Coastguard Worker      "audio_processing/ns:ns_unittests",
226*d9f75844SAndroid Build Coastguard Worker      "congestion_controller:congestion_controller_unittests",
227*d9f75844SAndroid Build Coastguard Worker      "pacing:pacing_unittests",
228*d9f75844SAndroid Build Coastguard Worker      "remote_bitrate_estimator:remote_bitrate_estimator_unittests",
229*d9f75844SAndroid Build Coastguard Worker      "rtp_rtcp:rtp_rtcp_unittests",
230*d9f75844SAndroid Build Coastguard Worker      "utility:utility_unittests",
231*d9f75844SAndroid Build Coastguard Worker      "video_coding:video_coding_unittests",
232*d9f75844SAndroid Build Coastguard Worker      "video_coding/timing:timing_unittests",
233*d9f75844SAndroid Build Coastguard Worker    ]
234*d9f75844SAndroid Build Coastguard Worker
235*d9f75844SAndroid Build Coastguard Worker    if (rtc_desktop_capture_supported) {
236*d9f75844SAndroid Build Coastguard Worker      deps += [ "desktop_capture:desktop_capture_unittests" ]
237*d9f75844SAndroid Build Coastguard Worker    }
238*d9f75844SAndroid Build Coastguard Worker
239*d9f75844SAndroid Build Coastguard Worker    data = modules_unittests_resources
240*d9f75844SAndroid Build Coastguard Worker
241*d9f75844SAndroid Build Coastguard Worker    if (is_android) {
242*d9f75844SAndroid Build Coastguard Worker      use_default_launcher = false
243*d9f75844SAndroid Build Coastguard Worker      deps += [
244*d9f75844SAndroid Build Coastguard Worker        "../sdk/android:libjingle_peerconnection_java",
245*d9f75844SAndroid Build Coastguard Worker        "//testing/android/native_test:native_test_support",
246*d9f75844SAndroid Build Coastguard Worker      ]
247*d9f75844SAndroid Build Coastguard Worker      shard_timeout = 900
248*d9f75844SAndroid Build Coastguard Worker    }
249*d9f75844SAndroid Build Coastguard Worker    if (is_ios) {
250*d9f75844SAndroid Build Coastguard Worker      info_plist = "../test/ios/Info.plist"
251*d9f75844SAndroid Build Coastguard Worker      deps += [ ":modules_unittests_bundle_data" ]
252*d9f75844SAndroid Build Coastguard Worker      configs += [ "..:common_objc" ]
253*d9f75844SAndroid Build Coastguard Worker      ldflags = [ "-ObjC" ]
254*d9f75844SAndroid Build Coastguard Worker    }
255*d9f75844SAndroid Build Coastguard Worker  }
256*d9f75844SAndroid Build Coastguard Worker}
257