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  'conditions': [
10    ['OS=="android"', {
11      'variables': {
12        'files': [
13          '<(DEPTH)/data/audio_processing/output_data_fixed.pb',
14        ],
15      },
16    }],
17    ['OS=="linux" or OS=="mac" or OS=="win" or OS=="android"', {
18      'variables': {
19        'files': [
20          '<(DEPTH)/data/audio_processing/output_data_float.pb',
21          '<(DEPTH)/data/audio_processing/output_data_mac.pb',
22          '<(DEPTH)/data/voice_engine/audio_tiny48.wav',
23          '<(DEPTH)/resources/att-downlink.rx',
24          '<(DEPTH)/resources/att-uplink.rx',
25          '<(DEPTH)/resources/audio_coding/neteq4_network_stats.dat',
26          '<(DEPTH)/resources/audio_coding/neteq4_rtcp_stats.dat',
27          '<(DEPTH)/resources/audio_coding/neteq4_universal_ref.pcm',
28          '<(DEPTH)/resources/audio_coding/neteq4_universal_ref_win_32.pcm',
29          '<(DEPTH)/resources/audio_coding/neteq4_universal_ref_win_64.pcm',
30          '<(DEPTH)/resources/audio_coding/neteq_universal_new.rtp',
31          '<(DEPTH)/resources/audio_coding/speech_mono_16kHz.pcm',
32          '<(DEPTH)/resources/audio_coding/speech_mono_32_48kHz.pcm',
33          '<(DEPTH)/resources/audio_coding/testfile32kHz.pcm',
34          '<(DEPTH)/resources/audio_coding/teststereo32kHz.pcm',
35          '<(DEPTH)/resources/audio_device/audio_short16.pcm',
36          '<(DEPTH)/resources/audio_device/audio_short44.pcm',
37          '<(DEPTH)/resources/audio_device/audio_short48.pcm',
38          '<(DEPTH)/resources/audio_processing/agc/agc_audio.pcm',
39          '<(DEPTH)/resources/audio_processing/agc/agc_no_circular_buffer.dat',
40          '<(DEPTH)/resources/audio_processing/agc/agc_pitch_gain.dat',
41          '<(DEPTH)/resources/audio_processing/agc/agc_pitch_lag.dat',
42          '<(DEPTH)/resources/audio_processing/agc/agc_spectral_peak.dat',
43          '<(DEPTH)/resources/audio_processing/agc/agc_vad.dat',
44          '<(DEPTH)/resources/audio_processing/agc/agc_voicing_prob.dat',
45          '<(DEPTH)/resources/audio_processing/agc/agc_with_circular_buffer.dat',
46          '<(DEPTH)/resources/audio_processing/transient/ajm-macbook-1-spke16m.pcm',
47          '<(DEPTH)/resources/audio_processing/transient/audio16kHz.pcm',
48          '<(DEPTH)/resources/audio_processing/transient/audio32kHz.pcm',
49          '<(DEPTH)/resources/audio_processing/transient/audio48kHz.pcm',
50          '<(DEPTH)/resources/audio_processing/transient/audio8kHz.pcm',
51          '<(DEPTH)/resources/audio_processing/transient/detect16kHz.dat',
52          '<(DEPTH)/resources/audio_processing/transient/detect32kHz.dat',
53          '<(DEPTH)/resources/audio_processing/transient/detect48kHz.dat',
54          '<(DEPTH)/resources/audio_processing/transient/detect8kHz.dat',
55          '<(DEPTH)/resources/audio_processing/transient/double-utils.dat',
56          '<(DEPTH)/resources/audio_processing/transient/float-utils.dat',
57          '<(DEPTH)/resources/audio_processing/transient/suppressed16kHz.pcm',
58          '<(DEPTH)/resources/audio_processing/transient/suppressed32kHz.pcm',
59          '<(DEPTH)/resources/audio_processing/transient/suppressed8kHz.pcm',
60          '<(DEPTH)/resources/audio_processing/transient/wpd0.dat',
61          '<(DEPTH)/resources/audio_processing/transient/wpd1.dat',
62          '<(DEPTH)/resources/audio_processing/transient/wpd2.dat',
63          '<(DEPTH)/resources/audio_processing/transient/wpd3.dat',
64          '<(DEPTH)/resources/audio_processing/transient/wpd4.dat',
65          '<(DEPTH)/resources/audio_processing/transient/wpd5.dat',
66          '<(DEPTH)/resources/audio_processing/transient/wpd6.dat',
67          '<(DEPTH)/resources/audio_processing/transient/wpd7.dat',
68          '<(DEPTH)/resources/deflicker_before_cif_short.yuv',
69          '<(DEPTH)/resources/far16_stereo.pcm',
70          '<(DEPTH)/resources/far32_stereo.pcm',
71          '<(DEPTH)/resources/far44_stereo.pcm',
72          '<(DEPTH)/resources/far48_stereo.pcm',
73          '<(DEPTH)/resources/far8_stereo.pcm',
74          '<(DEPTH)/resources/foremanColorEnhanced_cif_short.yuv',
75          '<(DEPTH)/resources/foreman_cif.yuv',
76          '<(DEPTH)/resources/foreman_cif_short.yuv',
77          '<(DEPTH)/resources/near16_stereo.pcm',
78          '<(DEPTH)/resources/near32_stereo.pcm',
79          '<(DEPTH)/resources/near44_stereo.pcm',
80          '<(DEPTH)/resources/near48_stereo.pcm',
81          '<(DEPTH)/resources/near8_stereo.pcm',
82          '<(DEPTH)/resources/ref03.aecdump',
83          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_0_AST.bin',
84          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_0_TOF.bin',
85          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_1_AST.bin',
86          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_1_TOF.bin',
87          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_0_AST.bin',
88          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_0_TOF.bin',
89          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_1_AST.bin',
90          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_1_TOF.bin',
91          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDelay1_0_AST.bin',
92          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDelay1_0_TOF.bin',
93          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLoss1_0_AST.bin',
94          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLoss1_0_TOF.bin',
95          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_AST.bin',
96          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_TOF.bin',
97          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0_AST.bin',
98          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0_TOF.bin',
99          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1_AST.bin',
100          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1_TOF.bin',
101          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0_AST.bin',
102          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0_TOF.bin',
103          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_AST.bin',
104          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_TOF.bin',
105          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpeed_0_AST.bin',
106          '<(DEPTH)/resources/remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpeed_0_TOF.bin',
107          '<(DEPTH)/resources/short_mixed_mono_48.dat',
108          '<(DEPTH)/resources/short_mixed_mono_48.pcm',
109          '<(DEPTH)/resources/short_mixed_stereo_48.dat',
110          '<(DEPTH)/resources/short_mixed_stereo_48.pcm',
111          '<(DEPTH)/resources/sprint-downlink.rx',
112          '<(DEPTH)/resources/sprint-uplink.rx',
113          '<(DEPTH)/resources/synthetic-trace.rx',
114          '<(DEPTH)/resources/tmobile-downlink.rx',
115          '<(DEPTH)/resources/tmobile-uplink.rx',
116          '<(DEPTH)/resources/utility/encapsulated_pcm16b_8khz.wav',
117          '<(DEPTH)/resources/utility/encapsulated_pcmu_8khz.wav',
118          '<(DEPTH)/resources/verizon3g-downlink.rx',
119          '<(DEPTH)/resources/verizon3g-uplink.rx',
120          '<(DEPTH)/resources/verizon4g-downlink.rx',
121          '<(DEPTH)/resources/verizon4g-uplink.rx',
122          '<(DEPTH)/resources/video_coding/frame-ethernet-ii.pcap',
123          '<(DEPTH)/resources/video_coding/frame-loopback.pcap',
124          '<(DEPTH)/resources/video_coding/pltype103.rtp',
125          '<(DEPTH)/resources/video_coding/ssrcs-2.pcap',
126          '<(DEPTH)/resources/video_coding/ssrcs-3.pcap',
127        ],
128      },
129    }],
130    ['(OS=="linux" or OS=="mac" or OS=="win") and use_x11==0', {
131      'variables': {
132        'command': [
133          '<(DEPTH)/testing/test_env.py',
134          '<(PRODUCT_DIR)/modules_unittests<(EXECUTABLE_SUFFIX)',
135        ],
136        'files': [
137          '<(DEPTH)/DEPS',
138          '<(DEPTH)/testing/test_env.py',
139          '<(PRODUCT_DIR)/modules_unittests<(EXECUTABLE_SUFFIX)',
140        ],
141      },
142    }],
143    ['(OS=="linux" or OS=="mac" or OS=="win") and use_x11==1', {
144      'variables': {
145        'command': [
146          '<(DEPTH)/testing/xvfb.py',
147          '<(PRODUCT_DIR)',
148          '<(DEPTH)/testing/test_env.py',
149          '<(PRODUCT_DIR)/modules_unittests<(EXECUTABLE_SUFFIX)',
150        ],
151        'files': [
152          '<(DEPTH)/DEPS',
153          '<(DEPTH)/testing/test_env.py',
154          '<(DEPTH)/testing/xvfb.py',
155          '<(PRODUCT_DIR)/modules_unittests<(EXECUTABLE_SUFFIX)',
156          '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
157        ],
158      },
159    }],
160  ],
161}
162