OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2013 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 'variables' : { |
| 11 # Override this value to build with small float FFT tables |
| 12 'big_float_fft%' : 1, |
| 13 }, |
| 14 'target_defaults': { |
| 15 'include_dirs': [ |
| 16 '../../../../', |
| 17 ], |
| 18 'dependencies' : [ |
| 19 '../../../dl.gyp:openmax_dl', |
| 20 'test_utilities' |
| 21 ], |
| 22 'conditions': [ |
| 23 ['big_float_fft == 1', { |
| 24 'defines': [ |
| 25 'BIG_FFT_TABLE', |
| 26 ], |
| 27 }], |
| 28 ], |
| 29 }, |
| 30 'targets': [ |
| 31 { |
| 32 # Test utilities |
| 33 'target_name': 'test_utilities', |
| 34 'type' : '<(component)', |
| 35 'dependencies!' : [ |
| 36 'test_utilities' |
| 37 ], |
| 38 'sources' : [ |
| 39 'aligned_ptr.c', |
| 40 'compare.c', |
| 41 'gensig.c', |
| 42 'test_util.c', |
| 43 ], |
| 44 }, |
| 45 { |
| 46 # Test complex fixed-point 16-bit FFT |
| 47 'target_name': 'test_fft16', |
| 48 'type': 'executable', |
| 49 'sources': [ |
| 50 'test_fft16.c', |
| 51 ], |
| 52 }, |
| 53 { |
| 54 # Test complex fixed-point 32-bit FFT |
| 55 'target_name': 'test_fft32', |
| 56 'type': 'executable', |
| 57 'sources': [ |
| 58 'test_fft32.c', |
| 59 ], |
| 60 }, |
| 61 { |
| 62 # Test real 32-bit fixed-point FFT |
| 63 'target_name': 'test_rfft32', |
| 64 'type': 'executable', |
| 65 'sources': [ |
| 66 'test_rfft32.c', |
| 67 ], |
| 68 }, |
| 69 { |
| 70 # Test real 16-bit fixed-point FFT |
| 71 'target_name': 'test_rfft16', |
| 72 'type': 'executable', |
| 73 'sources': [ |
| 74 'test_rfft16.c', |
| 75 ], |
| 76 }, |
| 77 { |
| 78 # Test complex floating-point FFT |
| 79 'target_name': 'test_float_fft', |
| 80 'type': 'executable', |
| 81 'sources': [ |
| 82 'test_float_fft.c', |
| 83 ], |
| 84 }, |
| 85 { |
| 86 # Test real floating-point FFT |
| 87 'target_name': 'test_float_rfft', |
| 88 'type': 'executable', |
| 89 'sources': [ |
| 90 'test_float_rfft.c', |
| 91 ], |
| 92 }, |
| 93 { |
| 94 # Simple timing test of FFTs |
| 95 'target_name': 'test_fft_time', |
| 96 'type': 'executable', |
| 97 'sources': [ |
| 98 'test_fft_time.c', |
| 99 ], |
| 100 }, |
| 101 { |
| 102 # Build all test programs. |
| 103 'target_name': 'All', |
| 104 'type': 'none', |
| 105 'dependencies': [ |
| 106 'test_fft16', |
| 107 'test_fft32', |
| 108 'test_float_fft', |
| 109 'test_float_rfft', |
| 110 'test_rfft16', |
| 111 'test_rfft32', |
| 112 'test_fft_time', |
| 113 ], |
| 114 }, |
| 115 ], |
| 116 } |
OLD | NEW |