Home | History | Annotate | Download | only in source
      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   'includes': [
     11     '../../../../common_settings.gypi', # Common settings
     12   ],
     13   'targets': [
     14     {
     15       'target_name': 'audio_processing',
     16       'type': '<(library)',
     17       'conditions': [
     18         ['prefer_fixed_point==1', {
     19           'dependencies': ['../../ns/main/source/ns.gyp:ns_fix'],
     20           'defines': ['WEBRTC_NS_FIXED'],
     21         }, { # else: prefer_fixed_point==0
     22           'dependencies': ['../../ns/main/source/ns.gyp:ns'],
     23           'defines': ['WEBRTC_NS_FLOAT'],
     24         }],
     25       ],
     26       'dependencies': [
     27         '../../../../system_wrappers/source/system_wrappers.gyp:system_wrappers',
     28         '../../aec/main/source/aec.gyp:aec',
     29         '../../aecm/main/source/aecm.gyp:aecm',
     30         '../../agc/main/source/agc.gyp:agc',
     31         '../../../../common_audio/signal_processing_library/main/source/spl.gyp:spl',
     32         '../../../../common_audio/vad/main/source/vad.gyp:vad',
     33       ],
     34       'include_dirs': [
     35         '../interface',
     36         '../../../interface',
     37       ],
     38       'direct_dependent_settings': {
     39         'include_dirs': [
     40           '../interface',
     41           '../../../interface',
     42         ],
     43       },
     44       'sources': [
     45         '../interface/audio_processing.h',
     46         'audio_buffer.cc',
     47         'audio_buffer.h',
     48         'audio_processing_impl.cc',
     49         'audio_processing_impl.h',
     50         'echo_cancellation_impl.cc',
     51         'echo_cancellation_impl.h',
     52         'echo_control_mobile_impl.cc',
     53         'echo_control_mobile_impl.h',
     54         'gain_control_impl.cc',
     55         'gain_control_impl.h',
     56         'high_pass_filter_impl.cc',
     57         'high_pass_filter_impl.h',
     58         'level_estimator_impl.cc',
     59         'level_estimator_impl.h',
     60         'noise_suppression_impl.cc',
     61         'noise_suppression_impl.h',
     62         'splitting_filter.cc',
     63         'splitting_filter.h',
     64         'processing_component.cc',
     65         'processing_component.h',
     66         'voice_detection_impl.cc',
     67         'voice_detection_impl.h',
     68       ],
     69     },
     70   ],
     71 }
     72 
     73 # Local Variables:
     74 # tab-width:2
     75 # indent-tabs-mode:nil
     76 # End:
     77 # vim: set expandtab tabstop=2 shiftwidth=2:
     78