1# Copyright (c) 2011 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    # simple kenny
12    {
13      'target_name': 'isac_test',
14      'type': 'executable',
15      'dependencies': [
16        'isac',
17      ],
18      'include_dirs': [
19        './main/test',
20        './main/include',
21        './main/util',
22        '<(webrtc_root)',
23      ],
24      'sources': [
25        './main/test/simpleKenny.c',
26        './main/util/utility.c',
27      ],
28      'conditions': [
29        ['OS=="win" and clang==1', {
30          'msvs_settings': {
31            'VCCLCompilerTool': {
32              'AdditionalOptions': [
33                # Disable warnings failing when compiling with Clang on Windows.
34                # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
35                '-Wno-format',
36              ],
37            },
38          },
39        }],
40      ],  # conditions.
41    },
42    # ReleaseTest-API
43    {
44      'target_name': 'isac_api_test',
45      'type': 'executable',
46      'dependencies': [
47        'isac',
48      ],
49      'include_dirs': [
50        './main/test',
51        './main/include',
52        './main/util',
53        '<(webrtc_root)',
54      ],
55      'sources': [
56        './main/test/ReleaseTest-API/ReleaseTest-API.cc',
57        './main/util/utility.c',
58      ],
59    },
60    # SwitchingSampRate
61    {
62      'target_name': 'isac_switch_samprate_test',
63      'type': 'executable',
64      'dependencies': [
65        'isac',
66      ],
67      'include_dirs': [
68        './main/test',
69        './main/include',
70        '../../../../common_audio/signal_processing/include',
71        './main/util',
72        '<(webrtc_root)',
73      ],
74      'sources': [
75        './main/test/SwitchingSampRate/SwitchingSampRate.cc',
76        './main/util/utility.c',
77      ],
78    },
79  ],
80}
81