blob: 809068c2350f124141a950315b7025e5f42ec6c8 [file] [log] [blame]
# 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'
],
'include_dirs': [
'<(webrtc_root)/../third_party/opus/source/include',
],
}],
],
'direct_dependent_settings': {
'conditions': [
['build_with_mozilla==1', {
'include_dirs': [
'$(DIST)/include/opus',
],
}],
],
},
'sources': [
'interface/opus_interface.h',
'opus_interface.c',
],
},
],
}