OLD | NEW |
| (Empty) |
1 # 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_opus==1', { | |
16 'dependencies': [ | |
17 '<(opus_dir)/opus.gyp:opus' | |
18 ], | |
19 'export_dependent_settings': [ | |
20 '<(opus_dir)/opus.gyp:opus', | |
21 ], | |
22 'direct_dependent_settings': { | |
23 'include_dirs': [ # need by Neteq audio classifier. | |
24 '<(opus_dir)/src/src', | |
25 '<(opus_dir)/src/celt', | |
26 ], | |
27 }, | |
28 }, { | |
29 'conditions': [ | |
30 ['build_with_mozilla==1', { | |
31 # Mozilla provides its own build of the opus library. | |
32 'include_dirs': [ | |
33 '$(DIST)/include/opus', | |
34 ] | |
35 }], | |
36 ], | |
37 }], | |
38 ], | |
39 'dependencies': [ | |
40 'audio_encoder_interface', | |
41 'audio_network_adaptor', | |
42 ], | |
43 'sources': [ | |
44 'audio_decoder_opus.cc', | |
45 'audio_decoder_opus.h', | |
46 'audio_encoder_opus.cc', | |
47 'audio_encoder_opus.h', | |
48 'opus_inst.h', | |
49 'opus_interface.c', | |
50 'opus_interface.h', | |
51 ], | |
52 }, | |
53 ], | |
54 } | |
OLD | NEW |