blob: 809068c2350f124141a950315b7025e5f42ec6c8 [file] [log] [blame]
tina.legrand@webrtc.orga7d83872012-10-18 10:00:52 +00001# Copyright (c) 2012 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': 'webrtc_opus',
13 'type': 'static_library',
14 'conditions': [
15 ['build_with_mozilla==1', {
16 # Mozilla provides its own build of the opus library.
17 'include_dirs': [
18 '$(DIST)/include/opus',
19 ]
20 }, {
21 'dependencies': [
22 '<(DEPTH)/third_party/opus/opus.gyp:opus'
23 ],
24 'include_dirs': [
25 '<(webrtc_root)/../third_party/opus/source/include',
26 ],
27 }],
28 ],
29 'direct_dependent_settings': {
30 'conditions': [
31 ['build_with_mozilla==1', {
32 'include_dirs': [
33 '$(DIST)/include/opus',
34 ],
35 }],
36 ],
37 },
38 'sources': [
39 'interface/opus_interface.h',
40 'opus_interface.c',
41 ],
42 },
43 ],
44}