OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 import("../../build/webrtc.gni") | 10 import("../../build/webrtc.gni") |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 ] | 172 ] |
173 | 173 |
174 configs += [ "../..:common_config" ] | 174 configs += [ "../..:common_config" ] |
175 | 175 |
176 public_configs = [ | 176 public_configs = [ |
177 "../..:common_inherited_config", | 177 "../..:common_inherited_config", |
178 ":cng_config", | 178 ":cng_config", |
179 ] | 179 ] |
180 | 180 |
181 deps = [ | 181 deps = [ |
| 182 ":audio_encoder_interface", |
182 "../../common_audio", | 183 "../../common_audio", |
183 ":audio_encoder_interface", | |
184 ] | 184 ] |
185 } | 185 } |
186 | 186 |
187 config("red_config") { | 187 config("red_config") { |
188 include_dirs = [ "codecs/red" ] | 188 include_dirs = [ "codecs/red" ] |
189 } | 189 } |
190 | 190 |
191 source_set("red") { | 191 source_set("red") { |
192 sources = [ | 192 sources = [ |
193 "codecs/red/audio_encoder_copy_red.cc", | 193 "codecs/red/audio_encoder_copy_red.cc", |
194 "codecs/red/audio_encoder_copy_red.h", | 194 "codecs/red/audio_encoder_copy_red.h", |
195 ] | 195 ] |
196 | 196 |
197 configs += [ "../..:common_config" ] | 197 configs += [ "../..:common_config" ] |
198 | 198 |
199 public_configs = [ | 199 public_configs = [ |
200 "../..:common_inherited_config", | 200 "../..:common_inherited_config", |
201 ":red_config", | 201 ":red_config", |
202 ] | 202 ] |
203 | 203 |
204 deps = [ | 204 deps = [ |
| 205 ":audio_encoder_interface", |
205 "../../common_audio", | 206 "../../common_audio", |
206 ":audio_encoder_interface", | |
207 ] | 207 ] |
208 } | 208 } |
209 | 209 |
210 config("g711_config") { | 210 config("g711_config") { |
211 include_dirs = [ | 211 include_dirs = [ |
212 "../../..", | 212 "../../..", |
213 "codecs/g711/include", | 213 "codecs/g711/include", |
214 ] | 214 ] |
215 } | 215 } |
216 | 216 |
(...skipping 10 matching lines...) Expand all Loading... |
227 ] | 227 ] |
228 | 228 |
229 configs += [ "../..:common_config" ] | 229 configs += [ "../..:common_config" ] |
230 | 230 |
231 public_configs = [ | 231 public_configs = [ |
232 "../..:common_inherited_config", | 232 "../..:common_inherited_config", |
233 ":g711_config", | 233 ":g711_config", |
234 ] | 234 ] |
235 | 235 |
236 deps = [ | 236 deps = [ |
| 237 ":audio_decoder_interface", |
237 ":audio_encoder_interface", | 238 ":audio_encoder_interface", |
238 ] | 239 ] |
239 } | 240 } |
240 | 241 |
241 config("g722_config") { | 242 config("g722_config") { |
242 include_dirs = [ | 243 include_dirs = [ |
243 "../../..", | 244 "../../..", |
244 "codecs/g722/include", | 245 "codecs/g722/include", |
245 ] | 246 ] |
246 } | 247 } |
(...skipping 12 matching lines...) Expand all Loading... |
259 ] | 260 ] |
260 | 261 |
261 configs += [ "../..:common_config" ] | 262 configs += [ "../..:common_config" ] |
262 | 263 |
263 public_configs = [ | 264 public_configs = [ |
264 "../..:common_inherited_config", | 265 "../..:common_inherited_config", |
265 ":g722_config", | 266 ":g722_config", |
266 ] | 267 ] |
267 | 268 |
268 deps = [ | 269 deps = [ |
| 270 ":audio_decoder_interface", |
269 ":audio_encoder_interface", | 271 ":audio_encoder_interface", |
270 ] | 272 ] |
271 } | 273 } |
272 | 274 |
273 config("ilbc_config") { | 275 config("ilbc_config") { |
274 include_dirs = [ | 276 include_dirs = [ |
275 "../../..", | 277 "../../..", |
276 "codecs/ilbc/include", | 278 "codecs/ilbc/include", |
277 ] | 279 ] |
278 } | 280 } |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 ] | 427 ] |
426 | 428 |
427 configs += [ "../..:common_config" ] | 429 configs += [ "../..:common_config" ] |
428 | 430 |
429 public_configs = [ | 431 public_configs = [ |
430 "../..:common_inherited_config", | 432 "../..:common_inherited_config", |
431 ":ilbc_config", | 433 ":ilbc_config", |
432 ] | 434 ] |
433 | 435 |
434 deps = [ | 436 deps = [ |
| 437 ":audio_decoder_interface", |
| 438 ":audio_encoder_interface", |
435 "../../common_audio", | 439 "../../common_audio", |
436 ":audio_encoder_interface", | |
437 ] | 440 ] |
438 } | 441 } |
439 | 442 |
440 source_set("isac_common") { | 443 source_set("isac_common") { |
441 sources = [ | 444 sources = [ |
442 "codecs/isac/audio_encoder_isac_t.h", | 445 "codecs/isac/audio_encoder_isac_t.h", |
443 "codecs/isac/audio_encoder_isac_t_impl.h", | 446 "codecs/isac/audio_encoder_isac_t_impl.h", |
444 "codecs/isac/locked_bandwidth_info.cc", | 447 "codecs/isac/locked_bandwidth_info.cc", |
445 "codecs/isac/locked_bandwidth_info.h", | 448 "codecs/isac/locked_bandwidth_info.h", |
446 ] | 449 ] |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
595 } | 598 } |
596 | 599 |
597 configs += [ "../..:common_config" ] | 600 configs += [ "../..:common_config" ] |
598 | 601 |
599 public_configs = [ | 602 public_configs = [ |
600 "../..:common_inherited_config", | 603 "../..:common_inherited_config", |
601 ":isac_fix_config", | 604 ":isac_fix_config", |
602 ] | 605 ] |
603 | 606 |
604 deps = [ | 607 deps = [ |
| 608 ":audio_decoder_interface", |
605 ":audio_encoder_interface", | 609 ":audio_encoder_interface", |
606 ":isac_common", | 610 ":isac_common", |
607 "../../common_audio", | 611 "../../common_audio", |
608 "../../system_wrappers", | 612 "../../system_wrappers", |
609 ] | 613 ] |
610 | 614 |
611 if (rtc_build_with_neon) { | 615 if (rtc_build_with_neon) { |
612 deps += [ ":isac_neon" ] | 616 deps += [ ":isac_neon" ] |
613 } | 617 } |
614 | 618 |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
695 sources = [ | 699 sources = [ |
696 "codecs/pcm16b/audio_decoder_pcm16b.cc", | 700 "codecs/pcm16b/audio_decoder_pcm16b.cc", |
697 "codecs/pcm16b/audio_decoder_pcm16b.h", | 701 "codecs/pcm16b/audio_decoder_pcm16b.h", |
698 "codecs/pcm16b/audio_encoder_pcm16b.cc", | 702 "codecs/pcm16b/audio_encoder_pcm16b.cc", |
699 "codecs/pcm16b/audio_encoder_pcm16b.h", | 703 "codecs/pcm16b/audio_encoder_pcm16b.h", |
700 "codecs/pcm16b/pcm16b.c", | 704 "codecs/pcm16b/pcm16b.c", |
701 "codecs/pcm16b/pcm16b.h", | 705 "codecs/pcm16b/pcm16b.h", |
702 ] | 706 ] |
703 | 707 |
704 deps = [ | 708 deps = [ |
| 709 ":audio_decoder_interface", |
705 ":audio_encoder_interface", | 710 ":audio_encoder_interface", |
706 ":g711", | 711 ":g711", |
707 ] | 712 ] |
708 | 713 |
709 configs += [ "../..:common_config" ] | 714 configs += [ "../..:common_config" ] |
710 | 715 |
711 public_configs = [ | 716 public_configs = [ |
712 "../..:common_inherited_config", | 717 "../..:common_inherited_config", |
713 ":pcm16b_config", | 718 ":pcm16b_config", |
714 ] | 719 ] |
715 } | 720 } |
716 | 721 |
717 config("opus_config") { | 722 config("opus_config") { |
718 include_dirs = [ "../../.." ] | 723 include_dirs = [ "../../.." ] |
719 } | 724 } |
720 | 725 |
721 source_set("webrtc_opus") { | 726 source_set("webrtc_opus") { |
722 sources = [ | 727 sources = [ |
723 "codecs/opus/audio_decoder_opus.cc", | 728 "codecs/opus/audio_decoder_opus.cc", |
724 "codecs/opus/audio_decoder_opus.h", | 729 "codecs/opus/audio_decoder_opus.h", |
725 "codecs/opus/audio_encoder_opus.cc", | 730 "codecs/opus/audio_encoder_opus.cc", |
726 "codecs/opus/audio_encoder_opus.h", | 731 "codecs/opus/audio_encoder_opus.h", |
727 "codecs/opus/opus_inst.h", | 732 "codecs/opus/opus_inst.h", |
728 "codecs/opus/opus_interface.c", | 733 "codecs/opus/opus_interface.c", |
729 "codecs/opus/opus_interface.h", | 734 "codecs/opus/opus_interface.h", |
730 ] | 735 ] |
731 | 736 |
732 deps = [ | 737 deps = [ |
| 738 ":audio_decoder_interface", |
733 ":audio_encoder_interface", | 739 ":audio_encoder_interface", |
| 740 "../../base:rtc_base_approved", |
734 ] | 741 ] |
735 | 742 |
736 if (rtc_build_opus) { | 743 if (rtc_build_opus) { |
737 configs += [ "../..:common_config" ] | 744 configs += [ "../..:common_config" ] |
738 public_configs = [ "../..:common_inherited_config" ] | 745 public_configs = [ "../..:common_inherited_config" ] |
739 | 746 |
740 public_deps = [ | 747 public_deps = [ |
741 rtc_opus_dir, | 748 rtc_opus_dir, |
742 ] | 749 ] |
743 } else if (build_with_mozilla) { | 750 } else if (build_with_mozilla) { |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
856 deps += [ ":isac" ] | 863 deps += [ ":isac" ] |
857 } | 864 } |
858 defines += [ "WEBRTC_CODEC_G722" ] | 865 defines += [ "WEBRTC_CODEC_G722" ] |
859 deps += [ ":g722" ] | 866 deps += [ ":g722" ] |
860 } | 867 } |
861 if (!build_with_mozilla && !build_with_chromium) { | 868 if (!build_with_mozilla && !build_with_chromium) { |
862 defines += [ "WEBRTC_CODEC_ILBC" ] | 869 defines += [ "WEBRTC_CODEC_ILBC" ] |
863 deps += [ ":ilbc" ] | 870 deps += [ ":ilbc" ] |
864 } | 871 } |
865 } | 872 } |
OLD | NEW |