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': 'signal_processing',
13      'type': '<(library)',
14      'include_dirs': [
15        'include',
16      ],
17      'direct_dependent_settings': {
18        'include_dirs': [
19          'include',
20        ],
21      },
22      'sources': [
23        'include/signal_processing_library.h',
24        'include/spl_inl.h',
25        'auto_corr_to_refl_coef.c',
26        'auto_correlation.c',
27        'complex_fft.c',
28        'complex_bit_reverse.c',
29        'copy_set_operations.c',
30        'cross_correlation.c',
31        'division_operations.c',
32        'dot_product_with_scale.c',
33        'downsample_fast.c',
34        'energy.c',
35        'filter_ar.c',
36        'filter_ar_fast_q12.c',
37        'filter_ma_fast_q12.c',
38        'get_hanning_window.c',
39        'get_scaling_square.c',
40        'ilbc_specific_functions.c',
41        'levinson_durbin.c',
42        'lpc_to_refl_coef.c',
43        'min_max_operations.c',
44        'randomization_functions.c',
45        'refl_coef_to_lpc.c',
46        'resample.c',
47        'resample_48khz.c',
48        'resample_by_2.c',
49        'resample_by_2_internal.c',
50        'resample_by_2_internal.h',
51        'resample_fractional.c',
52        'spl_sqrt.c',
53        'spl_sqrt_floor.c',
54        'spl_version.c',
55        'splitting_filter.c',
56        'sqrt_of_one_minus_x_squared.c',
57        'vector_scaling_operations.c',
58      ],
59    }, # spl
60  ], # targets
61  'conditions': [
62    ['build_with_chromium==0', {
63      'targets': [
64        {
65          'target_name': 'signal_processing_unittests',
66          'type': 'executable',
67          'dependencies': [
68            'signal_processing',
69            '<(webrtc_root)/../test/test.gyp:test_support_main',
70            '<(webrtc_root)/../testing/gtest.gyp:gtest',
71          ],
72          'sources': [
73            'signal_processing_unittest.cc',
74          ],
75        }, # spl_unittests
76      ], # targets
77    }], # build_with_chromium
78  ], # conditions
79}
80
81# Local Variables:
82# tab-width:2
83# indent-tabs-mode:nil
84# End:
85# vim: set expandtab tabstop=2 shiftwidth=2:
86