
TBR=leozwang@webrtc.org Review URL: https://webrtc-codereview.appspot.com/933023 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3147 4adac7df-926f-26a2-2b94-8c16560cd09d
61 lines
1.6 KiB
Python
61 lines
1.6 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_with_mozilla==1', {
|
|
# Mozilla provides its own build of the opus library.
|
|
'include_dirs': [
|
|
'$(DIST)/include/opus',
|
|
]
|
|
}, {
|
|
'dependencies': [
|
|
'<(DEPTH)/third_party/opus/opus.gyp:opus'
|
|
],
|
|
}],
|
|
],
|
|
'sources': [
|
|
'interface/opus_interface.h',
|
|
'opus_interface.c',
|
|
],
|
|
},
|
|
],
|
|
'conditions': [
|
|
['include_tests==1', {
|
|
'targets': [
|
|
{
|
|
'target_name': 'opus_demo',
|
|
'type': 'executable',
|
|
'dependencies': [
|
|
'<(DEPTH)/third_party/opus/opus.gyp:opus'
|
|
],
|
|
'conditions': [
|
|
['OS == "win"', {
|
|
'defines': [
|
|
'inline=__inline',
|
|
],
|
|
}],
|
|
],
|
|
'sources': [
|
|
'<(DEPTH)/third_party/opus/src/src/opus_demo.c',
|
|
],
|
|
'include_dirs': [
|
|
'<(DEPTH)/third_party/opus/src/celt',
|
|
'<(DEPTH)/third_party/opus/src/include',
|
|
'<(DEPTH)/third_party/opus/src/silk',
|
|
],
|
|
},
|
|
],
|
|
}],
|
|
],
|
|
}
|