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': 'aec',
13      'type': '<(library)',
14      'variables': {
15        # Outputs some low-level debug files.
16        'aec_debug_dump%': 0,
17      },
18      'dependencies': [
19        '<(webrtc_root)/common_audio/common_audio.gyp:signal_processing',
20        'apm_util'
21      ],
22      'include_dirs': [
23        'interface',
24      ],
25      'direct_dependent_settings': {
26        'include_dirs': [
27          'interface',
28        ],
29      },
30      'sources': [
31        'interface/echo_cancellation.h',
32        'echo_cancellation.c',
33        'aec_core.h',
34        'aec_core.c',
35        'aec_core_sse2.c',
36        'aec_rdft.h',
37        'aec_rdft.c',
38        'aec_rdft_sse2.c',
39        'aec_resampler.h',
40        'aec_resampler.c',
41      ],
42      'conditions': [
43        ['aec_debug_dump==1', {
44          'defines': [ 'WEBRTC_AEC_DEBUG_DUMP', ],
45        }],
46      ],
47    },
48  ],
49}
50