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/webrtc.gni") | 9 import("../../build/webrtc.gni") |
10 import("audio_coding.gni") | 10 import("audio_coding.gni") |
(...skipping 27 matching lines...) Expand all Loading... |
38 "../../common_audio", | 38 "../../common_audio", |
39 "../../system_wrappers", | 39 "../../system_wrappers", |
40 ] | 40 ] |
41 | 41 |
42 rtc_source_set("audio_decoder_factory_interface") { | 42 rtc_source_set("audio_decoder_factory_interface") { |
43 sources = [ | 43 sources = [ |
44 "codecs/audio_decoder_factory.h", | 44 "codecs/audio_decoder_factory.h", |
45 "codecs/audio_format.cc", | 45 "codecs/audio_format.cc", |
46 "codecs/audio_format.h", | 46 "codecs/audio_format.h", |
47 ] | 47 ] |
48 configs += [ "../..:common_config" ] | |
49 public_configs = [ "../..:common_inherited_config" ] | 48 public_configs = [ "../..:common_inherited_config" ] |
50 deps = [ | 49 deps = [ |
51 "../..:webrtc_common", | 50 "../..:webrtc_common", |
52 ] | 51 ] |
53 } | 52 } |
54 | 53 |
55 rtc_source_set("builtin_audio_decoder_factory") { | 54 rtc_source_set("builtin_audio_decoder_factory") { |
56 sources = [ | 55 sources = [ |
57 "codecs/builtin_audio_decoder_factory.cc", | 56 "codecs/builtin_audio_decoder_factory.cc", |
58 "codecs/builtin_audio_decoder_factory.h", | 57 "codecs/builtin_audio_decoder_factory.h", |
59 ] | 58 ] |
60 configs += [ "../..:common_config" ] | |
61 public_configs = [ "../..:common_inherited_config" ] | 59 public_configs = [ "../..:common_inherited_config" ] |
62 deps = [ | 60 deps = [ |
63 "../..:webrtc_common", | 61 "../..:webrtc_common", |
64 ":audio_decoder_factory_interface", | 62 ":audio_decoder_factory_interface", |
65 ] + audio_codec_deps | 63 ] + audio_codec_deps |
66 defines = audio_codec_defines | 64 defines = audio_codec_defines |
67 } | 65 } |
68 | 66 |
69 rtc_source_set("rent_a_codec") { | 67 rtc_source_set("rent_a_codec") { |
70 sources = [ | 68 sources = [ |
71 "acm2/acm_codec_database.cc", | 69 "acm2/acm_codec_database.cc", |
72 "acm2/acm_codec_database.h", | 70 "acm2/acm_codec_database.h", |
73 "acm2/rent_a_codec.cc", | 71 "acm2/rent_a_codec.cc", |
74 "acm2/rent_a_codec.h", | 72 "acm2/rent_a_codec.h", |
75 ] | 73 ] |
76 configs += [ "../..:common_config" ] | |
77 public_configs = [ "../..:common_inherited_config" ] | 74 public_configs = [ "../..:common_inherited_config" ] |
78 deps = [ "../..:webrtc_common" ] + audio_codec_deps | 75 deps = [ "../..:webrtc_common" ] + audio_codec_deps |
79 defines = audio_codec_defines | 76 defines = audio_codec_defines |
80 } | 77 } |
81 | 78 |
82 config("audio_coding_config") { | 79 config("audio_coding_config") { |
83 include_dirs = [ | 80 include_dirs = [ |
84 "include", | 81 "include", |
85 "../include", | 82 "../include", |
86 ] | 83 ] |
(...skipping 12 matching lines...) Expand all Loading... |
99 "acm2/codec_manager.cc", | 96 "acm2/codec_manager.cc", |
100 "acm2/codec_manager.h", | 97 "acm2/codec_manager.h", |
101 "acm2/initial_delay_manager.cc", | 98 "acm2/initial_delay_manager.cc", |
102 "acm2/initial_delay_manager.h", | 99 "acm2/initial_delay_manager.h", |
103 "include/audio_coding_module.h", | 100 "include/audio_coding_module.h", |
104 "include/audio_coding_module_typedefs.h", | 101 "include/audio_coding_module_typedefs.h", |
105 ] | 102 ] |
106 | 103 |
107 defines = [] | 104 defines = [] |
108 | 105 |
109 configs += [ "../..:common_config" ] | |
110 | |
111 public_configs = [ | 106 public_configs = [ |
112 "../..:common_inherited_config", | 107 "../..:common_inherited_config", |
113 ":audio_coding_config", | 108 ":audio_coding_config", |
114 ] | 109 ] |
115 | 110 |
116 if (rtc_include_opus) { | 111 if (rtc_include_opus) { |
117 public_deps = [ | 112 public_deps = [ |
118 ":webrtc_opus", | 113 ":webrtc_opus", |
119 ] | 114 ] |
120 } | 115 } |
(...skipping 11 matching lines...) Expand all Loading... |
132 "../..:rtc_event_log", | 127 "../..:rtc_event_log", |
133 ] | 128 ] |
134 defines = audio_coding_defines | 129 defines = audio_coding_defines |
135 } | 130 } |
136 | 131 |
137 rtc_source_set("audio_decoder_interface") { | 132 rtc_source_set("audio_decoder_interface") { |
138 sources = [ | 133 sources = [ |
139 "codecs/audio_decoder.cc", | 134 "codecs/audio_decoder.cc", |
140 "codecs/audio_decoder.h", | 135 "codecs/audio_decoder.h", |
141 ] | 136 ] |
142 configs += [ "../..:common_config" ] | |
143 public_configs = [ "../..:common_inherited_config" ] | 137 public_configs = [ "../..:common_inherited_config" ] |
144 deps = [ | 138 deps = [ |
145 "../..:webrtc_common", | 139 "../..:webrtc_common", |
146 "../../base:rtc_base_approved", | 140 "../../base:rtc_base_approved", |
147 ] | 141 ] |
148 } | 142 } |
149 | 143 |
150 rtc_source_set("audio_encoder_interface") { | 144 rtc_source_set("audio_encoder_interface") { |
151 sources = [ | 145 sources = [ |
152 "codecs/audio_encoder.cc", | 146 "codecs/audio_encoder.cc", |
153 "codecs/audio_encoder.h", | 147 "codecs/audio_encoder.h", |
154 ] | 148 ] |
155 configs += [ "../..:common_config" ] | |
156 public_configs = [ "../..:common_inherited_config" ] | 149 public_configs = [ "../..:common_inherited_config" ] |
157 deps = [ | 150 deps = [ |
158 "../..:webrtc_common", | 151 "../..:webrtc_common", |
159 "../../base:rtc_base_approved", | 152 "../../base:rtc_base_approved", |
160 ] | 153 ] |
161 } | 154 } |
162 | 155 |
163 config("cng_config") { | 156 config("cng_config") { |
164 include_dirs = [ | 157 include_dirs = [ |
165 "../../..", | 158 "../../..", |
166 "codecs/cng/include", | 159 "codecs/cng/include", |
167 ] | 160 ] |
168 } | 161 } |
169 | 162 |
170 rtc_source_set("cng") { | 163 rtc_source_set("cng") { |
171 sources = [ | 164 sources = [ |
172 "codecs/cng/audio_encoder_cng.cc", | 165 "codecs/cng/audio_encoder_cng.cc", |
173 "codecs/cng/audio_encoder_cng.h", | 166 "codecs/cng/audio_encoder_cng.h", |
174 "codecs/cng/webrtc_cng.cc", | 167 "codecs/cng/webrtc_cng.cc", |
175 "codecs/cng/webrtc_cng.h", | 168 "codecs/cng/webrtc_cng.h", |
176 ] | 169 ] |
177 | 170 |
178 configs += [ "../..:common_config" ] | |
179 | |
180 public_configs = [ | 171 public_configs = [ |
181 "../..:common_inherited_config", | 172 "../..:common_inherited_config", |
182 ":cng_config", | 173 ":cng_config", |
183 ] | 174 ] |
184 | 175 |
185 deps = [ | 176 deps = [ |
186 ":audio_encoder_interface", | 177 ":audio_encoder_interface", |
187 "../../common_audio", | 178 "../../common_audio", |
188 ] | 179 ] |
189 } | 180 } |
190 | 181 |
191 config("red_config") { | 182 config("red_config") { |
192 include_dirs = [ "codecs/red" ] | 183 include_dirs = [ "codecs/red" ] |
193 } | 184 } |
194 | 185 |
195 rtc_source_set("red") { | 186 rtc_source_set("red") { |
196 sources = [ | 187 sources = [ |
197 "codecs/red/audio_encoder_copy_red.cc", | 188 "codecs/red/audio_encoder_copy_red.cc", |
198 "codecs/red/audio_encoder_copy_red.h", | 189 "codecs/red/audio_encoder_copy_red.h", |
199 ] | 190 ] |
200 | 191 |
201 configs += [ "../..:common_config" ] | |
202 | |
203 public_configs = [ | 192 public_configs = [ |
204 "../..:common_inherited_config", | 193 "../..:common_inherited_config", |
205 ":red_config", | 194 ":red_config", |
206 ] | 195 ] |
207 | 196 |
208 deps = [ | 197 deps = [ |
209 ":audio_encoder_interface", | 198 ":audio_encoder_interface", |
210 "../../common_audio", | 199 "../../common_audio", |
211 ] | 200 ] |
212 } | 201 } |
(...skipping 10 matching lines...) Expand all Loading... |
223 "codecs/g711/audio_decoder_pcm.cc", | 212 "codecs/g711/audio_decoder_pcm.cc", |
224 "codecs/g711/audio_decoder_pcm.h", | 213 "codecs/g711/audio_decoder_pcm.h", |
225 "codecs/g711/audio_encoder_pcm.cc", | 214 "codecs/g711/audio_encoder_pcm.cc", |
226 "codecs/g711/audio_encoder_pcm.h", | 215 "codecs/g711/audio_encoder_pcm.h", |
227 "codecs/g711/g711.c", | 216 "codecs/g711/g711.c", |
228 "codecs/g711/g711.h", | 217 "codecs/g711/g711.h", |
229 "codecs/g711/g711_interface.c", | 218 "codecs/g711/g711_interface.c", |
230 "codecs/g711/g711_interface.h", | 219 "codecs/g711/g711_interface.h", |
231 ] | 220 ] |
232 | 221 |
233 configs += [ "../..:common_config" ] | |
234 | |
235 public_configs = [ | 222 public_configs = [ |
236 "../..:common_inherited_config", | 223 "../..:common_inherited_config", |
237 ":g711_config", | 224 ":g711_config", |
238 ] | 225 ] |
239 | 226 |
240 deps = [ | 227 deps = [ |
241 ":audio_decoder_interface", | 228 ":audio_decoder_interface", |
242 ":audio_encoder_interface", | 229 ":audio_encoder_interface", |
243 ] | 230 ] |
244 } | 231 } |
(...skipping 11 matching lines...) Expand all Loading... |
256 "codecs/g722/audio_decoder_g722.h", | 243 "codecs/g722/audio_decoder_g722.h", |
257 "codecs/g722/audio_encoder_g722.cc", | 244 "codecs/g722/audio_encoder_g722.cc", |
258 "codecs/g722/audio_encoder_g722.h", | 245 "codecs/g722/audio_encoder_g722.h", |
259 "codecs/g722/g722_decode.c", | 246 "codecs/g722/g722_decode.c", |
260 "codecs/g722/g722_enc_dec.h", | 247 "codecs/g722/g722_enc_dec.h", |
261 "codecs/g722/g722_encode.c", | 248 "codecs/g722/g722_encode.c", |
262 "codecs/g722/g722_interface.c", | 249 "codecs/g722/g722_interface.c", |
263 "codecs/g722/g722_interface.h", | 250 "codecs/g722/g722_interface.h", |
264 ] | 251 ] |
265 | 252 |
266 configs += [ "../..:common_config" ] | |
267 | |
268 public_configs = [ | 253 public_configs = [ |
269 "../..:common_inherited_config", | 254 "../..:common_inherited_config", |
270 ":g722_config", | 255 ":g722_config", |
271 ] | 256 ] |
272 | 257 |
273 deps = [ | 258 deps = [ |
274 ":audio_decoder_interface", | 259 ":audio_decoder_interface", |
275 ":audio_encoder_interface", | 260 ":audio_encoder_interface", |
276 ] | 261 ] |
277 } | 262 } |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 "codecs/ilbc/vq3.c", | 408 "codecs/ilbc/vq3.c", |
424 "codecs/ilbc/vq3.h", | 409 "codecs/ilbc/vq3.h", |
425 "codecs/ilbc/vq4.c", | 410 "codecs/ilbc/vq4.c", |
426 "codecs/ilbc/vq4.h", | 411 "codecs/ilbc/vq4.h", |
427 "codecs/ilbc/window32_w32.c", | 412 "codecs/ilbc/window32_w32.c", |
428 "codecs/ilbc/window32_w32.h", | 413 "codecs/ilbc/window32_w32.h", |
429 "codecs/ilbc/xcorr_coef.c", | 414 "codecs/ilbc/xcorr_coef.c", |
430 "codecs/ilbc/xcorr_coef.h", | 415 "codecs/ilbc/xcorr_coef.h", |
431 ] | 416 ] |
432 | 417 |
433 configs += [ "../..:common_config" ] | |
434 | |
435 public_configs = [ | 418 public_configs = [ |
436 "../..:common_inherited_config", | 419 "../..:common_inherited_config", |
437 ":ilbc_config", | 420 ":ilbc_config", |
438 ] | 421 ] |
439 | 422 |
440 deps = [ | 423 deps = [ |
441 ":audio_decoder_interface", | 424 ":audio_decoder_interface", |
442 ":audio_encoder_interface", | 425 ":audio_encoder_interface", |
443 "../../base:rtc_base_approved", | 426 "../../base:rtc_base_approved", |
444 "../../common_audio", | 427 "../../common_audio", |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 "codecs/isac/main/source/spectrum_ar_model_tables.c", | 500 "codecs/isac/main/source/spectrum_ar_model_tables.c", |
518 "codecs/isac/main/source/spectrum_ar_model_tables.h", | 501 "codecs/isac/main/source/spectrum_ar_model_tables.h", |
519 "codecs/isac/main/source/structs.h", | 502 "codecs/isac/main/source/structs.h", |
520 "codecs/isac/main/source/transform.c", | 503 "codecs/isac/main/source/transform.c", |
521 ] | 504 ] |
522 | 505 |
523 if (is_linux) { | 506 if (is_linux) { |
524 libs = [ "m" ] | 507 libs = [ "m" ] |
525 } | 508 } |
526 | 509 |
527 configs += [ "../..:common_config" ] | |
528 | |
529 public_configs = [ | 510 public_configs = [ |
530 "../..:common_inherited_config", | 511 "../..:common_inherited_config", |
531 ":isac_config", | 512 ":isac_config", |
532 ] | 513 ] |
533 | 514 |
534 deps = [ | 515 deps = [ |
535 ":audio_decoder_interface", | 516 ":audio_decoder_interface", |
536 ":audio_encoder_interface", | 517 ":audio_encoder_interface", |
537 ":isac_common", | 518 ":isac_common", |
538 "../..:webrtc_common", | 519 "../..:webrtc_common", |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 "codecs/isac/fix/source/spectrum_ar_model_tables.h", | 578 "codecs/isac/fix/source/spectrum_ar_model_tables.h", |
598 "codecs/isac/fix/source/structs.h", | 579 "codecs/isac/fix/source/structs.h", |
599 "codecs/isac/fix/source/transform.c", | 580 "codecs/isac/fix/source/transform.c", |
600 "codecs/isac/fix/source/transform_tables.c", | 581 "codecs/isac/fix/source/transform_tables.c", |
601 ] | 582 ] |
602 | 583 |
603 if (!is_win) { | 584 if (!is_win) { |
604 defines = [ "WEBRTC_LINUX" ] | 585 defines = [ "WEBRTC_LINUX" ] |
605 } | 586 } |
606 | 587 |
607 configs += [ "../..:common_config" ] | |
608 | |
609 public_configs = [ | 588 public_configs = [ |
610 "../..:common_inherited_config", | 589 "../..:common_inherited_config", |
611 ":isac_fix_config", | 590 ":isac_fix_config", |
612 ] | 591 ] |
613 | 592 |
614 deps = [ | 593 deps = [ |
615 ":audio_decoder_interface", | 594 ":audio_decoder_interface", |
616 ":audio_encoder_interface", | 595 ":audio_encoder_interface", |
617 ":isac_common", | 596 ":isac_common", |
618 "../../common_audio", | 597 "../../common_audio", |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 | 658 |
680 # Disable LTO on NEON targets due to compiler bug. | 659 # Disable LTO on NEON targets due to compiler bug. |
681 # TODO(fdegans): Enable this. See crbug.com/408997. | 660 # TODO(fdegans): Enable this. See crbug.com/408997. |
682 if (rtc_use_lto) { | 661 if (rtc_use_lto) { |
683 cflags -= [ | 662 cflags -= [ |
684 "-flto", | 663 "-flto", |
685 "-ffat-lto-objects", | 664 "-ffat-lto-objects", |
686 ] | 665 ] |
687 } | 666 } |
688 | 667 |
689 configs += [ "../..:common_config" ] | |
690 public_configs = [ "../..:common_inherited_config" ] | 668 public_configs = [ "../..:common_inherited_config" ] |
691 | 669 |
692 deps = [ | 670 deps = [ |
693 "../../common_audio", | 671 "../../common_audio", |
694 ] | 672 ] |
695 } | 673 } |
696 } | 674 } |
697 | 675 |
698 config("pcm16b_config") { | 676 config("pcm16b_config") { |
699 include_dirs = [ | 677 include_dirs = [ |
(...skipping 11 matching lines...) Expand all Loading... |
711 "codecs/pcm16b/pcm16b.c", | 689 "codecs/pcm16b/pcm16b.c", |
712 "codecs/pcm16b/pcm16b.h", | 690 "codecs/pcm16b/pcm16b.h", |
713 ] | 691 ] |
714 | 692 |
715 deps = [ | 693 deps = [ |
716 ":audio_decoder_interface", | 694 ":audio_decoder_interface", |
717 ":audio_encoder_interface", | 695 ":audio_encoder_interface", |
718 ":g711", | 696 ":g711", |
719 ] | 697 ] |
720 | 698 |
721 configs += [ "../..:common_config" ] | |
722 | |
723 public_configs = [ | 699 public_configs = [ |
724 "../..:common_inherited_config", | 700 "../..:common_inherited_config", |
725 ":pcm16b_config", | 701 ":pcm16b_config", |
726 ] | 702 ] |
727 } | 703 } |
728 | 704 |
729 config("opus_config") { | 705 config("opus_config") { |
730 include_dirs = [ "../../.." ] | 706 include_dirs = [ "../../.." ] |
731 } | 707 } |
732 | 708 |
733 rtc_source_set("webrtc_opus") { | 709 rtc_source_set("webrtc_opus") { |
734 sources = [ | 710 sources = [ |
735 "codecs/opus/audio_decoder_opus.cc", | 711 "codecs/opus/audio_decoder_opus.cc", |
736 "codecs/opus/audio_decoder_opus.h", | 712 "codecs/opus/audio_decoder_opus.h", |
737 "codecs/opus/audio_encoder_opus.cc", | 713 "codecs/opus/audio_encoder_opus.cc", |
738 "codecs/opus/audio_encoder_opus.h", | 714 "codecs/opus/audio_encoder_opus.h", |
739 "codecs/opus/opus_inst.h", | 715 "codecs/opus/opus_inst.h", |
740 "codecs/opus/opus_interface.c", | 716 "codecs/opus/opus_interface.c", |
741 "codecs/opus/opus_interface.h", | 717 "codecs/opus/opus_interface.h", |
742 ] | 718 ] |
743 | 719 |
744 deps = [ | 720 deps = [ |
745 ":audio_decoder_interface", | 721 ":audio_decoder_interface", |
746 ":audio_encoder_interface", | 722 ":audio_encoder_interface", |
747 "../../base:rtc_base_approved", | 723 "../../base:rtc_base_approved", |
748 ] | 724 ] |
749 | 725 |
750 if (rtc_build_opus) { | 726 if (rtc_build_opus) { |
751 configs += [ "../..:common_config" ] | |
752 public_configs = [ "../..:common_inherited_config" ] | 727 public_configs = [ "../..:common_inherited_config" ] |
753 | 728 |
754 public_deps = [ | 729 public_deps = [ |
755 rtc_opus_dir, | 730 rtc_opus_dir, |
756 ] | 731 ] |
757 } else if (build_with_mozilla) { | 732 } else if (build_with_mozilla) { |
758 include_dirs = [ getenv("DIST") + "/include/opus" ] | 733 include_dirs = [ getenv("DIST") + "/include/opus" ] |
759 } | 734 } |
760 } | 735 } |
761 | 736 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
837 "neteq/sync_buffer.cc", | 812 "neteq/sync_buffer.cc", |
838 "neteq/sync_buffer.h", | 813 "neteq/sync_buffer.h", |
839 "neteq/tick_timer.cc", | 814 "neteq/tick_timer.cc", |
840 "neteq/tick_timer.h", | 815 "neteq/tick_timer.h", |
841 "neteq/time_stretch.cc", | 816 "neteq/time_stretch.cc", |
842 "neteq/time_stretch.h", | 817 "neteq/time_stretch.h", |
843 "neteq/timestamp_scaler.cc", | 818 "neteq/timestamp_scaler.cc", |
844 "neteq/timestamp_scaler.h", | 819 "neteq/timestamp_scaler.h", |
845 ] | 820 ] |
846 | 821 |
847 configs += [ "../..:common_config" ] | |
848 | |
849 public_configs = [ | 822 public_configs = [ |
850 "../..:common_inherited_config", | 823 "../..:common_inherited_config", |
851 ":neteq_config", | 824 ":neteq_config", |
852 ] | 825 ] |
853 | 826 |
854 deps = [ | 827 deps = [ |
855 ":audio_decoder_interface", | 828 ":audio_decoder_interface", |
856 ":builtin_audio_decoder_factory", | 829 ":builtin_audio_decoder_factory", |
857 ":cng", | 830 ":cng", |
858 ":g711", | 831 ":g711", |
(...skipping 28 matching lines...) Expand all Loading... |
887 } | 860 } |
888 | 861 |
889 if (rtc_include_tests) { | 862 if (rtc_include_tests) { |
890 rtc_source_set("acm_receive_test") { | 863 rtc_source_set("acm_receive_test") { |
891 testonly = true | 864 testonly = true |
892 sources = [ | 865 sources = [ |
893 "acm2/acm_receive_test_oldapi.cc", | 866 "acm2/acm_receive_test_oldapi.cc", |
894 "acm2/acm_receive_test_oldapi.h", | 867 "acm2/acm_receive_test_oldapi.h", |
895 ] | 868 ] |
896 | 869 |
897 configs += [ "../..:common_config" ] | |
898 public_configs = [ "../..:common_inherited_config" ] | 870 public_configs = [ "../..:common_inherited_config" ] |
899 | 871 |
900 defines = audio_coding_defines | 872 defines = audio_coding_defines |
901 | 873 |
902 deps = audio_coding_deps + [ | 874 deps = audio_coding_deps + [ |
903 ":audio_coding", | 875 ":audio_coding", |
904 ":neteq_unittest_tools", | 876 ":neteq_unittest_tools", |
905 "//testing/gtest", | 877 "//testing/gtest", |
906 ] | 878 ] |
907 } | 879 } |
908 | 880 |
909 rtc_source_set("acm_send_test") { | 881 rtc_source_set("acm_send_test") { |
910 testonly = true | 882 testonly = true |
911 sources = [ | 883 sources = [ |
912 "acm2/acm_send_test_oldapi.cc", | 884 "acm2/acm_send_test_oldapi.cc", |
913 "acm2/acm_send_test_oldapi.h", | 885 "acm2/acm_send_test_oldapi.h", |
914 ] | 886 ] |
915 | 887 |
916 configs += [ "../..:common_config" ] | |
917 public_configs = [ "../..:common_inherited_config" ] | 888 public_configs = [ "../..:common_inherited_config" ] |
918 | 889 |
919 defines = audio_coding_defines | 890 defines = audio_coding_defines |
920 | 891 |
921 deps = audio_coding_deps + [ | 892 deps = audio_coding_deps + [ |
922 ":audio_coding", | 893 ":audio_coding", |
923 ":neteq_unittest_tools", | 894 ":neteq_unittest_tools", |
924 "//testing/gtest", | 895 "//testing/gtest", |
925 ] | 896 ] |
926 } | 897 } |
927 | 898 |
928 rtc_executable("delay_test") { | 899 rtc_executable("delay_test") { |
929 testonly = true | 900 testonly = true |
930 sources = [ | 901 sources = [ |
931 "test/Channel.cc", | 902 "test/Channel.cc", |
932 "test/PCMFile.cc", | 903 "test/PCMFile.cc", |
933 "test/delay_test.cc", | 904 "test/delay_test.cc", |
934 "test/utility.cc", | 905 "test/utility.cc", |
935 ] | 906 ] |
936 | 907 |
937 configs += [ "../..:common_config" ] | |
938 public_configs = [ "../..:common_inherited_config" ] | 908 public_configs = [ "../..:common_inherited_config" ] |
939 | 909 |
940 deps = [ | 910 deps = [ |
941 ":audio_coding", | 911 ":audio_coding", |
942 "../../:webrtc_common", | 912 "../../:webrtc_common", |
943 "../../system_wrappers", | 913 "../../system_wrappers", |
944 "../../system_wrappers:system_wrappers_default", | 914 "../../system_wrappers:system_wrappers_default", |
945 "../../test:test_support", | 915 "../../test:test_support", |
946 "../rtp_rtcp", | 916 "../rtp_rtcp", |
947 "//testing/gtest", | 917 "//testing/gtest", |
948 "//third_party/gflags:gflags", | 918 "//third_party/gflags:gflags", |
949 ] | 919 ] |
950 } # delay_test | 920 } # delay_test |
951 | 921 |
952 rtc_executable("insert_packet_with_timing") { | 922 rtc_executable("insert_packet_with_timing") { |
953 testonly = true | 923 testonly = true |
954 sources = [ | 924 sources = [ |
955 "test/Channel.cc", | 925 "test/Channel.cc", |
956 "test/PCMFile.cc", | 926 "test/PCMFile.cc", |
957 "test/insert_packet_with_timing.cc", | 927 "test/insert_packet_with_timing.cc", |
958 ] | 928 ] |
959 | 929 |
960 configs += [ "../..:common_config" ] | |
961 public_configs = [ "../..:common_inherited_config" ] | 930 public_configs = [ "../..:common_inherited_config" ] |
962 | 931 |
963 if (is_clang) { | 932 if (is_clang) { |
964 # Suppress warnings from Chrome's Clang plugins. | 933 # Suppress warnings from Chrome's Clang plugins. |
965 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 934 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
966 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 935 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
967 } | 936 } |
968 | 937 |
969 deps = [ | 938 deps = [ |
970 ":audio_coding", | 939 ":audio_coding", |
(...skipping 21 matching lines...) Expand all Loading... |
992 ] | 961 ] |
993 } | 962 } |
994 } | 963 } |
995 | 964 |
996 rtc_test("audio_decoder_unittests") { | 965 rtc_test("audio_decoder_unittests") { |
997 testonly = true | 966 testonly = true |
998 sources = [ | 967 sources = [ |
999 "neteq/audio_decoder_unittest.cc", | 968 "neteq/audio_decoder_unittest.cc", |
1000 ] | 969 ] |
1001 | 970 |
1002 configs += [ "../..:common_config" ] | |
1003 public_configs = [ "../..:common_inherited_config" ] | 971 public_configs = [ "../..:common_inherited_config" ] |
1004 | 972 |
1005 if (is_clang) { | 973 if (is_clang) { |
1006 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 974 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
1007 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 975 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1008 } | 976 } |
1009 | 977 |
1010 deps = [] | 978 deps = [] |
1011 | 979 |
1012 defines = neteq_defines | 980 defines = neteq_defines |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1127 | 1095 |
1128 rtc_source_set("neteq_test_support") { | 1096 rtc_source_set("neteq_test_support") { |
1129 testonly = true | 1097 testonly = true |
1130 sources = [ | 1098 sources = [ |
1131 "neteq/tools/neteq_external_decoder_test.cc", | 1099 "neteq/tools/neteq_external_decoder_test.cc", |
1132 "neteq/tools/neteq_external_decoder_test.h", | 1100 "neteq/tools/neteq_external_decoder_test.h", |
1133 "neteq/tools/neteq_performance_test.cc", | 1101 "neteq/tools/neteq_performance_test.cc", |
1134 "neteq/tools/neteq_performance_test.h", | 1102 "neteq/tools/neteq_performance_test.h", |
1135 ] | 1103 ] |
1136 | 1104 |
1137 configs += [ "../..:common_config" ] | |
1138 public_configs = [ "../..:common_inherited_config" ] | 1105 public_configs = [ "../..:common_inherited_config" ] |
1139 | 1106 |
1140 if (!is_debug) { | 1107 if (!is_debug) { |
1141 suppressed_configs += [ "//build/config/compiler:default_optimization" ] | 1108 suppressed_configs += [ "//build/config/compiler:default_optimization" ] |
1142 configs += [ "//build/config/compiler:optimize_max" ] | 1109 configs += [ "//build/config/compiler:optimize_max" ] |
1143 } | 1110 } |
1144 | 1111 |
1145 if (is_clang) { | 1112 if (is_clang) { |
1146 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1113 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
1147 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1114 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1148 } | 1115 } |
1149 | 1116 |
1150 deps = [ | 1117 deps = [ |
1151 ":neteq", | 1118 ":neteq", |
1152 ":neteq_unittest_tools", | 1119 ":neteq_unittest_tools", |
1153 ":pcm16b", | 1120 ":pcm16b", |
1154 "//testing/gtest", | 1121 "//testing/gtest", |
1155 "//third_party/gflags", | 1122 "//third_party/gflags", |
1156 ] | 1123 ] |
1157 } | 1124 } |
1158 | 1125 |
1159 rtc_source_set("neteq_quality_test_support") { | 1126 rtc_source_set("neteq_quality_test_support") { |
1160 testonly = true | 1127 testonly = true |
1161 sources = [ | 1128 sources = [ |
1162 "neteq/tools/neteq_quality_test.cc", | 1129 "neteq/tools/neteq_quality_test.cc", |
1163 "neteq/tools/neteq_quality_test.h", | 1130 "neteq/tools/neteq_quality_test.h", |
1164 ] | 1131 ] |
1165 | 1132 |
1166 configs += [ "../..:common_config" ] | |
1167 public_configs = [ "../..:common_inherited_config" ] | 1133 public_configs = [ "../..:common_inherited_config" ] |
1168 | 1134 |
1169 if (is_clang) { | 1135 if (is_clang) { |
1170 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1136 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
1171 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1137 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1172 } | 1138 } |
1173 | 1139 |
1174 deps = [ | 1140 deps = [ |
1175 ":neteq", | 1141 ":neteq", |
1176 ":neteq_unittest_tools", | 1142 ":neteq_unittest_tools", |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1211 "neteq/tools/packet_source.cc", | 1177 "neteq/tools/packet_source.cc", |
1212 "neteq/tools/packet_source.h", | 1178 "neteq/tools/packet_source.h", |
1213 "neteq/tools/resample_input_audio_file.cc", | 1179 "neteq/tools/resample_input_audio_file.cc", |
1214 "neteq/tools/resample_input_audio_file.h", | 1180 "neteq/tools/resample_input_audio_file.h", |
1215 "neteq/tools/rtp_file_source.cc", | 1181 "neteq/tools/rtp_file_source.cc", |
1216 "neteq/tools/rtp_file_source.h", | 1182 "neteq/tools/rtp_file_source.h", |
1217 "neteq/tools/rtp_generator.cc", | 1183 "neteq/tools/rtp_generator.cc", |
1218 "neteq/tools/rtp_generator.h", | 1184 "neteq/tools/rtp_generator.h", |
1219 ] | 1185 ] |
1220 | 1186 |
1221 configs += [ "../..:common_config" ] | |
1222 public_configs = [ | 1187 public_configs = [ |
1223 "../..:common_inherited_config", | 1188 "../..:common_inherited_config", |
1224 ":neteq_unittest_tools_config", | 1189 ":neteq_unittest_tools_config", |
1225 ] | 1190 ] |
1226 | 1191 |
1227 if (is_clang) { | 1192 if (is_clang) { |
1228 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1193 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
1229 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1194 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1230 } | 1195 } |
1231 | 1196 |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1553 configs += [ ":isac_test_warnings_config" ] | 1518 configs += [ ":isac_test_warnings_config" ] |
1554 } | 1519 } |
1555 | 1520 |
1556 rtc_executable("g711_test") { | 1521 rtc_executable("g711_test") { |
1557 testonly = true | 1522 testonly = true |
1558 | 1523 |
1559 sources = [ | 1524 sources = [ |
1560 "codecs/g711/test/testG711.cc", | 1525 "codecs/g711/test/testG711.cc", |
1561 ] | 1526 ] |
1562 | 1527 |
1563 configs += [ "../..:common_config" ] | |
1564 public_configs = [ "../..:common_inherited_config" ] | 1528 public_configs = [ "../..:common_inherited_config" ] |
1565 | 1529 |
1566 deps = [ | 1530 deps = [ |
1567 ":g711", | 1531 ":g711", |
1568 ] | 1532 ] |
1569 } | 1533 } |
1570 | 1534 |
1571 rtc_executable("g722_test") { | 1535 rtc_executable("g722_test") { |
1572 testonly = true | 1536 testonly = true |
1573 | 1537 |
1574 sources = [ | 1538 sources = [ |
1575 "codecs/g722/test/testG722.cc", | 1539 "codecs/g722/test/testG722.cc", |
1576 ] | 1540 ] |
1577 | 1541 |
1578 configs += [ "../..:common_config" ] | |
1579 public_configs = [ "../..:common_inherited_config" ] | 1542 public_configs = [ "../..:common_inherited_config" ] |
1580 | 1543 |
1581 deps = [ | 1544 deps = [ |
1582 ":g722", | 1545 ":g722", |
1583 "../..:webrtc_common", | 1546 "../..:webrtc_common", |
1584 ] | 1547 ] |
1585 } | 1548 } |
1586 | 1549 |
1587 rtc_executable("isac_api_test") { | 1550 rtc_executable("isac_api_test") { |
1588 testonly = true | 1551 testonly = true |
1589 | 1552 |
1590 sources = [ | 1553 sources = [ |
1591 "codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc", | 1554 "codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc", |
1592 "codecs/isac/main/util/utility.c", | 1555 "codecs/isac/main/util/utility.c", |
1593 ] | 1556 ] |
1594 | 1557 |
1595 configs += [ "../..:common_config" ] | |
1596 public_configs = [ "../..:common_inherited_config" ] | 1558 public_configs = [ "../..:common_inherited_config" ] |
1597 | 1559 |
1598 deps = [ | 1560 deps = [ |
1599 ":isac", | 1561 ":isac", |
1600 "../../base:rtc_base_approved", | 1562 "../../base:rtc_base_approved", |
1601 ] | 1563 ] |
1602 | 1564 |
1603 include_dirs = [ | 1565 include_dirs = [ |
1604 "codecs/isac/main/include", | 1566 "codecs/isac/main/include", |
1605 "codecs/isac/main/test", | 1567 "codecs/isac/main/test", |
1606 "codecs/isac/main/util", | 1568 "codecs/isac/main/util", |
1607 ] | 1569 ] |
1608 } | 1570 } |
1609 | 1571 |
1610 rtc_executable("isac_switch_samprate_test") { | 1572 rtc_executable("isac_switch_samprate_test") { |
1611 testonly = true | 1573 testonly = true |
1612 | 1574 |
1613 sources = [ | 1575 sources = [ |
1614 "codecs/isac/main/test/SwitchingSampRate/SwitchingSampRate.cc", | 1576 "codecs/isac/main/test/SwitchingSampRate/SwitchingSampRate.cc", |
1615 "codecs/isac/main/util/utility.c", | 1577 "codecs/isac/main/util/utility.c", |
1616 ] | 1578 ] |
1617 | 1579 |
1618 configs += [ "../..:common_config" ] | |
1619 public_configs = [ "../..:common_inherited_config" ] | 1580 public_configs = [ "../..:common_inherited_config" ] |
1620 | 1581 |
1621 deps = [ | 1582 deps = [ |
1622 ":isac", | 1583 ":isac", |
1623 ] | 1584 ] |
1624 | 1585 |
1625 include_dirs = [ | 1586 include_dirs = [ |
1626 "codecs/isac/main/include", | 1587 "codecs/isac/main/include", |
1627 "codecs/isac/main/test", | 1588 "codecs/isac/main/test", |
1628 "codecs/isac/main/util", | 1589 "codecs/isac/main/util", |
1629 "../../common_audio/signal_processing/include", | 1590 "../../common_audio/signal_processing/include", |
1630 ] | 1591 ] |
1631 } | 1592 } |
1632 | 1593 |
1633 rtc_executable("ilbc_test") { | 1594 rtc_executable("ilbc_test") { |
1634 testonly = true | 1595 testonly = true |
1635 | 1596 |
1636 sources = [ | 1597 sources = [ |
1637 "codecs/ilbc/test/iLBC_test.c", | 1598 "codecs/ilbc/test/iLBC_test.c", |
1638 ] | 1599 ] |
1639 | 1600 |
1640 configs += [ "../..:common_config" ] | |
1641 public_configs = [ "../..:common_inherited_config" ] | 1601 public_configs = [ "../..:common_inherited_config" ] |
1642 | 1602 |
1643 deps = [ | 1603 deps = [ |
1644 ":ilbc", | 1604 ":ilbc", |
1645 ] | 1605 ] |
1646 } | 1606 } |
1647 | 1607 |
1648 rtc_executable("webrtc_opus_fec_test") { | 1608 rtc_executable("webrtc_opus_fec_test") { |
1649 testonly = true | 1609 testonly = true |
1650 | 1610 |
(...skipping 10 matching lines...) Expand all Loading... |
1661 "//testing/gtest", | 1621 "//testing/gtest", |
1662 ] | 1622 ] |
1663 | 1623 |
1664 if (is_clang) { | 1624 if (is_clang) { |
1665 # Suppress warnings from Chrome's Clang plugins. | 1625 # Suppress warnings from Chrome's Clang plugins. |
1666 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 1626 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
1667 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1627 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1668 } | 1628 } |
1669 } | 1629 } |
1670 } | 1630 } |
OLD | NEW |