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 public_configs = [ "../..:common_inherited_config" ] | |
49 deps = [ | 48 deps = [ |
50 "../..:webrtc_common", | 49 "../..:webrtc_common", |
51 ] | 50 ] |
52 } | 51 } |
53 | 52 |
54 rtc_source_set("builtin_audio_decoder_factory") { | 53 rtc_source_set("builtin_audio_decoder_factory") { |
55 sources = [ | 54 sources = [ |
56 "codecs/builtin_audio_decoder_factory.cc", | 55 "codecs/builtin_audio_decoder_factory.cc", |
57 "codecs/builtin_audio_decoder_factory.h", | 56 "codecs/builtin_audio_decoder_factory.h", |
58 ] | 57 ] |
59 public_configs = [ "../..:common_inherited_config" ] | |
60 deps = [ | 58 deps = [ |
61 "../..:webrtc_common", | 59 "../..:webrtc_common", |
62 ":audio_decoder_factory_interface", | 60 ":audio_decoder_factory_interface", |
63 ] + audio_codec_deps | 61 ] + audio_codec_deps |
64 defines = audio_codec_defines | 62 defines = audio_codec_defines |
65 } | 63 } |
66 | 64 |
67 rtc_source_set("rent_a_codec") { | 65 rtc_source_set("rent_a_codec") { |
68 sources = [ | 66 sources = [ |
69 "acm2/acm_codec_database.cc", | 67 "acm2/acm_codec_database.cc", |
70 "acm2/acm_codec_database.h", | 68 "acm2/acm_codec_database.h", |
71 "acm2/rent_a_codec.cc", | 69 "acm2/rent_a_codec.cc", |
72 "acm2/rent_a_codec.h", | 70 "acm2/rent_a_codec.h", |
73 ] | 71 ] |
74 public_configs = [ "../..:common_inherited_config" ] | |
75 deps = [ "../..:webrtc_common" ] + audio_codec_deps | 72 deps = [ "../..:webrtc_common" ] + audio_codec_deps |
76 defines = audio_codec_defines | 73 defines = audio_codec_defines |
77 } | 74 } |
78 | 75 |
79 config("audio_coding_config") { | 76 config("audio_coding_config") { |
80 include_dirs = [ | 77 include_dirs = [ |
81 "include", | 78 "include", |
82 "../include", | 79 "../include", |
83 ] | 80 ] |
84 } | 81 } |
(...skipping 11 matching lines...) Expand all Loading... |
96 "acm2/codec_manager.cc", | 93 "acm2/codec_manager.cc", |
97 "acm2/codec_manager.h", | 94 "acm2/codec_manager.h", |
98 "acm2/initial_delay_manager.cc", | 95 "acm2/initial_delay_manager.cc", |
99 "acm2/initial_delay_manager.h", | 96 "acm2/initial_delay_manager.h", |
100 "include/audio_coding_module.h", | 97 "include/audio_coding_module.h", |
101 "include/audio_coding_module_typedefs.h", | 98 "include/audio_coding_module_typedefs.h", |
102 ] | 99 ] |
103 | 100 |
104 defines = [] | 101 defines = [] |
105 | 102 |
106 public_configs = [ | 103 public_configs = [ ":audio_coding_config" ] |
107 "../..:common_inherited_config", | |
108 ":audio_coding_config", | |
109 ] | |
110 | 104 |
111 if (rtc_include_opus) { | 105 if (rtc_include_opus) { |
112 public_deps = [ | 106 public_deps = [ |
113 ":webrtc_opus", | 107 ":webrtc_opus", |
114 ] | 108 ] |
115 } | 109 } |
116 | 110 |
117 if (is_win) { | 111 if (is_win) { |
118 cflags = [ | 112 cflags = [ |
119 # TODO(kjellander): Bug 261: fix this warning. | 113 # TODO(kjellander): Bug 261: fix this warning. |
120 "/wd4373", # virtual function override. | 114 "/wd4373", # virtual function override. |
121 ] | 115 ] |
122 } | 116 } |
123 | 117 |
124 deps = audio_coding_deps + [ | 118 deps = audio_coding_deps + [ |
125 ":neteq", | 119 ":neteq", |
126 ":rent_a_codec", | 120 ":rent_a_codec", |
127 "../..:rtc_event_log", | 121 "../..:rtc_event_log", |
128 ] | 122 ] |
129 defines = audio_coding_defines | 123 defines = audio_coding_defines |
130 } | 124 } |
131 | 125 |
132 rtc_source_set("audio_decoder_interface") { | 126 rtc_source_set("audio_decoder_interface") { |
133 sources = [ | 127 sources = [ |
134 "codecs/audio_decoder.cc", | 128 "codecs/audio_decoder.cc", |
135 "codecs/audio_decoder.h", | 129 "codecs/audio_decoder.h", |
136 ] | 130 ] |
137 public_configs = [ "../..:common_inherited_config" ] | |
138 deps = [ | 131 deps = [ |
139 "../..:webrtc_common", | 132 "../..:webrtc_common", |
140 "../../base:rtc_base_approved", | 133 "../../base:rtc_base_approved", |
141 ] | 134 ] |
142 } | 135 } |
143 | 136 |
144 rtc_source_set("audio_encoder_interface") { | 137 rtc_source_set("audio_encoder_interface") { |
145 sources = [ | 138 sources = [ |
146 "codecs/audio_encoder.cc", | 139 "codecs/audio_encoder.cc", |
147 "codecs/audio_encoder.h", | 140 "codecs/audio_encoder.h", |
148 ] | 141 ] |
149 public_configs = [ "../..:common_inherited_config" ] | |
150 deps = [ | 142 deps = [ |
151 "../..:webrtc_common", | 143 "../..:webrtc_common", |
152 "../../base:rtc_base_approved", | 144 "../../base:rtc_base_approved", |
153 ] | 145 ] |
154 } | 146 } |
155 | 147 |
156 config("cng_config") { | 148 config("cng_config") { |
157 include_dirs = [ | 149 include_dirs = [ |
158 "../../..", | 150 "../../..", |
159 "codecs/cng/include", | 151 "codecs/cng/include", |
160 ] | 152 ] |
161 } | 153 } |
162 | 154 |
163 rtc_source_set("cng") { | 155 rtc_source_set("cng") { |
164 sources = [ | 156 sources = [ |
165 "codecs/cng/audio_encoder_cng.cc", | 157 "codecs/cng/audio_encoder_cng.cc", |
166 "codecs/cng/audio_encoder_cng.h", | 158 "codecs/cng/audio_encoder_cng.h", |
167 "codecs/cng/webrtc_cng.cc", | 159 "codecs/cng/webrtc_cng.cc", |
168 "codecs/cng/webrtc_cng.h", | 160 "codecs/cng/webrtc_cng.h", |
169 ] | 161 ] |
170 | 162 |
171 public_configs = [ | 163 public_configs = [ ":cng_config" ] |
172 "../..:common_inherited_config", | |
173 ":cng_config", | |
174 ] | |
175 | 164 |
176 deps = [ | 165 deps = [ |
177 ":audio_encoder_interface", | 166 ":audio_encoder_interface", |
178 "../../common_audio", | 167 "../../common_audio", |
179 ] | 168 ] |
180 } | 169 } |
181 | 170 |
182 config("red_config") { | 171 config("red_config") { |
183 include_dirs = [ "codecs/red" ] | 172 include_dirs = [ "codecs/red" ] |
184 } | 173 } |
185 | 174 |
186 rtc_source_set("red") { | 175 rtc_source_set("red") { |
187 sources = [ | 176 sources = [ |
188 "codecs/red/audio_encoder_copy_red.cc", | 177 "codecs/red/audio_encoder_copy_red.cc", |
189 "codecs/red/audio_encoder_copy_red.h", | 178 "codecs/red/audio_encoder_copy_red.h", |
190 ] | 179 ] |
191 | 180 |
192 public_configs = [ | 181 public_configs = [ ":red_config" ] |
193 "../..:common_inherited_config", | |
194 ":red_config", | |
195 ] | |
196 | 182 |
197 deps = [ | 183 deps = [ |
198 ":audio_encoder_interface", | 184 ":audio_encoder_interface", |
199 "../../common_audio", | 185 "../../common_audio", |
200 ] | 186 ] |
201 } | 187 } |
202 | 188 |
203 config("g711_config") { | 189 config("g711_config") { |
204 include_dirs = [ | 190 include_dirs = [ |
205 "../../..", | 191 "../../..", |
206 "codecs/g711/include", | 192 "codecs/g711/include", |
207 ] | 193 ] |
208 } | 194 } |
209 | 195 |
210 rtc_source_set("g711") { | 196 rtc_source_set("g711") { |
211 sources = [ | 197 sources = [ |
212 "codecs/g711/audio_decoder_pcm.cc", | 198 "codecs/g711/audio_decoder_pcm.cc", |
213 "codecs/g711/audio_decoder_pcm.h", | 199 "codecs/g711/audio_decoder_pcm.h", |
214 "codecs/g711/audio_encoder_pcm.cc", | 200 "codecs/g711/audio_encoder_pcm.cc", |
215 "codecs/g711/audio_encoder_pcm.h", | 201 "codecs/g711/audio_encoder_pcm.h", |
216 "codecs/g711/g711.c", | 202 "codecs/g711/g711.c", |
217 "codecs/g711/g711.h", | 203 "codecs/g711/g711.h", |
218 "codecs/g711/g711_interface.c", | 204 "codecs/g711/g711_interface.c", |
219 "codecs/g711/g711_interface.h", | 205 "codecs/g711/g711_interface.h", |
220 ] | 206 ] |
221 | 207 |
222 public_configs = [ | 208 public_configs = [ ":g711_config" ] |
223 "../..:common_inherited_config", | |
224 ":g711_config", | |
225 ] | |
226 | 209 |
227 deps = [ | 210 deps = [ |
228 ":audio_decoder_interface", | 211 ":audio_decoder_interface", |
229 ":audio_encoder_interface", | 212 ":audio_encoder_interface", |
230 ] | 213 ] |
231 } | 214 } |
232 | 215 |
233 config("g722_config") { | 216 config("g722_config") { |
234 include_dirs = [ | 217 include_dirs = [ |
235 "../../..", | 218 "../../..", |
236 "codecs/g722/include", | 219 "codecs/g722/include", |
237 ] | 220 ] |
238 } | 221 } |
239 | 222 |
240 rtc_source_set("g722") { | 223 rtc_source_set("g722") { |
241 sources = [ | 224 sources = [ |
242 "codecs/g722/audio_decoder_g722.cc", | 225 "codecs/g722/audio_decoder_g722.cc", |
243 "codecs/g722/audio_decoder_g722.h", | 226 "codecs/g722/audio_decoder_g722.h", |
244 "codecs/g722/audio_encoder_g722.cc", | 227 "codecs/g722/audio_encoder_g722.cc", |
245 "codecs/g722/audio_encoder_g722.h", | 228 "codecs/g722/audio_encoder_g722.h", |
246 "codecs/g722/g722_decode.c", | 229 "codecs/g722/g722_decode.c", |
247 "codecs/g722/g722_enc_dec.h", | 230 "codecs/g722/g722_enc_dec.h", |
248 "codecs/g722/g722_encode.c", | 231 "codecs/g722/g722_encode.c", |
249 "codecs/g722/g722_interface.c", | 232 "codecs/g722/g722_interface.c", |
250 "codecs/g722/g722_interface.h", | 233 "codecs/g722/g722_interface.h", |
251 ] | 234 ] |
252 | 235 |
253 public_configs = [ | 236 public_configs = [ ":g722_config" ] |
254 "../..:common_inherited_config", | |
255 ":g722_config", | |
256 ] | |
257 | 237 |
258 deps = [ | 238 deps = [ |
259 ":audio_decoder_interface", | 239 ":audio_decoder_interface", |
260 ":audio_encoder_interface", | 240 ":audio_encoder_interface", |
261 ] | 241 ] |
262 } | 242 } |
263 | 243 |
264 config("ilbc_config") { | 244 config("ilbc_config") { |
265 include_dirs = [ | 245 include_dirs = [ |
266 "../../..", | 246 "../../..", |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 "codecs/ilbc/vq3.c", | 388 "codecs/ilbc/vq3.c", |
409 "codecs/ilbc/vq3.h", | 389 "codecs/ilbc/vq3.h", |
410 "codecs/ilbc/vq4.c", | 390 "codecs/ilbc/vq4.c", |
411 "codecs/ilbc/vq4.h", | 391 "codecs/ilbc/vq4.h", |
412 "codecs/ilbc/window32_w32.c", | 392 "codecs/ilbc/window32_w32.c", |
413 "codecs/ilbc/window32_w32.h", | 393 "codecs/ilbc/window32_w32.h", |
414 "codecs/ilbc/xcorr_coef.c", | 394 "codecs/ilbc/xcorr_coef.c", |
415 "codecs/ilbc/xcorr_coef.h", | 395 "codecs/ilbc/xcorr_coef.h", |
416 ] | 396 ] |
417 | 397 |
418 public_configs = [ | 398 public_configs = [ ":ilbc_config" ] |
419 "../..:common_inherited_config", | |
420 ":ilbc_config", | |
421 ] | |
422 | 399 |
423 deps = [ | 400 deps = [ |
424 ":audio_decoder_interface", | 401 ":audio_decoder_interface", |
425 ":audio_encoder_interface", | 402 ":audio_encoder_interface", |
426 "../../base:rtc_base_approved", | 403 "../../base:rtc_base_approved", |
427 "../../common_audio", | 404 "../../common_audio", |
428 ] | 405 ] |
429 } | 406 } |
430 | 407 |
431 rtc_source_set("isac_common") { | 408 rtc_source_set("isac_common") { |
432 sources = [ | 409 sources = [ |
433 "codecs/isac/audio_encoder_isac_t.h", | 410 "codecs/isac/audio_encoder_isac_t.h", |
434 "codecs/isac/audio_encoder_isac_t_impl.h", | 411 "codecs/isac/audio_encoder_isac_t_impl.h", |
435 "codecs/isac/locked_bandwidth_info.cc", | 412 "codecs/isac/locked_bandwidth_info.cc", |
436 "codecs/isac/locked_bandwidth_info.h", | 413 "codecs/isac/locked_bandwidth_info.h", |
437 ] | 414 ] |
438 public_configs = [ "../..:common_inherited_config" ] | |
439 } | 415 } |
440 | 416 |
441 config("isac_config") { | 417 config("isac_config") { |
442 include_dirs = [ | 418 include_dirs = [ |
443 "../../..", | 419 "../../..", |
444 "codecs/isac/main/include", | 420 "codecs/isac/main/include", |
445 ] | 421 ] |
446 } | 422 } |
447 | 423 |
448 rtc_source_set("isac") { | 424 rtc_source_set("isac") { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 "codecs/isac/main/source/spectrum_ar_model_tables.c", | 476 "codecs/isac/main/source/spectrum_ar_model_tables.c", |
501 "codecs/isac/main/source/spectrum_ar_model_tables.h", | 477 "codecs/isac/main/source/spectrum_ar_model_tables.h", |
502 "codecs/isac/main/source/structs.h", | 478 "codecs/isac/main/source/structs.h", |
503 "codecs/isac/main/source/transform.c", | 479 "codecs/isac/main/source/transform.c", |
504 ] | 480 ] |
505 | 481 |
506 if (is_linux) { | 482 if (is_linux) { |
507 libs = [ "m" ] | 483 libs = [ "m" ] |
508 } | 484 } |
509 | 485 |
510 public_configs = [ | 486 public_configs = [ ":isac_config" ] |
511 "../..:common_inherited_config", | |
512 ":isac_config", | |
513 ] | |
514 | 487 |
515 deps = [ | 488 deps = [ |
516 ":audio_decoder_interface", | 489 ":audio_decoder_interface", |
517 ":audio_encoder_interface", | 490 ":audio_encoder_interface", |
518 ":isac_common", | 491 ":isac_common", |
519 "../..:webrtc_common", | 492 "../..:webrtc_common", |
520 "../../base:rtc_base_approved", | 493 "../../base:rtc_base_approved", |
521 "../../common_audio", | 494 "../../common_audio", |
522 ] | 495 ] |
523 } | 496 } |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 "codecs/isac/fix/source/spectrum_ar_model_tables.h", | 551 "codecs/isac/fix/source/spectrum_ar_model_tables.h", |
579 "codecs/isac/fix/source/structs.h", | 552 "codecs/isac/fix/source/structs.h", |
580 "codecs/isac/fix/source/transform.c", | 553 "codecs/isac/fix/source/transform.c", |
581 "codecs/isac/fix/source/transform_tables.c", | 554 "codecs/isac/fix/source/transform_tables.c", |
582 ] | 555 ] |
583 | 556 |
584 if (!is_win) { | 557 if (!is_win) { |
585 defines = [ "WEBRTC_LINUX" ] | 558 defines = [ "WEBRTC_LINUX" ] |
586 } | 559 } |
587 | 560 |
588 public_configs = [ | 561 public_configs = [ ":isac_fix_config" ] |
589 "../..:common_inherited_config", | |
590 ":isac_fix_config", | |
591 ] | |
592 | 562 |
593 deps = [ | 563 deps = [ |
594 ":audio_decoder_interface", | 564 ":audio_decoder_interface", |
595 ":audio_encoder_interface", | 565 ":audio_encoder_interface", |
596 ":isac_common", | 566 ":isac_common", |
597 "../../common_audio", | 567 "../../common_audio", |
598 "../../system_wrappers", | 568 "../../system_wrappers", |
599 ] | 569 ] |
600 | 570 |
601 if (rtc_build_with_neon) { | 571 if (rtc_build_with_neon) { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
658 | 628 |
659 # Disable LTO on NEON targets due to compiler bug. | 629 # Disable LTO on NEON targets due to compiler bug. |
660 # TODO(fdegans): Enable this. See crbug.com/408997. | 630 # TODO(fdegans): Enable this. See crbug.com/408997. |
661 if (rtc_use_lto) { | 631 if (rtc_use_lto) { |
662 cflags -= [ | 632 cflags -= [ |
663 "-flto", | 633 "-flto", |
664 "-ffat-lto-objects", | 634 "-ffat-lto-objects", |
665 ] | 635 ] |
666 } | 636 } |
667 | 637 |
668 public_configs = [ "../..:common_inherited_config" ] | |
669 | |
670 deps = [ | 638 deps = [ |
671 "../../common_audio", | 639 "../../common_audio", |
672 ] | 640 ] |
673 } | 641 } |
674 } | 642 } |
675 | 643 |
676 config("pcm16b_config") { | 644 config("pcm16b_config") { |
677 include_dirs = [ | 645 include_dirs = [ |
678 "../../..", | 646 "../../..", |
679 "codecs/pcm16b/include", | 647 "codecs/pcm16b/include", |
680 ] | 648 ] |
681 } | 649 } |
682 | 650 |
683 rtc_source_set("pcm16b") { | 651 rtc_source_set("pcm16b") { |
684 sources = [ | 652 sources = [ |
685 "codecs/pcm16b/audio_decoder_pcm16b.cc", | 653 "codecs/pcm16b/audio_decoder_pcm16b.cc", |
686 "codecs/pcm16b/audio_decoder_pcm16b.h", | 654 "codecs/pcm16b/audio_decoder_pcm16b.h", |
687 "codecs/pcm16b/audio_encoder_pcm16b.cc", | 655 "codecs/pcm16b/audio_encoder_pcm16b.cc", |
688 "codecs/pcm16b/audio_encoder_pcm16b.h", | 656 "codecs/pcm16b/audio_encoder_pcm16b.h", |
689 "codecs/pcm16b/pcm16b.c", | 657 "codecs/pcm16b/pcm16b.c", |
690 "codecs/pcm16b/pcm16b.h", | 658 "codecs/pcm16b/pcm16b.h", |
691 ] | 659 ] |
692 | 660 |
693 deps = [ | 661 deps = [ |
694 ":audio_decoder_interface", | 662 ":audio_decoder_interface", |
695 ":audio_encoder_interface", | 663 ":audio_encoder_interface", |
696 ":g711", | 664 ":g711", |
697 ] | 665 ] |
698 | 666 |
699 public_configs = [ | 667 public_configs = [ ":pcm16b_config" ] |
700 "../..:common_inherited_config", | |
701 ":pcm16b_config", | |
702 ] | |
703 } | 668 } |
704 | 669 |
705 config("opus_config") { | 670 config("opus_config") { |
706 include_dirs = [ "../../.." ] | 671 include_dirs = [ "../../.." ] |
707 } | 672 } |
708 | 673 |
709 rtc_source_set("webrtc_opus") { | 674 rtc_source_set("webrtc_opus") { |
710 sources = [ | 675 sources = [ |
711 "codecs/opus/audio_decoder_opus.cc", | 676 "codecs/opus/audio_decoder_opus.cc", |
712 "codecs/opus/audio_decoder_opus.h", | 677 "codecs/opus/audio_decoder_opus.h", |
713 "codecs/opus/audio_encoder_opus.cc", | 678 "codecs/opus/audio_encoder_opus.cc", |
714 "codecs/opus/audio_encoder_opus.h", | 679 "codecs/opus/audio_encoder_opus.h", |
715 "codecs/opus/opus_inst.h", | 680 "codecs/opus/opus_inst.h", |
716 "codecs/opus/opus_interface.c", | 681 "codecs/opus/opus_interface.c", |
717 "codecs/opus/opus_interface.h", | 682 "codecs/opus/opus_interface.h", |
718 ] | 683 ] |
719 | 684 |
720 deps = [ | 685 deps = [ |
721 ":audio_decoder_interface", | 686 ":audio_decoder_interface", |
722 ":audio_encoder_interface", | 687 ":audio_encoder_interface", |
723 "../../base:rtc_base_approved", | 688 "../../base:rtc_base_approved", |
724 ] | 689 ] |
725 | 690 |
726 if (rtc_build_opus) { | 691 if (rtc_build_opus) { |
727 public_configs = [ "../..:common_inherited_config" ] | |
728 | |
729 public_deps = [ | 692 public_deps = [ |
730 rtc_opus_dir, | 693 rtc_opus_dir, |
731 ] | 694 ] |
732 } else if (build_with_mozilla) { | 695 } else if (build_with_mozilla) { |
733 include_dirs = [ getenv("DIST") + "/include/opus" ] | 696 include_dirs = [ getenv("DIST") + "/include/opus" ] |
734 } | 697 } |
735 } | 698 } |
736 | 699 |
737 config("neteq_config") { | 700 config("neteq_config") { |
738 include_dirs = [ | 701 include_dirs = [ |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
812 "neteq/sync_buffer.cc", | 775 "neteq/sync_buffer.cc", |
813 "neteq/sync_buffer.h", | 776 "neteq/sync_buffer.h", |
814 "neteq/tick_timer.cc", | 777 "neteq/tick_timer.cc", |
815 "neteq/tick_timer.h", | 778 "neteq/tick_timer.h", |
816 "neteq/time_stretch.cc", | 779 "neteq/time_stretch.cc", |
817 "neteq/time_stretch.h", | 780 "neteq/time_stretch.h", |
818 "neteq/timestamp_scaler.cc", | 781 "neteq/timestamp_scaler.cc", |
819 "neteq/timestamp_scaler.h", | 782 "neteq/timestamp_scaler.h", |
820 ] | 783 ] |
821 | 784 |
822 public_configs = [ | 785 public_configs = [ ":neteq_config" ] |
823 "../..:common_inherited_config", | |
824 ":neteq_config", | |
825 ] | |
826 | 786 |
827 deps = [ | 787 deps = [ |
828 ":audio_decoder_interface", | 788 ":audio_decoder_interface", |
829 ":builtin_audio_decoder_factory", | 789 ":builtin_audio_decoder_factory", |
830 ":cng", | 790 ":cng", |
831 ":g711", | 791 ":g711", |
832 ":pcm16b", | 792 ":pcm16b", |
833 ":rent_a_codec", | 793 ":rent_a_codec", |
834 "../..:webrtc_common", | 794 "../..:webrtc_common", |
835 "../../common_audio", | 795 "../../common_audio", |
(...skipping 24 matching lines...) Expand all Loading... |
860 } | 820 } |
861 | 821 |
862 if (rtc_include_tests) { | 822 if (rtc_include_tests) { |
863 rtc_source_set("acm_receive_test") { | 823 rtc_source_set("acm_receive_test") { |
864 testonly = true | 824 testonly = true |
865 sources = [ | 825 sources = [ |
866 "acm2/acm_receive_test_oldapi.cc", | 826 "acm2/acm_receive_test_oldapi.cc", |
867 "acm2/acm_receive_test_oldapi.h", | 827 "acm2/acm_receive_test_oldapi.h", |
868 ] | 828 ] |
869 | 829 |
870 public_configs = [ "../..:common_inherited_config" ] | |
871 | |
872 defines = audio_coding_defines | 830 defines = audio_coding_defines |
873 | 831 |
874 deps = audio_coding_deps + [ | 832 deps = audio_coding_deps + [ |
875 ":audio_coding", | 833 ":audio_coding", |
876 ":neteq_unittest_tools", | 834 ":neteq_unittest_tools", |
877 "//testing/gtest", | 835 "//testing/gtest", |
878 ] | 836 ] |
879 } | 837 } |
880 | 838 |
881 rtc_source_set("acm_send_test") { | 839 rtc_source_set("acm_send_test") { |
882 testonly = true | 840 testonly = true |
883 sources = [ | 841 sources = [ |
884 "acm2/acm_send_test_oldapi.cc", | 842 "acm2/acm_send_test_oldapi.cc", |
885 "acm2/acm_send_test_oldapi.h", | 843 "acm2/acm_send_test_oldapi.h", |
886 ] | 844 ] |
887 | 845 |
888 public_configs = [ "../..:common_inherited_config" ] | |
889 | |
890 defines = audio_coding_defines | 846 defines = audio_coding_defines |
891 | 847 |
892 deps = audio_coding_deps + [ | 848 deps = audio_coding_deps + [ |
893 ":audio_coding", | 849 ":audio_coding", |
894 ":neteq_unittest_tools", | 850 ":neteq_unittest_tools", |
895 "//testing/gtest", | 851 "//testing/gtest", |
896 ] | 852 ] |
897 } | 853 } |
898 | 854 |
899 rtc_executable("delay_test") { | 855 rtc_executable("delay_test") { |
900 testonly = true | 856 testonly = true |
901 sources = [ | 857 sources = [ |
902 "test/Channel.cc", | 858 "test/Channel.cc", |
903 "test/PCMFile.cc", | 859 "test/PCMFile.cc", |
904 "test/delay_test.cc", | 860 "test/delay_test.cc", |
905 "test/utility.cc", | 861 "test/utility.cc", |
906 ] | 862 ] |
907 | 863 |
908 public_configs = [ "../..:common_inherited_config" ] | |
909 | |
910 deps = [ | 864 deps = [ |
911 ":audio_coding", | 865 ":audio_coding", |
912 "../../:webrtc_common", | 866 "../../:webrtc_common", |
913 "../../system_wrappers", | 867 "../../system_wrappers", |
914 "../../system_wrappers:system_wrappers_default", | 868 "../../system_wrappers:system_wrappers_default", |
915 "../../test:test_support", | 869 "../../test:test_support", |
916 "../rtp_rtcp", | 870 "../rtp_rtcp", |
917 "//testing/gtest", | 871 "//testing/gtest", |
918 "//third_party/gflags:gflags", | 872 "//third_party/gflags:gflags", |
919 ] | 873 ] |
920 } # delay_test | 874 } # delay_test |
921 | 875 |
922 rtc_executable("insert_packet_with_timing") { | 876 rtc_executable("insert_packet_with_timing") { |
923 testonly = true | 877 testonly = true |
924 sources = [ | 878 sources = [ |
925 "test/Channel.cc", | 879 "test/Channel.cc", |
926 "test/PCMFile.cc", | 880 "test/PCMFile.cc", |
927 "test/insert_packet_with_timing.cc", | 881 "test/insert_packet_with_timing.cc", |
928 ] | 882 ] |
929 | 883 |
930 public_configs = [ "../..:common_inherited_config" ] | |
931 | |
932 if (is_clang) { | 884 if (is_clang) { |
933 # Suppress warnings from Chrome's Clang plugins. | 885 # Suppress warnings from Chrome's Clang plugins. |
934 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 886 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
935 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 887 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
936 } | 888 } |
937 | 889 |
938 deps = [ | 890 deps = [ |
939 ":audio_coding", | 891 ":audio_coding", |
940 "../../:webrtc_common", | 892 "../../:webrtc_common", |
941 "../../system_wrappers", | 893 "../../system_wrappers", |
(...skipping 19 matching lines...) Expand all Loading... |
961 ] | 913 ] |
962 } | 914 } |
963 } | 915 } |
964 | 916 |
965 rtc_test("audio_decoder_unittests") { | 917 rtc_test("audio_decoder_unittests") { |
966 testonly = true | 918 testonly = true |
967 sources = [ | 919 sources = [ |
968 "neteq/audio_decoder_unittest.cc", | 920 "neteq/audio_decoder_unittest.cc", |
969 ] | 921 ] |
970 | 922 |
971 public_configs = [ "../..:common_inherited_config" ] | |
972 | |
973 if (is_clang) { | 923 if (is_clang) { |
974 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 924 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
975 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 925 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
976 } | 926 } |
977 | 927 |
978 deps = [] | 928 deps = [] |
979 | 929 |
980 defines = neteq_defines | 930 defines = neteq_defines |
981 | 931 |
982 deps += audio_coding_deps | 932 deps += audio_coding_deps |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1095 | 1045 |
1096 rtc_source_set("neteq_test_support") { | 1046 rtc_source_set("neteq_test_support") { |
1097 testonly = true | 1047 testonly = true |
1098 sources = [ | 1048 sources = [ |
1099 "neteq/tools/neteq_external_decoder_test.cc", | 1049 "neteq/tools/neteq_external_decoder_test.cc", |
1100 "neteq/tools/neteq_external_decoder_test.h", | 1050 "neteq/tools/neteq_external_decoder_test.h", |
1101 "neteq/tools/neteq_performance_test.cc", | 1051 "neteq/tools/neteq_performance_test.cc", |
1102 "neteq/tools/neteq_performance_test.h", | 1052 "neteq/tools/neteq_performance_test.h", |
1103 ] | 1053 ] |
1104 | 1054 |
1105 public_configs = [ "../..:common_inherited_config" ] | |
1106 | |
1107 if (is_clang) { | 1055 if (is_clang) { |
1108 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1056 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
1109 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1057 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1110 } | 1058 } |
1111 | 1059 |
1112 deps = [ | 1060 deps = [ |
1113 ":neteq", | 1061 ":neteq", |
1114 ":neteq_unittest_tools", | 1062 ":neteq_unittest_tools", |
1115 ":pcm16b", | 1063 ":pcm16b", |
1116 "//testing/gtest", | 1064 "//testing/gtest", |
1117 "//third_party/gflags", | 1065 "//third_party/gflags", |
1118 ] | 1066 ] |
1119 } | 1067 } |
1120 | 1068 |
1121 rtc_source_set("neteq_quality_test_support") { | 1069 rtc_source_set("neteq_quality_test_support") { |
1122 testonly = true | 1070 testonly = true |
1123 sources = [ | 1071 sources = [ |
1124 "neteq/tools/neteq_quality_test.cc", | 1072 "neteq/tools/neteq_quality_test.cc", |
1125 "neteq/tools/neteq_quality_test.h", | 1073 "neteq/tools/neteq_quality_test.h", |
1126 ] | 1074 ] |
1127 | 1075 |
1128 public_configs = [ "../..:common_inherited_config" ] | |
1129 | |
1130 if (is_clang) { | 1076 if (is_clang) { |
1131 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1077 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
1132 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1078 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1133 } | 1079 } |
1134 | 1080 |
1135 deps = [ | 1081 deps = [ |
1136 ":neteq", | 1082 ":neteq", |
1137 ":neteq_unittest_tools", | 1083 ":neteq_unittest_tools", |
1138 "//testing/gtest", | 1084 "//testing/gtest", |
1139 "//third_party/gflags", | 1085 "//third_party/gflags", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1172 "neteq/tools/packet_source.cc", | 1118 "neteq/tools/packet_source.cc", |
1173 "neteq/tools/packet_source.h", | 1119 "neteq/tools/packet_source.h", |
1174 "neteq/tools/resample_input_audio_file.cc", | 1120 "neteq/tools/resample_input_audio_file.cc", |
1175 "neteq/tools/resample_input_audio_file.h", | 1121 "neteq/tools/resample_input_audio_file.h", |
1176 "neteq/tools/rtp_file_source.cc", | 1122 "neteq/tools/rtp_file_source.cc", |
1177 "neteq/tools/rtp_file_source.h", | 1123 "neteq/tools/rtp_file_source.h", |
1178 "neteq/tools/rtp_generator.cc", | 1124 "neteq/tools/rtp_generator.cc", |
1179 "neteq/tools/rtp_generator.h", | 1125 "neteq/tools/rtp_generator.h", |
1180 ] | 1126 ] |
1181 | 1127 |
1182 public_configs = [ | 1128 public_configs = [ ":neteq_unittest_tools_config" ] |
1183 "../..:common_inherited_config", | |
1184 ":neteq_unittest_tools_config", | |
1185 ] | |
1186 | 1129 |
1187 if (is_clang) { | 1130 if (is_clang) { |
1188 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). | 1131 # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
1189 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1132 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1190 } | 1133 } |
1191 | 1134 |
1192 deps = [ | 1135 deps = [ |
1193 "../../common_audio", | 1136 "../../common_audio", |
1194 "../../test:rtp_test_utils", | 1137 "../../test:rtp_test_utils", |
1195 "../rtp_rtcp", | 1138 "../rtp_rtcp", |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1513 configs += [ ":isac_test_warnings_config" ] | 1456 configs += [ ":isac_test_warnings_config" ] |
1514 } | 1457 } |
1515 | 1458 |
1516 rtc_executable("g711_test") { | 1459 rtc_executable("g711_test") { |
1517 testonly = true | 1460 testonly = true |
1518 | 1461 |
1519 sources = [ | 1462 sources = [ |
1520 "codecs/g711/test/testG711.cc", | 1463 "codecs/g711/test/testG711.cc", |
1521 ] | 1464 ] |
1522 | 1465 |
1523 public_configs = [ "../..:common_inherited_config" ] | |
1524 | |
1525 deps = [ | 1466 deps = [ |
1526 ":g711", | 1467 ":g711", |
1527 ] | 1468 ] |
1528 } | 1469 } |
1529 | 1470 |
1530 rtc_executable("g722_test") { | 1471 rtc_executable("g722_test") { |
1531 testonly = true | 1472 testonly = true |
1532 | 1473 |
1533 sources = [ | 1474 sources = [ |
1534 "codecs/g722/test/testG722.cc", | 1475 "codecs/g722/test/testG722.cc", |
1535 ] | 1476 ] |
1536 | 1477 |
1537 public_configs = [ "../..:common_inherited_config" ] | |
1538 | |
1539 deps = [ | 1478 deps = [ |
1540 ":g722", | 1479 ":g722", |
1541 "../..:webrtc_common", | 1480 "../..:webrtc_common", |
1542 ] | 1481 ] |
1543 } | 1482 } |
1544 | 1483 |
1545 rtc_executable("isac_api_test") { | 1484 rtc_executable("isac_api_test") { |
1546 testonly = true | 1485 testonly = true |
1547 | 1486 |
1548 sources = [ | 1487 sources = [ |
1549 "codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc", | 1488 "codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc", |
1550 "codecs/isac/main/util/utility.c", | 1489 "codecs/isac/main/util/utility.c", |
1551 ] | 1490 ] |
1552 | 1491 |
1553 public_configs = [ "../..:common_inherited_config" ] | |
1554 | |
1555 deps = [ | 1492 deps = [ |
1556 ":isac", | 1493 ":isac", |
1557 "../../base:rtc_base_approved", | 1494 "../../base:rtc_base_approved", |
1558 ] | 1495 ] |
1559 | 1496 |
1560 include_dirs = [ | 1497 include_dirs = [ |
1561 "codecs/isac/main/include", | 1498 "codecs/isac/main/include", |
1562 "codecs/isac/main/test", | 1499 "codecs/isac/main/test", |
1563 "codecs/isac/main/util", | 1500 "codecs/isac/main/util", |
1564 ] | 1501 ] |
1565 } | 1502 } |
1566 | 1503 |
1567 rtc_executable("isac_switch_samprate_test") { | 1504 rtc_executable("isac_switch_samprate_test") { |
1568 testonly = true | 1505 testonly = true |
1569 | 1506 |
1570 sources = [ | 1507 sources = [ |
1571 "codecs/isac/main/test/SwitchingSampRate/SwitchingSampRate.cc", | 1508 "codecs/isac/main/test/SwitchingSampRate/SwitchingSampRate.cc", |
1572 "codecs/isac/main/util/utility.c", | 1509 "codecs/isac/main/util/utility.c", |
1573 ] | 1510 ] |
1574 | 1511 |
1575 public_configs = [ "../..:common_inherited_config" ] | |
1576 | |
1577 deps = [ | 1512 deps = [ |
1578 ":isac", | 1513 ":isac", |
1579 ] | 1514 ] |
1580 | 1515 |
1581 include_dirs = [ | 1516 include_dirs = [ |
1582 "codecs/isac/main/include", | 1517 "codecs/isac/main/include", |
1583 "codecs/isac/main/test", | 1518 "codecs/isac/main/test", |
1584 "codecs/isac/main/util", | 1519 "codecs/isac/main/util", |
1585 "../../common_audio/signal_processing/include", | 1520 "../../common_audio/signal_processing/include", |
1586 ] | 1521 ] |
1587 } | 1522 } |
1588 | 1523 |
1589 rtc_executable("ilbc_test") { | 1524 rtc_executable("ilbc_test") { |
1590 testonly = true | 1525 testonly = true |
1591 | 1526 |
1592 sources = [ | 1527 sources = [ |
1593 "codecs/ilbc/test/iLBC_test.c", | 1528 "codecs/ilbc/test/iLBC_test.c", |
1594 ] | 1529 ] |
1595 | 1530 |
1596 public_configs = [ "../..:common_inherited_config" ] | |
1597 | |
1598 deps = [ | 1531 deps = [ |
1599 ":ilbc", | 1532 ":ilbc", |
1600 ] | 1533 ] |
1601 } | 1534 } |
1602 | 1535 |
1603 rtc_executable("webrtc_opus_fec_test") { | 1536 rtc_executable("webrtc_opus_fec_test") { |
1604 testonly = true | 1537 testonly = true |
1605 | 1538 |
1606 sources = [ | 1539 sources = [ |
1607 "codecs/opus/opus_fec_test.cc", | 1540 "codecs/opus/opus_fec_test.cc", |
1608 ] | 1541 ] |
1609 | 1542 |
1610 deps = [ | 1543 deps = [ |
1611 ":webrtc_opus", | 1544 ":webrtc_opus", |
1612 "../../base:rtc_base_approved", | 1545 "../../base:rtc_base_approved", |
1613 "../../common_audio", | 1546 "../../common_audio", |
1614 "../../test:test_support", | 1547 "../../test:test_support", |
1615 "../../test:test_support_main", | 1548 "../../test:test_support_main", |
1616 "//testing/gtest", | 1549 "//testing/gtest", |
1617 ] | 1550 ] |
1618 | 1551 |
1619 if (is_clang) { | 1552 if (is_clang) { |
1620 # Suppress warnings from Chrome's Clang plugins. | 1553 # Suppress warnings from Chrome's Clang plugins. |
1621 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 1554 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
1622 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 1555 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
1623 } | 1556 } |
1624 } | 1557 } |
1625 } | 1558 } |
OLD | NEW |