blob: 43d99f89fc57535fb8252e279befda06d6954d9b [file] [log] [blame]
turaj@webrtc.org7959e162013-09-12 18:30:261# 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{
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:4610 'variables': {
11 'audio_coding_dependencies': [
Zeke Chin786dbdc2015-06-10 20:45:0812 'cng',
13 'g711',
14 'g722',
15 'ilbc',
16 'isac',
17 'isac_fix',
18 'pcm16b',
henrik.lundin@webrtc.orgc1c92912014-12-16 13:41:3619 'red',
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:2220 '<(webrtc_root)/common.gyp:webrtc_common',
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:4621 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
andresp@webrtc.org86e1e482015-01-14 09:30:5222 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:4623 ],
24 'audio_coding_defines': [],
25 'conditions': [
26 ['include_opus==1', {
27 'audio_coding_dependencies': ['webrtc_opus',],
28 'audio_coding_defines': ['WEBRTC_CODEC_OPUS',],
29 }],
30 ],
31 },
turaj@webrtc.org7959e162013-09-12 18:30:2632 'targets': [
33 {
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:4634 'target_name': 'audio_coding_module',
turaj@webrtc.org7959e162013-09-12 18:30:2635 'type': 'static_library',
36 'defines': [
37 '<@(audio_coding_defines)',
38 ],
39 'dependencies': [
40 '<@(audio_coding_dependencies)',
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:2241 '<(webrtc_root)/common.gyp:webrtc_common',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:2842 'neteq',
turaj@webrtc.org7959e162013-09-12 18:30:2643 ],
44 'include_dirs': [
Peter Boström9a6e7412015-07-30 09:34:0145 'interface',
46 '../../interface',
pbos@webrtc.org57eb8582013-11-11 10:20:2747 '<(webrtc_root)',
turaj@webrtc.org7959e162013-09-12 18:30:2648 ],
49 'direct_dependent_settings': {
50 'include_dirs': [
Peter Boström9a6e7412015-07-30 09:34:0151 'interface',
52 '../../interface',
pbos@webrtc.org57eb8582013-11-11 10:20:2753 '<(webrtc_root)',
turaj@webrtc.org7959e162013-09-12 18:30:2654 ],
55 },
56 'sources': [
Peter Boström9a6e7412015-07-30 09:34:0157 'acm2/acm_codec_database.cc',
58 'acm2/acm_codec_database.h',
59 'acm2/acm_common_defs.h',
60 'acm2/acm_receiver.cc',
61 'acm2/acm_receiver.h',
62 'acm2/acm_resampler.cc',
63 'acm2/acm_resampler.h',
64 'acm2/audio_coding_module.cc',
65 'acm2/audio_coding_module_impl.cc',
66 'acm2/audio_coding_module_impl.h',
67 'acm2/call_statistics.cc',
68 'acm2/call_statistics.h',
69 'acm2/codec_manager.cc',
70 'acm2/codec_manager.h',
71 'acm2/codec_owner.cc',
72 'acm2/codec_owner.h',
73 'acm2/initial_delay_manager.cc',
74 'acm2/initial_delay_manager.h',
75 'acm2/nack.cc',
76 'acm2/nack.h',
77 'interface/audio_coding_module.h',
78 'interface/audio_coding_module_typedefs.h',
turaj@webrtc.org7959e162013-09-12 18:30:2679 ],
80 },
turaj@webrtc.org7959e162013-09-12 18:30:2681 ],
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:4682 'conditions': [
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:4683 ['include_tests==1', {
84 'targets': [
85 {
henrik.lundin@webrtc.orgc8e98182014-06-26 19:07:0486 'target_name': 'acm_receive_test',
87 'type': 'static_library',
henrik.lundin@webrtc.org0e6e4d22014-09-23 12:05:3488 'defines': [
89 '<@(audio_coding_defines)',
90 ],
henrik.lundin@webrtc.orgc8e98182014-06-26 19:07:0491 'dependencies': [
henrik.lundin@webrtc.org0e6e4d22014-09-23 12:05:3492 '<@(audio_coding_dependencies)',
henrik.lundin@webrtc.orgc8e98182014-06-26 19:07:0493 'audio_coding_module',
94 'neteq_unittest_tools',
95 '<(DEPTH)/testing/gtest.gyp:gtest',
96 ],
97 'sources': [
Peter Boström9a6e7412015-07-30 09:34:0198 'acm2/acm_receive_test.cc',
99 'acm2/acm_receive_test.h',
100 'acm2/acm_receive_test_oldapi.cc',
101 'acm2/acm_receive_test_oldapi.h',
henrik.lundin@webrtc.orgc8e98182014-06-26 19:07:04102 ],
103 }, # acm_receive_test
104 {
henrik.lundin@webrtc.org038cee22014-08-21 08:59:14105 'target_name': 'acm_send_test',
106 'type': 'static_library',
henrik.lundin@webrtc.org0e6e4d22014-09-23 12:05:34107 'defines': [
108 '<@(audio_coding_defines)',
109 ],
henrik.lundin@webrtc.org038cee22014-08-21 08:59:14110 'dependencies': [
henrik.lundin@webrtc.org0e6e4d22014-09-23 12:05:34111 '<@(audio_coding_dependencies)',
henrik.lundin@webrtc.org038cee22014-08-21 08:59:14112 'audio_coding_module',
113 'neteq_unittest_tools',
114 '<(DEPTH)/testing/gtest.gyp:gtest',
115 ],
116 'sources': [
Peter Boström9a6e7412015-07-30 09:34:01117 'acm2/acm_send_test.cc',
118 'acm2/acm_send_test.h',
119 'acm2/acm_send_test_oldapi.cc',
120 'acm2/acm_send_test_oldapi.h',
henrik.lundin@webrtc.org038cee22014-08-21 08:59:14121 ],
122 }, # acm_send_test
123 {
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:46124 'target_name': 'delay_test',
125 'type': 'executable',
126 'dependencies': [
127 'audio_coding_module',
128 '<(DEPTH)/testing/gtest.gyp:gtest',
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22129 '<(webrtc_root)/common.gyp:webrtc_common',
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:46130 '<(webrtc_root)/test/test.gyp:test_support',
andresp@webrtc.org86e1e482015-01-14 09:30:52131 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
132 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:46133 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
134 ],
135 'sources': [
Peter Boström9a6e7412015-07-30 09:34:01136 'test/delay_test.cc',
137 'test/Channel.cc',
138 'test/PCMFile.cc',
139 'test/utility.cc',
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:46140 ],
141 }, # delay_test
142 {
143 'target_name': 'insert_packet_with_timing',
144 'type': 'executable',
145 'dependencies': [
146 'audio_coding_module',
147 '<(DEPTH)/testing/gtest.gyp:gtest',
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22148 '<(webrtc_root)/common.gyp:webrtc_common',
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:46149 '<(webrtc_root)/test/test.gyp:test_support',
andresp@webrtc.org86e1e482015-01-14 09:30:52150 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
151 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:46152 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
153 ],
154 'sources': [
Peter Boström9a6e7412015-07-30 09:34:01155 'test/insert_packet_with_timing.cc',
156 'test/Channel.cc',
157 'test/PCMFile.cc',
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:46158 ],
159 }, # delay_test
160 ],
161 }],
162 ],
turaj@webrtc.org7959e162013-09-12 18:30:26163}