Files
platform-external-webrtc/webrtc/modules/audio_coding/codecs/opus/opus.gypi
kjellander@webrtc.org 3c652b6746 modules/audio_coding: Remove some codec include dirs
Also clean up some include_dir entries and update the few
references to them with absolute include paths instead.
Finally fixed a few lint errors and invalid header guards.

None of these are used downstream.

BUG=webrtc:5095
TESTED=git cl try -c --bot=android_compile_rel --bot=linux_compile_rel --bot=win_compile_rel --bot=mac_compile_rel --bot=ios_rel --bot=linux_gn_rel --bot=win_x64_gn_rel --bot=mac_x64_gn_rel --bot=android_gn_rel -m tryserver.webrtc
R=kwiberg@webrtc.org

Review URL: https://codereview.webrtc.org/1438663003 .

Cr-Commit-Position: refs/heads/master@{#10700}
2015-11-18 22:08:46 +00:00

73 lines
2.0 KiB
Python

# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
#
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file in the root of the source
# tree. An additional intellectual property rights grant can be found
# in the file PATENTS. All contributing project authors may
# be found in the AUTHORS file in the root of the source tree.
{
'targets': [
{
'target_name': 'webrtc_opus',
'type': 'static_library',
'conditions': [
['build_opus==1', {
'dependencies': [
'<(opus_dir)/opus.gyp:opus'
],
'export_dependent_settings': [
'<(opus_dir)/opus.gyp:opus',
],
'direct_dependent_settings': {
'include_dirs': [ # need by Neteq audio classifier.
'<(opus_dir)/src/src',
'<(opus_dir)/src/celt',
],
},
}, {
'conditions': [
['build_with_mozilla==1', {
# Mozilla provides its own build of the opus library.
'include_dirs': [
'$(DIST)/include/opus',
]
}],
],
}],
],
'dependencies': [
'audio_encoder_interface',
],
'sources': [
'audio_decoder_opus.cc',
'audio_decoder_opus.h',
'audio_encoder_opus.cc',
'audio_encoder_opus.h',
'opus_inst.h',
'opus_interface.c',
'opus_interface.h',
],
},
],
'conditions': [
['include_tests==1', {
'targets': [
{
'target_name': 'webrtc_opus_fec_test',
'type': 'executable',
'dependencies': [
'webrtc_opus',
'<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
'<(webrtc_root)/test/test.gyp:test_support_main',
'<(DEPTH)/testing/gtest.gyp:gtest',
],
'sources': [
'opus_fec_test.cc',
],
},
],
}],
],
}