Home | History | Annotate | Download | only in ilbc
      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': 'ilbc',
     13       'type': 'static_library',
     14       'dependencies': [
     15         '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
     16         'audio_encoder_interface',
     17       ],
     18       'sources': [
     19         'abs_quant.c',
     20         'abs_quant_loop.c',
     21         'audio_decoder_ilbc.cc',
     22         'audio_decoder_ilbc.h',
     23         'audio_encoder_ilbc.cc',
     24         'audio_encoder_ilbc.h',
     25         'augmented_cb_corr.c',
     26         'bw_expand.c',
     27         'cb_construct.c',
     28         'cb_mem_energy.c',
     29         'cb_mem_energy_augmentation.c',
     30         'cb_mem_energy_calc.c',
     31         'cb_search.c',
     32         'cb_search_core.c',
     33         'cb_update_best_index.c',
     34         'chebyshev.c',
     35         'comp_corr.c',
     36         'constants.c',
     37         'create_augmented_vec.c',
     38         'decode.c',
     39         'decode_residual.c',
     40         'decoder_interpolate_lsf.c',
     41         'do_plc.c',
     42         'encode.c',
     43         'energy_inverse.c',
     44         'enh_upsample.c',
     45         'enhancer.c',
     46         'enhancer_interface.c',
     47         'filtered_cb_vecs.c',
     48         'frame_classify.c',
     49         'gain_dequant.c',
     50         'gain_quant.c',
     51         'get_cd_vec.c',
     52         'get_lsp_poly.c',
     53         'get_sync_seq.c',
     54         'hp_input.c',
     55         'hp_output.c',
     56         'ilbc.c',
     57         'ilbc.h',
     58         'index_conv_dec.c',
     59         'index_conv_enc.c',
     60         'init_decode.c',
     61         'init_encode.c',
     62         'interpolate.c',
     63         'interpolate_samples.c',
     64         'lpc_encode.c',
     65         'lsf_check.c',
     66         'lsf_interpolate_to_poly_dec.c',
     67         'lsf_interpolate_to_poly_enc.c',
     68         'lsf_to_lsp.c',
     69         'lsf_to_poly.c',
     70         'lsp_to_lsf.c',
     71         'my_corr.c',
     72         'nearest_neighbor.c',
     73         'pack_bits.c',
     74         'poly_to_lsf.c',
     75         'poly_to_lsp.c',
     76         'refiner.c',
     77         'simple_interpolate_lsf.c',
     78         'simple_lpc_analysis.c',
     79         'simple_lsf_dequant.c',
     80         'simple_lsf_quant.c',
     81         'smooth.c',
     82         'smooth_out_data.c',
     83         'sort_sq.c',
     84         'split_vq.c',
     85         'state_construct.c',
     86         'state_search.c',
     87         'swap_bytes.c',
     88         'unpack_bits.c',
     89         'vq3.c',
     90         'vq4.c',
     91         'window32_w32.c',
     92         'xcorr_coef.c',
     93         'abs_quant.h',
     94         'abs_quant_loop.h',
     95         'augmented_cb_corr.h',
     96         'bw_expand.h',
     97         'cb_construct.h',
     98         'cb_mem_energy.h',
     99         'cb_mem_energy_augmentation.h',
    100         'cb_mem_energy_calc.h',
    101         'cb_search.h',
    102         'cb_search_core.h',
    103         'cb_update_best_index.h',
    104         'chebyshev.h',
    105         'comp_corr.h',
    106         'constants.h',
    107         'create_augmented_vec.h',
    108         'decode.h',
    109         'decode_residual.h',
    110         'decoder_interpolate_lsf.h',
    111         'do_plc.h',
    112         'encode.h',
    113         'energy_inverse.h',
    114         'enh_upsample.h',
    115         'enhancer.h',
    116         'enhancer_interface.h',
    117         'filtered_cb_vecs.h',
    118         'frame_classify.h',
    119         'gain_dequant.h',
    120         'gain_quant.h',
    121         'get_cd_vec.h',
    122         'get_lsp_poly.h',
    123         'get_sync_seq.h',
    124         'hp_input.h',
    125         'hp_output.h',
    126         'defines.h',
    127         'index_conv_dec.h',
    128         'index_conv_enc.h',
    129         'init_decode.h',
    130         'init_encode.h',
    131         'interpolate.h',
    132         'interpolate_samples.h',
    133         'lpc_encode.h',
    134         'lsf_check.h',
    135         'lsf_interpolate_to_poly_dec.h',
    136         'lsf_interpolate_to_poly_enc.h',
    137         'lsf_to_lsp.h',
    138         'lsf_to_poly.h',
    139         'lsp_to_lsf.h',
    140         'my_corr.h',
    141         'nearest_neighbor.h',
    142         'pack_bits.h',
    143         'poly_to_lsf.h',
    144         'poly_to_lsp.h',
    145         'refiner.h',
    146         'simple_interpolate_lsf.h',
    147         'simple_lpc_analysis.h',
    148         'simple_lsf_dequant.h',
    149         'simple_lsf_quant.h',
    150         'smooth.h',
    151         'smooth_out_data.h',
    152         'sort_sq.h',
    153         'split_vq.h',
    154         'state_construct.h',
    155         'state_search.h',
    156         'swap_bytes.h',
    157         'unpack_bits.h',
    158         'vq3.h',
    159         'vq4.h',
    160         'window32_w32.h',
    161         'xcorr_coef.h',
    162      ], # sources
    163     }, # ilbc
    164   ], # targets
    165   'conditions': [
    166     ['include_tests==1', {
    167       'targets': [
    168         {
    169           'target_name': 'ilbc_test',
    170           'type': 'executable',
    171           'dependencies': [
    172             'ilbc',
    173           ],
    174           'sources': [
    175             'test/iLBC_test.c',
    176           ],
    177         }, # ilbc_test
    178       ], # targets
    179     }], # include_tests
    180   ], # conditions
    181 }
    182