Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: webrtc/modules/audio_coding/audio_coding.gypi

Issue 1481493004: audio_coding: remove "main" directory (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 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 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 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 { 9 {
10 'includes': [ 10 'includes': [
11 '../../build/common.gypi', 11 '../../build/common.gypi',
12 'codecs/interfaces.gypi', 12 'codecs/interfaces.gypi',
13 'codecs/cng/cng.gypi', 13 'codecs/cng/cng.gypi',
14 'codecs/g711/g711.gypi', 14 'codecs/g711/g711.gypi',
15 'codecs/g722/g722.gypi', 15 'codecs/g722/g722.gypi',
16 'codecs/ilbc/ilbc.gypi', 16 'codecs/ilbc/ilbc.gypi',
17 'codecs/isac/isac.gypi', 17 'codecs/isac/isac.gypi',
18 'codecs/isac/isac_common.gypi', 18 'codecs/isac/isac_common.gypi',
19 'codecs/isac/isacfix.gypi', 19 'codecs/isac/isacfix.gypi',
20 'codecs/pcm16b/pcm16b.gypi', 20 'codecs/pcm16b/pcm16b.gypi',
21 'codecs/red/red.gypi', 21 'codecs/red/red.gypi',
22 'main/audio_coding_module.gypi',
23 'neteq/neteq.gypi', 22 'neteq/neteq.gypi',
24 ], 23 ],
24 'variables': {
25 'audio_coding_dependencies': [
26 'cng',
27 'g711',
28 'pcm16b',
29 '<(webrtc_root)/common.gyp:webrtc_common',
30 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
31 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
32 ],
33 'audio_coding_defines': [],
34 'conditions': [
35 ['include_opus==1', {
36 'audio_coding_dependencies': ['webrtc_opus',],
37 'audio_coding_defines': ['WEBRTC_CODEC_OPUS',],
38 }],
39 ['build_with_mozilla==0', {
40 'conditions': [
41 ['target_arch=="arm"', {
42 'audio_coding_dependencies': ['isac_fix',],
43 'audio_coding_defines': ['WEBRTC_CODEC_ISACFX',],
44 }, {
45 'audio_coding_dependencies': ['isac',],
46 'audio_coding_defines': ['WEBRTC_CODEC_ISAC',],
47 }],
48 ],
49 'audio_coding_dependencies': ['g722',],
50 'audio_coding_defines': ['WEBRTC_CODEC_G722',],
51 }],
52 ['build_with_mozilla==0 and build_with_chromium==0', {
53 'audio_coding_dependencies': ['ilbc', 'red',],
54 'audio_coding_defines': ['WEBRTC_CODEC_ILBC', 'WEBRTC_CODEC_RED',],
55 }],
56 ],
57 },
58 'targets': [
59 {
60 'target_name': 'rent_a_codec',
61 'type': 'static_library',
62 'defines': [
63 '<@(audio_coding_defines)',
64 ],
65 'dependencies': [
66 '<(webrtc_root)/common.gyp:webrtc_common',
67 ],
68 'include_dirs': [
69 '<(webrtc_root)',
70 ],
71 'direct_dependent_settings': {
72 'include_dirs': [
73 '<(webrtc_root)',
74 ],
75 },
76 'sources': [
77 'acm2/acm_codec_database.cc',
78 'acm2/acm_codec_database.h',
79 'acm2/rent_a_codec.cc',
80 'acm2/rent_a_codec.h',
81 ],
82 },
83 {
84 'target_name': 'audio_coding_module',
85 'type': 'static_library',
86 'defines': [
87 '<@(audio_coding_defines)',
88 ],
89 'dependencies': [
90 '<@(audio_coding_dependencies)',
91 '<(webrtc_root)/common.gyp:webrtc_common',
92 '<(webrtc_root)/webrtc.gyp:rtc_event_log',
93 'neteq',
94 'rent_a_codec',
95 ],
96 'include_dirs': [
97 'include',
98 '../include',
99 '<(webrtc_root)',
100 ],
101 'direct_dependent_settings': {
102 'include_dirs': [
103 'include',
104 '../include',
105 '<(webrtc_root)',
106 ],
107 },
108 'conditions': [
109 ['include_opus==1', {
110 'export_dependent_settings': ['webrtc_opus'],
111 }],
112 ],
113 'sources': [
114 'acm2/acm_common_defs.h',
115 'acm2/acm_receiver.cc',
116 'acm2/acm_receiver.h',
117 'acm2/acm_resampler.cc',
118 'acm2/acm_resampler.h',
119 'acm2/audio_coding_module.cc',
120 'acm2/audio_coding_module_impl.cc',
121 'acm2/audio_coding_module_impl.h',
122 'acm2/call_statistics.cc',
123 'acm2/call_statistics.h',
124 'acm2/codec_manager.cc',
125 'acm2/codec_manager.h',
126 'acm2/initial_delay_manager.cc',
127 'acm2/initial_delay_manager.h',
128 'include/audio_coding_module.h',
129 'include/audio_coding_module_typedefs.h',
130 ],
131 },
132 ],
25 'conditions': [ 133 'conditions': [
26 ['include_opus==1', { 134 ['include_opus==1', {
27 'includes': ['codecs/opus/opus.gypi',], 135 'includes': ['codecs/opus/opus.gypi',],
28 }], 136 }],
137 ['include_tests==1', {
138 'targets': [
139 {
140 'target_name': 'acm_receive_test',
141 'type': 'static_library',
142 'defines': [
143 '<@(audio_coding_defines)',
144 ],
145 'dependencies': [
146 '<@(audio_coding_dependencies)',
147 'audio_coding_module',
148 'neteq_unittest_tools',
149 '<(DEPTH)/testing/gtest.gyp:gtest',
150 ],
151 'sources': [
152 'acm2/acm_receive_test_oldapi.cc',
153 'acm2/acm_receive_test_oldapi.h',
154 ],
155 }, # acm_receive_test
156 {
157 'target_name': 'acm_send_test',
158 'type': 'static_library',
159 'defines': [
160 '<@(audio_coding_defines)',
161 ],
162 'dependencies': [
163 '<@(audio_coding_dependencies)',
164 'audio_coding_module',
165 'neteq_unittest_tools',
166 '<(DEPTH)/testing/gtest.gyp:gtest',
167 ],
168 'sources': [
169 'acm2/acm_send_test_oldapi.cc',
170 'acm2/acm_send_test_oldapi.h',
171 ],
172 }, # acm_send_test
173 {
174 'target_name': 'delay_test',
175 'type': 'executable',
176 'dependencies': [
177 'audio_coding_module',
178 '<(DEPTH)/testing/gtest.gyp:gtest',
179 '<(webrtc_root)/common.gyp:webrtc_common',
180 '<(webrtc_root)/test/test.gyp:test_support',
181 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers' ,
182 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_ default',
183 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
184 ],
185 'sources': [
186 'test/delay_test.cc',
187 'test/Channel.cc',
188 'test/PCMFile.cc',
189 'test/utility.cc',
190 ],
191 }, # delay_test
192 {
193 'target_name': 'insert_packet_with_timing',
194 'type': 'executable',
195 'dependencies': [
196 'audio_coding_module',
197 '<(DEPTH)/testing/gtest.gyp:gtest',
198 '<(webrtc_root)/common.gyp:webrtc_common',
199 '<(webrtc_root)/test/test.gyp:test_support',
200 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers' ,
201 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_ default',
202 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
203 ],
204 'sources': [
205 'test/insert_packet_with_timing.cc',
206 'test/Channel.cc',
207 'test/PCMFile.cc',
208 ],
209 }, # delay_test
210 ],
211 }],
29 ], 212 ],
30 } 213 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/acm2/rent_a_codec_unittest.cc ('k') | webrtc/modules/audio_coding/include/audio_coding_module.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698