niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 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 | { |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 10 | 'targets': [ |
| 11 | { |
kjellander@webrtc.org | 0403ef4 | 2011-11-17 08:35:47 +0000 | [diff] [blame] | 12 | 'target_name': 'signal_processing', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 13 | 'type': '<(library)', |
| 14 | 'include_dirs': [ |
kjellander@webrtc.org | 0403ef4 | 2011-11-17 08:35:47 +0000 | [diff] [blame] | 15 | 'include', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 16 | ], |
| 17 | 'direct_dependent_settings': { |
| 18 | 'include_dirs': [ |
kjellander@webrtc.org | 0403ef4 | 2011-11-17 08:35:47 +0000 | [diff] [blame] | 19 | 'include', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 20 | ], |
| 21 | }, |
| 22 | 'sources': [ |
kjellander@webrtc.org | 0403ef4 | 2011-11-17 08:35:47 +0000 | [diff] [blame] | 23 | 'include/signal_processing_library.h', |
| 24 | 'include/spl_inl.h', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 25 | 'auto_corr_to_refl_coef.c', |
| 26 | 'auto_correlation.c', |
| 27 | 'complex_fft.c', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 28 | 'complex_bit_reverse.c', |
| 29 | 'copy_set_operations.c', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 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', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 40 | 'ilbc_specific_functions.c', |
| 41 | 'levinson_durbin.c', |
| 42 | 'lpc_to_refl_coef.c', |
| 43 | 'min_max_operations.c', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 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', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 52 | 'spl_sqrt.c', |
bjornv@google.com | c83a3d6 | 2011-07-07 12:34:44 +0000 | [diff] [blame] | 53 | 'spl_sqrt_floor.c', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 54 | 'spl_version.c', |
| 55 | 'splitting_filter.c', |
| 56 | 'sqrt_of_one_minus_x_squared.c', |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 57 | 'vector_scaling_operations.c', |
| 58 | ], |
kma@webrtc.org | c839f08 | 2012-08-13 21:49:23 +0000 | [diff] [blame^] | 59 | 'conditions': [ |
| 60 | ['OS=="android"', { |
| 61 | 'sources': [ |
| 62 | 'spl_sqrt_floor_arm.s', |
| 63 | ], |
| 64 | 'sources!': [ |
| 65 | 'spl_sqrt_floor.c', |
| 66 | ], |
| 67 | }], |
| 68 | ], |
kjellander@webrtc.org | 0403ef4 | 2011-11-17 08:35:47 +0000 | [diff] [blame] | 69 | }, # spl |
| 70 | ], # targets |
| 71 | 'conditions': [ |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 72 | ['include_tests==1', { |
kjellander@webrtc.org | 0403ef4 | 2011-11-17 08:35:47 +0000 | [diff] [blame] | 73 | 'targets': [ |
| 74 | { |
| 75 | 'target_name': 'signal_processing_unittests', |
| 76 | 'type': 'executable', |
| 77 | 'dependencies': [ |
| 78 | 'signal_processing', |
andrew@webrtc.org | 81cf5e4 | 2012-06-27 01:41:54 +0000 | [diff] [blame] | 79 | '<(webrtc_root)/test/test.gyp:test_support_main', |
| 80 | '<(DEPTH)/testing/gtest.gyp:gtest', |
kjellander@webrtc.org | 0403ef4 | 2011-11-17 08:35:47 +0000 | [diff] [blame] | 81 | ], |
| 82 | 'sources': [ |
| 83 | 'signal_processing_unittest.cc', |
| 84 | ], |
| 85 | }, # spl_unittests |
| 86 | ], # targets |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 87 | }], # include_tests |
kjellander@webrtc.org | 0403ef4 | 2011-11-17 08:35:47 +0000 | [diff] [blame] | 88 | ], # conditions |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 89 | } |