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    {
12      'target_name': 'G711',
13      'type': 'static_library',
14      'include_dirs': [
15        'include',
16        '<(webrtc_root)',
17      ],
18      'direct_dependent_settings': {
19        'include_dirs': [
20          'include',
21          '<(webrtc_root)',
22        ],
23      },
24      'sources': [
25        'include/g711_interface.h',
26        'g711_interface.c',
27        'g711.c',
28        'g711.h',
29      ],
30    },
31  ], # targets
32  'conditions': [
33    ['include_tests==1', {
34      'targets': [
35        {
36          'target_name': 'g711_test',
37          'type': 'executable',
38          'dependencies': [
39            'G711',
40          ],
41          'sources': [
42            'test/testG711.cc',
43          ],
44        },
45      ], # targets
46    }], # include_tests
47  ], # conditions
48}
49