1# Copyright (c) 2014 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{
10  'targets': [
11  {
12    'target_name': 'audio_codec_speed_tests',
13    'type': '<(gtest_target_type)',
14    'dependencies': [
15      'audio_processing',
16      'iSACFix',
17      'webrtc_opus',
18      '<(DEPTH)/testing/gtest.gyp:gtest',
19      '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
20      '<(webrtc_root)/test/test.gyp:test_support_main',
21    ],
22    'sources': [
23      'audio_codec_speed_test.h',
24      'audio_codec_speed_test.cc',
25      '<(webrtc_root)/modules/audio_coding/codecs/opus/opus_speed_test.cc',
26      '<(webrtc_root)/modules/audio_coding/codecs/isac/fix/test/isac_speed_test.cc',
27    ],
28    'conditions': [
29      ['OS=="android"', {
30        'dependencies': [
31          '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
32        ],
33      }],
34    ],
35  }],
36  'conditions': [
37    ['OS=="android"', {
38      'targets': [
39        {
40          'target_name': 'audio_codec_speed_tests_apk_target',
41          'type': 'none',
42          'dependencies': [
43            '<(apk_tests_path):audio_codec_speed_tests_apk',
44          ],
45        },
46      ],
47    }],
48    ['test_isolation_mode != "noop"', {
49      'targets': [
50        {
51          'target_name': 'audio_codec_speed_tests_run',
52          'type': 'none',
53          'dependencies': [
54            'audio_codec_speed_tests',
55          ],
56          'includes': [
57            '../../../../build/isolate.gypi',
58            'audio_codec_speed_tests.isolate',
59          ],
60          'sources': [
61            'audio_codec_speed_tests.isolate',
62          ],
63        },
64      ],
65    }],
66  ],
67}
68