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("../../webrtc.gni") | 9 import("../../webrtc.gni") |
10 import("audio_coding.gni") | 10 import("audio_coding.gni") |
(...skipping 21 matching lines...) Expand all Loading... | |
32 } | 32 } |
33 if (!build_with_mozilla && !build_with_chromium) { | 33 if (!build_with_mozilla && !build_with_chromium) { |
34 audio_codec_deps += [ ":red" ] | 34 audio_codec_deps += [ ":red" ] |
35 } | 35 } |
36 audio_coding_deps = audio_codec_deps + [ | 36 audio_coding_deps = audio_codec_deps + [ |
37 "../..:webrtc_common", | 37 "../..:webrtc_common", |
38 "../../common_audio", | 38 "../../common_audio", |
39 "../../system_wrappers", | 39 "../../system_wrappers", |
40 ] | 40 ] |
41 | 41 |
42 rtc_static_library("audio_format") { | |
43 sources = [ | |
44 "codecs/audio_format.cc", | |
45 "codecs/audio_format.h", | |
46 ] | |
47 deps = [ | |
48 "../..:webrtc_common", | |
49 ] | |
50 } | |
51 | |
52 rtc_static_library("audio_format_conversion") { | 42 rtc_static_library("audio_format_conversion") { |
53 sources = [ | 43 sources = [ |
54 "codecs/audio_format_conversion.cc", | 44 "codecs/audio_format_conversion.cc", |
55 "codecs/audio_format_conversion.h", | 45 "codecs/audio_format_conversion.h", |
56 ] | 46 ] |
57 deps = [ | 47 deps = [ |
58 ":audio_format", | |
59 "../..:webrtc_common", | 48 "../..:webrtc_common", |
49 "../../api/audio_codec:audio_format", | |
60 "../../base:rtc_base_approved", | 50 "../../base:rtc_base_approved", |
61 ] | 51 ] |
62 } | 52 } |
63 | 53 |
64 rtc_source_set("audio_decoder_factory_interface") { | 54 rtc_static_library("internal_builtin_audio_decoder_factory") { |
65 sources = [ | 55 sources = [ |
66 "codecs/audio_decoder_factory.h", | 56 "codecs/internal_builtin_audio_decoder_factory.cc", |
67 ] | 57 "codecs/internal_builtin_audio_decoder_factory.h", |
68 deps = [ | |
69 ":audio_decoder_interface", | |
70 ":audio_format", | |
71 | |
72 # TODO(charujain): Clean this dependency when downstream projects are | |
73 # updated to properly depend on audio_format_conversion target. | |
74 ":audio_format_conversion", | |
75 "../../base:rtc_base_approved", | |
76 ] | |
77 } | |
78 | |
79 rtc_static_library("builtin_audio_decoder_factory") { | |
80 sources = [ | |
81 "codecs/builtin_audio_decoder_factory.cc", | |
82 "codecs/builtin_audio_decoder_factory.h", | |
83 ] | 58 ] |
84 deps = [ | 59 deps = [ |
85 "../..:webrtc_common", | 60 "../..:webrtc_common", |
86 "../../base:rtc_base_approved", | 61 "../../base:rtc_base_approved", |
87 ":audio_decoder_factory_interface", | 62 "../../api/audio_codec:audio_decoder_factory_interface", |
88 ] + audio_codec_deps | 63 ] + audio_codec_deps |
89 defines = audio_codec_defines | 64 defines = audio_codec_defines |
90 } | 65 } |
91 | 66 |
92 rtc_static_library("rent_a_codec") { | 67 rtc_static_library("rent_a_codec") { |
93 # TODO(kjellander): Remove (bugs.webrtc.org/6828) | 68 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
94 # Gives cyclic dependency with :neteq and :audio_coding if enabled. | 69 # Gives cyclic dependency with :neteq and :audio_coding if enabled. |
95 check_includes = false | 70 check_includes = false |
96 | 71 |
97 sources = [ | 72 sources = [ |
98 "acm2/acm_codec_database.cc", | 73 "acm2/acm_codec_database.cc", |
99 "acm2/acm_codec_database.h", | 74 "acm2/acm_codec_database.h", |
100 "acm2/rent_a_codec.cc", | 75 "acm2/rent_a_codec.cc", |
101 "acm2/rent_a_codec.h", | 76 "acm2/rent_a_codec.h", |
102 ] | 77 ] |
103 deps = [ | 78 deps = [ |
104 ":audio_decoder_interface", | 79 "../../api/audio_codec:audio_decoder_interface", |
105 "../..:webrtc_common", | 80 "../..:webrtc_common", |
106 "../../base:rtc_base_approved", | 81 "../../base:rtc_base_approved", |
107 ] + audio_codec_deps | 82 ] + audio_codec_deps |
108 defines = audio_codec_defines | 83 defines = audio_codec_defines |
109 } | 84 } |
110 | 85 |
111 config("audio_coding_config") { | 86 config("audio_coding_config") { |
112 include_dirs = [ | 87 include_dirs = [ |
113 "include", | 88 "include", |
114 "../include", | 89 "../include", |
(...skipping 27 matching lines...) Expand all Loading... | |
142 } | 117 } |
143 | 118 |
144 if (is_win) { | 119 if (is_win) { |
145 cflags = [ | 120 cflags = [ |
146 # TODO(kjellander): Bug 261: fix this warning. | 121 # TODO(kjellander): Bug 261: fix this warning. |
147 "/wd4373", # virtual function override. | 122 "/wd4373", # virtual function override. |
148 ] | 123 ] |
149 } | 124 } |
150 | 125 |
151 deps = audio_coding_deps + [ | 126 deps = audio_coding_deps + [ |
152 ":audio_decoder_interface", | 127 "../../api/audio_codec:audio_decoder_interface", |
153 ":audio_decoder_factory_interface", | 128 "../../api/audio_codec:audio_decoder_factory_interface", |
154 ":builtin_audio_decoder_factory", | 129 "../../api/audio_codec:builtin_audio_decoder_factory", |
155 ":neteq", | 130 ":neteq", |
156 ":rent_a_codec", | 131 ":rent_a_codec", |
157 "../../base:rtc_base_approved", | 132 "../../base:rtc_base_approved", |
158 "../../logging:rtc_event_log_api", | 133 "../../logging:rtc_event_log_api", |
159 ] | 134 ] |
160 defines = audio_coding_defines | 135 defines = audio_coding_defines |
161 } | 136 } |
162 | 137 |
163 rtc_static_library("audio_decoder_interface") { | 138 rtc_static_library("legacy_encoded_audio_frame") { |
164 sources = [ | 139 sources = [ |
165 "codecs/audio_decoder.cc", | |
166 "codecs/audio_decoder.h", | |
167 "codecs/legacy_encoded_audio_frame.cc", | 140 "codecs/legacy_encoded_audio_frame.cc", |
168 "codecs/legacy_encoded_audio_frame.h", | 141 "codecs/legacy_encoded_audio_frame.h", |
169 ] | 142 ] |
170 deps = [ | 143 deps = [ |
171 "../..:webrtc_common", | 144 "../../api/audio_codec:audio_decoder_interface", |
172 "../../base:rtc_base_approved", | 145 "../../base:rtc_base_approved", |
173 ] | 146 ] |
174 } | 147 } |
175 | 148 |
176 rtc_static_library("audio_encoder_interface") { | 149 rtc_static_library("audio_encoder_interface") { |
177 sources = [ | 150 sources = [ |
178 "codecs/audio_encoder.cc", | 151 "codecs/audio_encoder.cc", |
179 "codecs/audio_encoder.h", | 152 "codecs/audio_encoder.h", |
180 ] | 153 ] |
181 deps = [ | 154 deps = [ |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
239 sources = [ | 212 sources = [ |
240 "codecs/g711/audio_decoder_pcm.cc", | 213 "codecs/g711/audio_decoder_pcm.cc", |
241 "codecs/g711/audio_decoder_pcm.h", | 214 "codecs/g711/audio_decoder_pcm.h", |
242 "codecs/g711/audio_encoder_pcm.cc", | 215 "codecs/g711/audio_encoder_pcm.cc", |
243 "codecs/g711/audio_encoder_pcm.h", | 216 "codecs/g711/audio_encoder_pcm.h", |
244 ] | 217 ] |
245 | 218 |
246 public_configs = [ ":g711_config" ] | 219 public_configs = [ ":g711_config" ] |
247 | 220 |
248 deps = [ | 221 deps = [ |
249 ":audio_decoder_interface", | |
250 ":audio_encoder_interface", | 222 ":audio_encoder_interface", |
223 ":legacy_encoded_audio_frame", | |
251 "../..:webrtc_common", | 224 "../..:webrtc_common", |
225 "../../api/audio_codec:audio_decoder_interface", | |
252 "../../base:rtc_base_approved", | 226 "../../base:rtc_base_approved", |
253 ] | 227 ] |
254 public_deps = [ | 228 public_deps = [ |
255 ":g711_c", | 229 ":g711_c", |
256 ] | 230 ] |
257 } | 231 } |
258 | 232 |
259 rtc_source_set("g711_c") { | 233 rtc_source_set("g711_c") { |
260 visibility = [ ":*" ] # Only targets in this file can depend on this. | 234 visibility = [ ":*" ] # Only targets in this file can depend on this. |
261 sources = [ | 235 sources = [ |
(...skipping 18 matching lines...) Expand all Loading... | |
280 sources = [ | 254 sources = [ |
281 "codecs/g722/audio_decoder_g722.cc", | 255 "codecs/g722/audio_decoder_g722.cc", |
282 "codecs/g722/audio_decoder_g722.h", | 256 "codecs/g722/audio_decoder_g722.h", |
283 "codecs/g722/audio_encoder_g722.cc", | 257 "codecs/g722/audio_encoder_g722.cc", |
284 "codecs/g722/audio_encoder_g722.h", | 258 "codecs/g722/audio_encoder_g722.h", |
285 ] | 259 ] |
286 | 260 |
287 public_configs = [ ":g722_config" ] | 261 public_configs = [ ":g722_config" ] |
288 | 262 |
289 deps = [ | 263 deps = [ |
290 ":audio_decoder_interface", | |
291 ":audio_encoder_interface", | 264 ":audio_encoder_interface", |
265 ":legacy_encoded_audio_frame", | |
292 "../..:webrtc_common", | 266 "../..:webrtc_common", |
267 "../../api/audio_codec:audio_decoder_interface", | |
293 "../../base:rtc_base_approved", | 268 "../../base:rtc_base_approved", |
294 ] | 269 ] |
295 public_deps = [ | 270 public_deps = [ |
296 ":g722_c", | 271 ":g722_c", |
297 ] | 272 ] |
298 } | 273 } |
299 | 274 |
300 rtc_source_set("g722_c") { | 275 rtc_source_set("g722_c") { |
301 visibility = [ ":*" ] # Only targets in this file can depend on this. | 276 visibility = [ ":*" ] # Only targets in this file can depend on this. |
302 sources = [ | 277 sources = [ |
(...skipping 19 matching lines...) Expand all Loading... | |
322 sources = [ | 297 sources = [ |
323 "codecs/ilbc/audio_decoder_ilbc.cc", | 298 "codecs/ilbc/audio_decoder_ilbc.cc", |
324 "codecs/ilbc/audio_decoder_ilbc.h", | 299 "codecs/ilbc/audio_decoder_ilbc.h", |
325 "codecs/ilbc/audio_encoder_ilbc.cc", | 300 "codecs/ilbc/audio_encoder_ilbc.cc", |
326 "codecs/ilbc/audio_encoder_ilbc.h", | 301 "codecs/ilbc/audio_encoder_ilbc.h", |
327 ] | 302 ] |
328 | 303 |
329 public_configs = [ ":ilbc_config" ] | 304 public_configs = [ ":ilbc_config" ] |
330 | 305 |
331 deps = [ | 306 deps = [ |
332 ":audio_decoder_interface", | |
333 ":audio_encoder_interface", | 307 ":audio_encoder_interface", |
308 ":legacy_encoded_audio_frame", | |
334 "../..:webrtc_common", | 309 "../..:webrtc_common", |
310 "../../api/audio_codec:audio_decoder_interface", | |
335 "../../base:rtc_base_approved", | 311 "../../base:rtc_base_approved", |
336 "../../common_audio", | 312 "../../common_audio", |
337 ] | 313 ] |
338 public_deps = [ | 314 public_deps = [ |
339 ":ilbc_c", | 315 ":ilbc_c", |
340 ] | 316 ] |
341 } | 317 } |
342 | 318 |
343 rtc_source_set("ilbc_c") { | 319 rtc_source_set("ilbc_c") { |
344 visibility = [ ":*" ] # Only targets in this file can depend on this. | 320 visibility = [ ":*" ] # Only targets in this file can depend on this. |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
480 "codecs/ilbc/vq4.h", | 456 "codecs/ilbc/vq4.h", |
481 "codecs/ilbc/window32_w32.c", | 457 "codecs/ilbc/window32_w32.c", |
482 "codecs/ilbc/window32_w32.h", | 458 "codecs/ilbc/window32_w32.h", |
483 "codecs/ilbc/xcorr_coef.c", | 459 "codecs/ilbc/xcorr_coef.c", |
484 "codecs/ilbc/xcorr_coef.h", | 460 "codecs/ilbc/xcorr_coef.h", |
485 ] | 461 ] |
486 | 462 |
487 public_configs = [ ":ilbc_config" ] | 463 public_configs = [ ":ilbc_config" ] |
488 | 464 |
489 deps = [ | 465 deps = [ |
490 ":audio_decoder_interface", | |
491 ":audio_encoder_interface", | 466 ":audio_encoder_interface", |
492 "../..:webrtc_common", | 467 "../..:webrtc_common", |
468 "../../api/audio_codec:audio_decoder_interface", | |
493 "../../base:rtc_base_approved", | 469 "../../base:rtc_base_approved", |
494 "../../common_audio", | 470 "../../common_audio", |
495 ] | 471 ] |
496 } | 472 } |
497 | 473 |
498 rtc_static_library("isac_common") { | 474 rtc_static_library("isac_common") { |
499 sources = [ | 475 sources = [ |
500 "codecs/isac/audio_encoder_isac_t.h", | 476 "codecs/isac/audio_encoder_isac_t.h", |
501 "codecs/isac/audio_encoder_isac_t_impl.h", | 477 "codecs/isac/audio_encoder_isac_t_impl.h", |
502 "codecs/isac/locked_bandwidth_info.cc", | 478 "codecs/isac/locked_bandwidth_info.cc", |
(...skipping 15 matching lines...) Expand all Loading... | |
518 | 494 |
519 rtc_static_library("isac") { | 495 rtc_static_library("isac") { |
520 sources = [ | 496 sources = [ |
521 "codecs/isac/main/include/audio_decoder_isac.h", | 497 "codecs/isac/main/include/audio_decoder_isac.h", |
522 "codecs/isac/main/include/audio_encoder_isac.h", | 498 "codecs/isac/main/include/audio_encoder_isac.h", |
523 "codecs/isac/main/source/audio_decoder_isac.cc", | 499 "codecs/isac/main/source/audio_decoder_isac.cc", |
524 "codecs/isac/main/source/audio_encoder_isac.cc", | 500 "codecs/isac/main/source/audio_encoder_isac.cc", |
525 ] | 501 ] |
526 | 502 |
527 deps = [ | 503 deps = [ |
528 ":audio_decoder_interface", | |
529 ":audio_encoder_interface", | 504 ":audio_encoder_interface", |
530 ":isac_common", | 505 ":isac_common", |
506 "../../api/audio_codec:audio_decoder_interface", | |
531 ] | 507 ] |
532 public_deps = [ | 508 public_deps = [ |
533 ":isac_c", | 509 ":isac_c", |
534 ] | 510 ] |
535 } | 511 } |
536 | 512 |
537 rtc_static_library("isac_c") { | 513 rtc_static_library("isac_c") { |
538 visibility = [ ":*" ] # Only targets in this file can depend on this. | 514 visibility = [ ":*" ] # Only targets in this file can depend on this. |
539 sources = [ | 515 sources = [ |
540 "codecs/isac/main/include/isac.h", | 516 "codecs/isac/main/include/isac.h", |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
612 | 588 |
613 rtc_static_library("isac_fix") { | 589 rtc_static_library("isac_fix") { |
614 sources = [ | 590 sources = [ |
615 "codecs/isac/fix/source/audio_decoder_isacfix.cc", | 591 "codecs/isac/fix/source/audio_decoder_isacfix.cc", |
616 "codecs/isac/fix/source/audio_encoder_isacfix.cc", | 592 "codecs/isac/fix/source/audio_encoder_isacfix.cc", |
617 ] | 593 ] |
618 | 594 |
619 public_configs = [ ":isac_fix_config" ] | 595 public_configs = [ ":isac_fix_config" ] |
620 | 596 |
621 deps = [ | 597 deps = [ |
622 ":audio_decoder_interface", | |
623 ":audio_encoder_interface", | 598 ":audio_encoder_interface", |
624 ":isac_common", | 599 ":isac_common", |
600 "../../api/audio_codec:audio_decoder_interface", | |
625 "../../common_audio", | 601 "../../common_audio", |
626 "../../system_wrappers", | 602 "../../system_wrappers", |
627 ] | 603 ] |
628 public_deps = [ | 604 public_deps = [ |
629 ":isac_fix_c", | 605 ":isac_fix_c", |
630 ] | 606 ] |
631 | 607 |
632 if (rtc_build_with_neon) { | 608 if (rtc_build_with_neon) { |
633 deps += [ ":isac_neon" ] | 609 deps += [ ":isac_neon" ] |
634 } | 610 } |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
688 "codecs/isac/fix/source/spectrum_ar_model_tables.c", | 664 "codecs/isac/fix/source/spectrum_ar_model_tables.c", |
689 "codecs/isac/fix/source/spectrum_ar_model_tables.h", | 665 "codecs/isac/fix/source/spectrum_ar_model_tables.h", |
690 "codecs/isac/fix/source/structs.h", | 666 "codecs/isac/fix/source/structs.h", |
691 "codecs/isac/fix/source/transform.c", | 667 "codecs/isac/fix/source/transform.c", |
692 "codecs/isac/fix/source/transform_tables.c", | 668 "codecs/isac/fix/source/transform_tables.c", |
693 ] | 669 ] |
694 | 670 |
695 public_configs = [ ":isac_fix_config" ] | 671 public_configs = [ ":isac_fix_config" ] |
696 | 672 |
697 deps = [ | 673 deps = [ |
698 ":audio_decoder_interface", | |
699 ":audio_encoder_interface", | 674 ":audio_encoder_interface", |
700 ":isac_common", | 675 ":isac_common", |
701 "../..:webrtc_common", | 676 "../..:webrtc_common", |
677 "../../api/audio_codec:audio_decoder_interface", | |
702 "../../base:rtc_base_approved", | 678 "../../base:rtc_base_approved", |
703 "../../common_audio", | 679 "../../common_audio", |
704 "../../system_wrappers", | 680 "../../system_wrappers", |
705 ] | 681 ] |
706 | 682 |
707 public_deps = [ | 683 public_deps = [ |
708 ":isac_fix_common", | 684 ":isac_fix_common", |
709 ] | 685 ] |
710 | 686 |
711 if (rtc_build_with_neon) { | 687 if (rtc_build_with_neon) { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
792 | 768 |
793 rtc_static_library("pcm16b") { | 769 rtc_static_library("pcm16b") { |
794 sources = [ | 770 sources = [ |
795 "codecs/pcm16b/audio_decoder_pcm16b.cc", | 771 "codecs/pcm16b/audio_decoder_pcm16b.cc", |
796 "codecs/pcm16b/audio_decoder_pcm16b.h", | 772 "codecs/pcm16b/audio_decoder_pcm16b.h", |
797 "codecs/pcm16b/audio_encoder_pcm16b.cc", | 773 "codecs/pcm16b/audio_encoder_pcm16b.cc", |
798 "codecs/pcm16b/audio_encoder_pcm16b.h", | 774 "codecs/pcm16b/audio_encoder_pcm16b.h", |
799 ] | 775 ] |
800 | 776 |
801 deps = [ | 777 deps = [ |
802 ":audio_decoder_interface", | |
803 ":audio_encoder_interface", | 778 ":audio_encoder_interface", |
804 ":g711", | 779 ":g711", |
780 ":legacy_encoded_audio_frame", | |
805 "../..:webrtc_common", | 781 "../..:webrtc_common", |
782 "../../api/audio_codec:audio_decoder_interface", | |
806 "../../base:rtc_base_approved", | 783 "../../base:rtc_base_approved", |
807 ] | 784 ] |
808 public_deps = [ | 785 public_deps = [ |
809 ":pcm16b_c", | 786 ":pcm16b_c", |
810 ] | 787 ] |
811 public_configs = [ ":pcm16b_config" ] | 788 public_configs = [ ":pcm16b_config" ] |
812 } | 789 } |
813 | 790 |
814 rtc_source_set("pcm16b_c") { | 791 rtc_source_set("pcm16b_c") { |
815 visibility = [ ":*" ] # Only targets in this file can depend on this. | 792 visibility = [ ":*" ] # Only targets in this file can depend on this. |
(...skipping 14 matching lines...) Expand all Loading... | |
830 | 807 |
831 rtc_static_library("webrtc_opus") { | 808 rtc_static_library("webrtc_opus") { |
832 sources = [ | 809 sources = [ |
833 "codecs/opus/audio_decoder_opus.cc", | 810 "codecs/opus/audio_decoder_opus.cc", |
834 "codecs/opus/audio_decoder_opus.h", | 811 "codecs/opus/audio_decoder_opus.h", |
835 "codecs/opus/audio_encoder_opus.cc", | 812 "codecs/opus/audio_encoder_opus.cc", |
836 "codecs/opus/audio_encoder_opus.h", | 813 "codecs/opus/audio_encoder_opus.h", |
837 ] | 814 ] |
838 | 815 |
839 deps = [ | 816 deps = [ |
840 ":audio_decoder_interface", | |
841 ":audio_encoder_interface", | 817 ":audio_encoder_interface", |
842 ":audio_network_adaptor", | 818 ":audio_network_adaptor", |
843 "../..:webrtc_common", | 819 "../..:webrtc_common", |
820 "../../api/audio_codec:audio_decoder_interface", | |
844 "../../base:rtc_base_approved", | 821 "../../base:rtc_base_approved", |
845 "../../base:rtc_numerics", | 822 "../../base:rtc_numerics", |
846 "../../common_audio", | 823 "../../common_audio", |
847 "../../system_wrappers", | 824 "../../system_wrappers", |
848 ] | 825 ] |
849 public_deps = [ | 826 public_deps = [ |
850 ":webrtc_opus_c", | 827 ":webrtc_opus_c", |
851 ] | 828 ] |
852 | 829 |
853 defines = [] | 830 defines = [] |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1022 "neteq/sync_buffer.h", | 999 "neteq/sync_buffer.h", |
1023 "neteq/tick_timer.cc", | 1000 "neteq/tick_timer.cc", |
1024 "neteq/tick_timer.h", | 1001 "neteq/tick_timer.h", |
1025 "neteq/time_stretch.cc", | 1002 "neteq/time_stretch.cc", |
1026 "neteq/time_stretch.h", | 1003 "neteq/time_stretch.h", |
1027 "neteq/timestamp_scaler.cc", | 1004 "neteq/timestamp_scaler.cc", |
1028 "neteq/timestamp_scaler.h", | 1005 "neteq/timestamp_scaler.h", |
1029 ] | 1006 ] |
1030 | 1007 |
1031 deps = [ | 1008 deps = [ |
1032 ":audio_decoder_factory_interface", | |
1033 ":audio_decoder_interface", | |
1034 ":audio_format", | |
1035 ":builtin_audio_decoder_factory", | |
1036 ":cng", | 1009 ":cng", |
1037 ":g711", | 1010 ":g711", |
1038 ":isac_fix", | 1011 ":isac_fix", |
1039 ":pcm16b", | 1012 ":pcm16b", |
1040 ":rent_a_codec", | 1013 ":rent_a_codec", |
1041 "../..:webrtc_common", | 1014 "../..:webrtc_common", |
1015 "../../api/audio_codec:audio_decoder_factory_interface", | |
1016 "../../api/audio_codec:audio_decoder_interface", | |
1017 "../../api/audio_codec:audio_format", | |
1018 "../../api/audio_codec:builtin_audio_decoder_factory", | |
the sun
2017/02/02 21:02:29
1. Why does NetEq depend on builtin_audio_decoder_
kwiberg-webrtc
2017/02/03 09:50:11
It used to create a factory if it wasn't given one
| |
1042 "../../base:gtest_prod", | 1019 "../../base:gtest_prod", |
1043 "../../base:rtc_base_approved", | 1020 "../../base:rtc_base_approved", |
1044 "../../common_audio", | 1021 "../../common_audio", |
1045 "../../system_wrappers", | 1022 "../../system_wrappers", |
1046 ] | 1023 ] |
1047 | 1024 |
1048 defines = [] | 1025 defines = [] |
1049 | 1026 |
1050 if (rtc_include_ilbc) { | 1027 if (rtc_include_ilbc) { |
1051 defines += [ "WEBRTC_CODEC_ILBC" ] | 1028 defines += [ "WEBRTC_CODEC_ILBC" ] |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1086 "neteq/tools/neteq_test.h", | 1063 "neteq/tools/neteq_test.h", |
1087 ] | 1064 ] |
1088 | 1065 |
1089 if (!build_with_chromium && is_clang) { | 1066 if (!build_with_chromium && is_clang) { |
1090 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1067 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1091 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1068 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1092 } | 1069 } |
1093 | 1070 |
1094 deps = [ | 1071 deps = [ |
1095 ":audio_encoder_interface", | 1072 ":audio_encoder_interface", |
1096 ":builtin_audio_decoder_factory", | |
1097 ":neteq", | 1073 ":neteq", |
1098 "../..:webrtc_common", | 1074 "../..:webrtc_common", |
1075 "../../api/audio_codec:builtin_audio_decoder_factory", | |
1099 "../../base:rtc_base_approved", | 1076 "../../base:rtc_base_approved", |
1100 ] | 1077 ] |
1101 } | 1078 } |
1102 | 1079 |
1103 if (rtc_include_tests) { | 1080 if (rtc_include_tests) { |
1104 group("audio_coding_tests") { | 1081 group("audio_coding_tests") { |
1105 testonly = true | 1082 testonly = true |
1106 public_deps = [ | 1083 public_deps = [ |
1107 ":RTPchange", | 1084 ":RTPchange", |
1108 ":RTPencode", | 1085 ":RTPencode", |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1152 "test/Tester.cc", | 1129 "test/Tester.cc", |
1153 "test/TwoWayCommunication.cc", | 1130 "test/TwoWayCommunication.cc", |
1154 "test/iSACTest.cc", | 1131 "test/iSACTest.cc", |
1155 "test/opus_test.cc", | 1132 "test/opus_test.cc", |
1156 "test/target_delay_unittest.cc", | 1133 "test/target_delay_unittest.cc", |
1157 "test/utility.cc", | 1134 "test/utility.cc", |
1158 ] | 1135 ] |
1159 deps = [ | 1136 deps = [ |
1160 ":audio_coding", | 1137 ":audio_coding", |
1161 ":audio_format_conversion", | 1138 ":audio_format_conversion", |
1162 ":builtin_audio_decoder_factory", | |
1163 ":pcm16b_c", | 1139 ":pcm16b_c", |
1164 "../..:webrtc_common", | 1140 "../..:webrtc_common", |
1141 "../../api/audio_codec:builtin_audio_decoder_factory", | |
1165 "../../base:rtc_base_approved", | 1142 "../../base:rtc_base_approved", |
1166 "../../system_wrappers:system_wrappers", | 1143 "../../system_wrappers:system_wrappers", |
1167 "../../test:fileutils", | 1144 "../../test:fileutils", |
1168 "../../test:test_support", | 1145 "../../test:test_support", |
1169 ] | 1146 ] |
1170 defines = audio_coding_defines | 1147 defines = audio_coding_defines |
1171 if (is_win) { | 1148 if (is_win) { |
1172 cflags = [ | 1149 cflags = [ |
1173 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. | 1150 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. |
1174 "/wd4373", # virtual function override. | 1151 "/wd4373", # virtual function override. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1206 sources = [ | 1183 sources = [ |
1207 "acm2/acm_receive_test.cc", | 1184 "acm2/acm_receive_test.cc", |
1208 "acm2/acm_receive_test.h", | 1185 "acm2/acm_receive_test.h", |
1209 ] | 1186 ] |
1210 | 1187 |
1211 defines = audio_coding_defines | 1188 defines = audio_coding_defines |
1212 | 1189 |
1213 deps = audio_coding_deps + [ | 1190 deps = audio_coding_deps + [ |
1214 ":audio_coding", | 1191 ":audio_coding", |
1215 ":audio_format_conversion", | 1192 ":audio_format_conversion", |
1216 ":audio_decoder_factory_interface", | 1193 "../../api/audio_codec:audio_decoder_factory_interface", |
1217 ":builtin_audio_decoder_factory", | 1194 "../../api/audio_codec:builtin_audio_decoder_factory", |
1218 ":neteq_unittest_tools", | 1195 ":neteq_unittest_tools", |
1219 "../../base:rtc_base_approved", | 1196 "../../base:rtc_base_approved", |
1220 "../../test:test_support", | 1197 "../../test:test_support", |
1221 "//testing/gtest", | 1198 "//testing/gtest", |
1222 ] | 1199 ] |
1223 } | 1200 } |
1224 | 1201 |
1225 rtc_source_set("acm_send_test") { | 1202 rtc_source_set("acm_send_test") { |
1226 testonly = true | 1203 testonly = true |
1227 sources = [ | 1204 sources = [ |
1228 "acm2/acm_send_test.cc", | 1205 "acm2/acm_send_test.cc", |
1229 "acm2/acm_send_test.h", | 1206 "acm2/acm_send_test.h", |
1230 ] | 1207 ] |
1231 | 1208 |
1232 defines = audio_coding_defines | 1209 defines = audio_coding_defines |
1233 | 1210 |
1234 deps = audio_coding_deps + [ | 1211 deps = audio_coding_deps + [ |
1235 ":audio_coding", | 1212 ":audio_coding", |
1236 ":audio_decoder_interface", | 1213 "../../api/audio_codec:audio_decoder_interface", |
1237 ":audio_encoder_interface", | 1214 ":audio_encoder_interface", |
1238 ":neteq_unittest_tools", | 1215 ":neteq_unittest_tools", |
1239 "../../base:rtc_base_approved", | 1216 "../../base:rtc_base_approved", |
1240 "../../test:test_support", | 1217 "../../test:test_support", |
1241 "//testing/gtest", | 1218 "//testing/gtest", |
1242 ] | 1219 ] |
1243 } | 1220 } |
1244 | 1221 |
1245 rtc_executable("delay_test") { | 1222 rtc_executable("delay_test") { |
1246 testonly = true | 1223 testonly = true |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1315 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1292 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1316 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1293 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1317 } | 1294 } |
1318 | 1295 |
1319 deps = [] | 1296 deps = [] |
1320 | 1297 |
1321 defines = neteq_defines | 1298 defines = neteq_defines |
1322 | 1299 |
1323 deps += audio_coding_deps | 1300 deps += audio_coding_deps |
1324 deps += [ | 1301 deps += [ |
1325 ":audio_decoder_interface", | |
1326 ":isac", | 1302 ":isac", |
1327 ":isac_fix", | 1303 ":isac_fix", |
1328 ":neteq", | 1304 ":neteq", |
1329 ":neteq_unittest_tools", | 1305 ":neteq_unittest_tools", |
1306 "../../api/audio_codec:audio_decoder_interface", | |
1330 "../../common_audio", | 1307 "../../common_audio", |
1331 "../../test:test_main", | 1308 "../../test:test_main", |
1332 "//testing/gtest", | 1309 "//testing/gtest", |
1333 ] | 1310 ] |
1334 | 1311 |
1335 data = audio_decoder_unittests_resources | 1312 data = audio_decoder_unittests_resources |
1336 | 1313 |
1337 if (is_android) { | 1314 if (is_android) { |
1338 deps += [ "//testing/android/native_test:native_test_native_code" ] | 1315 deps += [ "//testing/android/native_test:native_test_native_code" ] |
1339 shard_timeout = 900 | 1316 shard_timeout = 900 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1450 "neteq/tools/neteq_performance_test.cc", | 1427 "neteq/tools/neteq_performance_test.cc", |
1451 "neteq/tools/neteq_performance_test.h", | 1428 "neteq/tools/neteq_performance_test.h", |
1452 ] | 1429 ] |
1453 | 1430 |
1454 if (!build_with_chromium && is_clang) { | 1431 if (!build_with_chromium && is_clang) { |
1455 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1432 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1456 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1433 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1457 } | 1434 } |
1458 | 1435 |
1459 deps = [ | 1436 deps = [ |
1460 ":audio_decoder_interface", | |
1461 ":builtin_audio_decoder_factory", | |
1462 ":neteq", | 1437 ":neteq", |
1463 ":neteq_unittest_tools", | 1438 ":neteq_unittest_tools", |
1464 ":pcm16b", | 1439 ":pcm16b", |
1465 "../..:webrtc_common", | 1440 "../..:webrtc_common", |
1441 "../../api/audio_codec:audio_decoder_interface", | |
1442 "../../api/audio_codec:builtin_audio_decoder_factory", | |
1466 "../../base:rtc_base_approved", | 1443 "../../base:rtc_base_approved", |
1467 "../../system_wrappers", | 1444 "../../system_wrappers", |
1468 "../../test:test_support", | 1445 "../../test:test_support", |
1469 "//testing/gtest", | 1446 "//testing/gtest", |
1470 ] | 1447 ] |
1471 } | 1448 } |
1472 | 1449 |
1473 rtc_source_set("neteq_quality_test_support") { | 1450 rtc_source_set("neteq_quality_test_support") { |
1474 testonly = true | 1451 testonly = true |
1475 sources = [ | 1452 sources = [ |
1476 "neteq/tools/neteq_quality_test.cc", | 1453 "neteq/tools/neteq_quality_test.cc", |
1477 "neteq/tools/neteq_quality_test.h", | 1454 "neteq/tools/neteq_quality_test.h", |
1478 ] | 1455 ] |
1479 | 1456 |
1480 if (!build_with_chromium && is_clang) { | 1457 if (!build_with_chromium && is_clang) { |
1481 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1458 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1482 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1459 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1483 } | 1460 } |
1484 | 1461 |
1485 deps = [ | 1462 deps = [ |
1486 ":builtin_audio_decoder_factory", | |
1487 ":neteq", | 1463 ":neteq", |
1488 ":neteq_unittest_tools", | 1464 ":neteq_unittest_tools", |
1489 "../..:webrtc_common", | 1465 "../..:webrtc_common", |
1466 "../../api/audio_codec:builtin_audio_decoder_factory", | |
1490 "../../base:rtc_base_approved", | 1467 "../../base:rtc_base_approved", |
1491 "../../test:test_support", | 1468 "../../test:test_support", |
1492 "//testing/gtest", | 1469 "//testing/gtest", |
1493 "//third_party/gflags", | 1470 "//third_party/gflags", |
1494 ] | 1471 ] |
1495 } | 1472 } |
1496 | 1473 |
1497 config("neteq_unittest_tools_config") { | 1474 config("neteq_unittest_tools_config") { |
1498 include_dirs = [ "tools" ] | 1475 include_dirs = [ "tools" ] |
1499 } | 1476 } |
(...skipping 30 matching lines...) Expand all Loading... | |
1530 ] | 1507 ] |
1531 | 1508 |
1532 public_configs = [ ":neteq_unittest_tools_config" ] | 1509 public_configs = [ ":neteq_unittest_tools_config" ] |
1533 | 1510 |
1534 if (!build_with_chromium && is_clang) { | 1511 if (!build_with_chromium && is_clang) { |
1535 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 1512 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
1536 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1513 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1537 } | 1514 } |
1538 | 1515 |
1539 deps = [ | 1516 deps = [ |
1540 ":audio_decoder_interface", | |
1541 ":audio_encoder_interface", | 1517 ":audio_encoder_interface", |
1542 ":pcm16b", | 1518 ":pcm16b", |
1543 "../..:webrtc_common", | 1519 "../..:webrtc_common", |
1520 "../../api/audio_codec:audio_decoder_interface", | |
1544 "../../base:rtc_base_approved", | 1521 "../../base:rtc_base_approved", |
1545 "../../common_audio", | 1522 "../../common_audio", |
1546 "../../test:rtp_test_utils", | 1523 "../../test:rtp_test_utils", |
1547 "../rtp_rtcp", | 1524 "../rtp_rtcp", |
1548 ] | 1525 ] |
1549 | 1526 |
1550 public_deps = [ | 1527 public_deps = [ |
1551 ":neteq_test_minimal", | 1528 ":neteq_test_minimal", |
1552 ] | 1529 ] |
1553 | 1530 |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2053 "neteq/time_stretch_unittest.cc", | 2030 "neteq/time_stretch_unittest.cc", |
2054 "neteq/timestamp_scaler_unittest.cc", | 2031 "neteq/timestamp_scaler_unittest.cc", |
2055 "neteq/tools/input_audio_file_unittest.cc", | 2032 "neteq/tools/input_audio_file_unittest.cc", |
2056 "neteq/tools/packet_unittest.cc", | 2033 "neteq/tools/packet_unittest.cc", |
2057 ] | 2034 ] |
2058 | 2035 |
2059 deps = [ | 2036 deps = [ |
2060 ":acm_receive_test", | 2037 ":acm_receive_test", |
2061 ":acm_send_test", | 2038 ":acm_send_test", |
2062 ":audio_coding", | 2039 ":audio_coding", |
2063 ":audio_decoder_interface", | |
2064 ":audio_encoder_interface", | 2040 ":audio_encoder_interface", |
2065 ":audio_format_conversion", | 2041 ":audio_format_conversion", |
2066 ":audio_network_adaptor", | 2042 ":audio_network_adaptor", |
2067 ":builtin_audio_decoder_factory", | |
2068 ":cng", | 2043 ":cng", |
2069 ":g711", | 2044 ":g711", |
2070 ":ilbc", | 2045 ":ilbc", |
2071 ":isac", | 2046 ":isac", |
2072 ":isac_c", | 2047 ":isac_c", |
2073 ":isac_fix", | 2048 ":isac_fix", |
2049 ":legacy_encoded_audio_frame", | |
2074 ":neteq", | 2050 ":neteq", |
2075 ":neteq_test_support", | 2051 ":neteq_test_support", |
2076 ":neteq_unittest_tools", | 2052 ":neteq_unittest_tools", |
2077 ":pcm16b", | 2053 ":pcm16b", |
2078 ":red", | 2054 ":red", |
2079 ":rent_a_codec", | 2055 ":rent_a_codec", |
2080 ":webrtc_opus", | 2056 ":webrtc_opus", |
2081 "../..:webrtc_common", | 2057 "../..:webrtc_common", |
2058 "../../api/audio_codec:audio_decoder_interface", | |
2059 "../../api/audio_codec:builtin_audio_decoder_factory", | |
2082 "../../base:rtc_base", | 2060 "../../base:rtc_base", |
2083 "../../base:rtc_base_approved", | 2061 "../../base:rtc_base_approved", |
2084 "../../base:rtc_base_tests_utils", | 2062 "../../base:rtc_base_tests_utils", |
2085 "../../common_audio", | 2063 "../../common_audio", |
2086 "../../system_wrappers:system_wrappers", | 2064 "../../system_wrappers:system_wrappers", |
2087 "../../test:field_trial", | 2065 "../../test:field_trial", |
2088 "../../test:rtp_test_utils", | 2066 "../../test:rtp_test_utils", |
2089 "../../test:test_common", | 2067 "../../test:test_common", |
2090 "../../test:test_support", | 2068 "../../test:test_support", |
2091 "//testing/gmock", | 2069 "//testing/gmock", |
(...skipping 13 matching lines...) Expand all Loading... | |
2105 ":neteq_unittest_proto", | 2083 ":neteq_unittest_proto", |
2106 ] | 2084 ] |
2107 } | 2085 } |
2108 | 2086 |
2109 if (!build_with_chromium && is_clang) { | 2087 if (!build_with_chromium && is_clang) { |
2110 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 2088 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
2111 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 2089 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
2112 } | 2090 } |
2113 } | 2091 } |
2114 } | 2092 } |
2093 | |
2094 # For backwards compatibility only! Use | |
2095 # webrtc/api/audio_codec:audio_decoder_interface instead. | |
2096 # TODO(kwiberg): Remove this. | |
2097 rtc_source_set("audio_decoder_interface") { | |
2098 sources = [ | |
2099 "codecs/audio_decoder.h", | |
2100 ] | |
2101 deps = [ | |
kjellander_webrtc
2017/02/01 14:54:50
I thought you might need public_deps to not break
ossu
2017/02/01 15:05:26
I think you need public_deps for these, or gn chec
kwiberg-webrtc
2017/02/01 20:15:03
No... unless I've misunderstood what public_deps m
kjellander_webrtc
2017/02/10 07:58:48
That's correct, as long as they include the right
| |
2102 "../../api/audio_codec:audio_decoder_interface", | |
2103 ] | |
2104 } | |
2105 | |
2106 # For backwards compatibility only! Use | |
2107 # webrtc/api/audio_codec:builtin_audio_decoder_factory instead. | |
2108 # TODO(kwiberg): Remove this. | |
2109 rtc_source_set("builtin_audio_decoder_factory") { | |
2110 sources = [ | |
2111 "codecs/builtin_audio_decoder_factory.h", | |
2112 ] | |
2113 deps = [ | |
ossu
2017/02/01 15:05:26
Same here.
| |
2114 "../../api/audio_codec:builtin_audio_decoder_factory", | |
2115 ] | |
2116 } | |
OLD | NEW |