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

Side by Side Diff: webrtc/modules/audio_coding/BUILD.gn

Issue 2976293002: Remove remains of webrtc/base (Closed)
Patch Set: Add README.md Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/BUILD.gn ('k') | webrtc/modules/audio_conference_mixer/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 29 matching lines...) Expand all
40 ] 40 ]
41 41
42 rtc_static_library("audio_format_conversion") { 42 rtc_static_library("audio_format_conversion") {
43 sources = [ 43 sources = [
44 "codecs/audio_format_conversion.cc", 44 "codecs/audio_format_conversion.cc",
45 "codecs/audio_format_conversion.h", 45 "codecs/audio_format_conversion.h",
46 ] 46 ]
47 deps = [ 47 deps = [
48 "../..:webrtc_common", 48 "../..:webrtc_common",
49 "../../api/audio_codecs:audio_codecs_api", 49 "../../api/audio_codecs:audio_codecs_api",
50 "../../base:rtc_base_approved", 50 "../../rtc_base:rtc_base_approved",
51 ] 51 ]
52 } 52 }
53 53
54 rtc_static_library("builtin_audio_decoder_factory_internal") { 54 rtc_static_library("builtin_audio_decoder_factory_internal") {
55 sources = [ 55 sources = [
56 "codecs/builtin_audio_decoder_factory_internal.cc", 56 "codecs/builtin_audio_decoder_factory_internal.cc",
57 "codecs/builtin_audio_decoder_factory_internal.h", 57 "codecs/builtin_audio_decoder_factory_internal.h",
58 ] 58 ]
59 deps = [ 59 deps = [
60 "../..:webrtc_common", 60 "../..:webrtc_common",
61 "../../base:protobuf_utils", 61 "../../rtc_base:protobuf_utils",
62 "../../base:rtc_base_approved", 62 "../../rtc_base:rtc_base_approved",
63 "../../api/audio_codecs:audio_codecs_api", 63 "../../api/audio_codecs:audio_codecs_api",
64 ] + audio_codec_deps 64 ] + audio_codec_deps
65 defines = audio_codec_defines 65 defines = audio_codec_defines
66 } 66 }
67 67
68 rtc_static_library("builtin_audio_encoder_factory_internal") { 68 rtc_static_library("builtin_audio_encoder_factory_internal") {
69 sources = [ 69 sources = [
70 "codecs/builtin_audio_encoder_factory_internal.cc", 70 "codecs/builtin_audio_encoder_factory_internal.cc",
71 "codecs/builtin_audio_encoder_factory_internal.h", 71 "codecs/builtin_audio_encoder_factory_internal.h",
72 ] 72 ]
73 deps = [ 73 deps = [
74 "../..:webrtc_common", 74 "../..:webrtc_common",
75 "../../base:protobuf_utils", 75 "../../rtc_base:protobuf_utils",
76 "../../base:rtc_base_approved", 76 "../../rtc_base:rtc_base_approved",
77 "../../api/audio_codecs:audio_codecs_api", 77 "../../api/audio_codecs:audio_codecs_api",
78 ] + audio_codec_deps 78 ] + audio_codec_deps
79 defines = audio_codec_defines 79 defines = audio_codec_defines
80 } 80 }
81 81
82 rtc_static_library("rent_a_codec") { 82 rtc_static_library("rent_a_codec") {
83 sources = [ 83 sources = [
84 "acm2/acm_codec_database.cc", 84 "acm2/acm_codec_database.cc",
85 "acm2/acm_codec_database.h", 85 "acm2/acm_codec_database.h",
86 "acm2/rent_a_codec.cc", 86 "acm2/rent_a_codec.cc",
87 "acm2/rent_a_codec.h", 87 "acm2/rent_a_codec.h",
88 ] 88 ]
89 deps = [ 89 deps = [
90 "../../api/audio_codecs:audio_codecs_api", 90 "../../api/audio_codecs:audio_codecs_api",
91 "../..:webrtc_common", 91 "../..:webrtc_common",
92 "../../base:protobuf_utils", 92 "../../rtc_base:protobuf_utils",
93 "../../base:rtc_base_approved", 93 "../../rtc_base:rtc_base_approved",
94 "../../system_wrappers", 94 "../../system_wrappers",
95 ":audio_coding_module_typedefs", 95 ":audio_coding_module_typedefs",
96 ":isac_common", 96 ":isac_common",
97 ":isac_fix_c", 97 ":isac_fix_c",
98 ":neteq_decoder_enum", 98 ":neteq_decoder_enum",
99 ] + audio_codec_deps 99 ] + audio_codec_deps
100 100
101 defines = audio_codec_defines 101 defines = audio_codec_defines
102 } 102 }
103 103
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 ] 149 ]
150 } 150 }
151 151
152 deps = audio_coding_deps + [ 152 deps = audio_coding_deps + [
153 "..:module_api", 153 "..:module_api",
154 "../../api/audio_codecs:audio_codecs_api", 154 "../../api/audio_codecs:audio_codecs_api",
155 "../../api/audio_codecs:builtin_audio_decoder_factory", 155 "../../api/audio_codecs:builtin_audio_decoder_factory",
156 ":audio_coding_module_typedefs", 156 ":audio_coding_module_typedefs",
157 ":neteq", 157 ":neteq",
158 ":rent_a_codec", 158 ":rent_a_codec",
159 "../../base:rtc_base_approved", 159 "../../rtc_base:rtc_base_approved",
160 "../../logging:rtc_event_log_api", 160 "../../logging:rtc_event_log_api",
161 ] 161 ]
162 defines = audio_coding_defines 162 defines = audio_coding_defines
163 } 163 }
164 164
165 rtc_static_library("legacy_encoded_audio_frame") { 165 rtc_static_library("legacy_encoded_audio_frame") {
166 sources = [ 166 sources = [
167 "codecs/legacy_encoded_audio_frame.cc", 167 "codecs/legacy_encoded_audio_frame.cc",
168 "codecs/legacy_encoded_audio_frame.h", 168 "codecs/legacy_encoded_audio_frame.h",
169 ] 169 ]
170 deps = [ 170 deps = [
171 "../../api/audio_codecs:audio_codecs_api", 171 "../../api/audio_codecs:audio_codecs_api",
172 "../../base:rtc_base_approved", 172 "../../rtc_base:rtc_base_approved",
173 ] 173 ]
174 } 174 }
175 175
176 config("cng_config") { 176 config("cng_config") {
177 include_dirs = [ 177 include_dirs = [
178 "../../..", 178 "../../..",
179 "codecs/cng/include", 179 "codecs/cng/include",
180 ] 180 ]
181 } 181 }
182 182
183 rtc_static_library("cng") { 183 rtc_static_library("cng") {
184 sources = [ 184 sources = [
185 "codecs/cng/audio_encoder_cng.cc", 185 "codecs/cng/audio_encoder_cng.cc",
186 "codecs/cng/audio_encoder_cng.h", 186 "codecs/cng/audio_encoder_cng.h",
187 "codecs/cng/webrtc_cng.cc", 187 "codecs/cng/webrtc_cng.cc",
188 "codecs/cng/webrtc_cng.h", 188 "codecs/cng/webrtc_cng.h",
189 ] 189 ]
190 190
191 public_configs = [ ":cng_config" ] 191 public_configs = [ ":cng_config" ]
192 192
193 deps = [ 193 deps = [
194 "../..:webrtc_common", 194 "../..:webrtc_common",
195 "../../api/audio_codecs:audio_codecs_api", 195 "../../api/audio_codecs:audio_codecs_api",
196 "../../base:rtc_base_approved",
197 "../../common_audio", 196 "../../common_audio",
197 "../../rtc_base:rtc_base_approved",
198 ] 198 ]
199 } 199 }
200 200
201 config("red_config") { 201 config("red_config") {
202 include_dirs = [ "codecs/red" ] 202 include_dirs = [ "codecs/red" ]
203 } 203 }
204 204
205 rtc_static_library("red") { 205 rtc_static_library("red") {
206 sources = [ 206 sources = [
207 "codecs/red/audio_encoder_copy_red.cc", 207 "codecs/red/audio_encoder_copy_red.cc",
208 "codecs/red/audio_encoder_copy_red.h", 208 "codecs/red/audio_encoder_copy_red.h",
209 ] 209 ]
210 210
211 public_configs = [ ":red_config" ] 211 public_configs = [ ":red_config" ]
212 212
213 deps = [ 213 deps = [
214 "../../api/audio_codecs:audio_codecs_api", 214 "../../api/audio_codecs:audio_codecs_api",
215 "../../base:rtc_base_approved",
216 "../../common_audio", 215 "../../common_audio",
216 "../../rtc_base:rtc_base_approved",
217 ] 217 ]
218 } 218 }
219 219
220 config("g711_config") { 220 config("g711_config") {
221 include_dirs = [ 221 include_dirs = [
222 "../../..", 222 "../../..",
223 "codecs/g711/include", 223 "codecs/g711/include",
224 ] 224 ]
225 } 225 }
226 226
227 rtc_static_library("g711") { 227 rtc_static_library("g711") {
228 sources = [ 228 sources = [
229 "codecs/g711/audio_decoder_pcm.cc", 229 "codecs/g711/audio_decoder_pcm.cc",
230 "codecs/g711/audio_decoder_pcm.h", 230 "codecs/g711/audio_decoder_pcm.h",
231 "codecs/g711/audio_encoder_pcm.cc", 231 "codecs/g711/audio_encoder_pcm.cc",
232 "codecs/g711/audio_encoder_pcm.h", 232 "codecs/g711/audio_encoder_pcm.h",
233 ] 233 ]
234 234
235 public_configs = [ ":g711_config" ] 235 public_configs = [ ":g711_config" ]
236 236
237 deps = [ 237 deps = [
238 ":legacy_encoded_audio_frame", 238 ":legacy_encoded_audio_frame",
239 "../..:webrtc_common", 239 "../..:webrtc_common",
240 "../../api/audio_codecs:audio_codecs_api", 240 "../../api/audio_codecs:audio_codecs_api",
241 "../../base:rtc_base_approved", 241 "../../rtc_base:rtc_base_approved",
242 ] 242 ]
243 public_deps = [ 243 public_deps = [
244 ":g711_c", 244 ":g711_c",
245 ] 245 ]
246 } 246 }
247 247
248 rtc_source_set("g711_c") { 248 rtc_source_set("g711_c") {
249 visibility = [ ":*" ] # Only targets in this file can depend on this. 249 visibility = [ ":*" ] # Only targets in this file can depend on this.
250 sources = [ 250 sources = [
251 "codecs/g711/g711.c", 251 "codecs/g711/g711.c",
(...skipping 21 matching lines...) Expand all
273 "codecs/g722/audio_encoder_g722.h", 273 "codecs/g722/audio_encoder_g722.h",
274 ] 274 ]
275 275
276 public_configs = [ ":g722_config" ] 276 public_configs = [ ":g722_config" ]
277 277
278 deps = [ 278 deps = [
279 ":legacy_encoded_audio_frame", 279 ":legacy_encoded_audio_frame",
280 "../..:webrtc_common", 280 "../..:webrtc_common",
281 "../../api/audio_codecs:audio_codecs_api", 281 "../../api/audio_codecs:audio_codecs_api",
282 "../../api/audio_codecs/g722:audio_encoder_g722_config", 282 "../../api/audio_codecs/g722:audio_encoder_g722_config",
283 "../../base:rtc_base_approved", 283 "../../rtc_base:rtc_base_approved",
284 ] 284 ]
285 public_deps = [ 285 public_deps = [
286 ":g722_c", 286 ":g722_c",
287 ] 287 ]
288 } 288 }
289 289
290 rtc_source_set("g722_c") { 290 rtc_source_set("g722_c") {
291 visibility = [ ":*" ] # Only targets in this file can depend on this. 291 visibility = [ ":*" ] # Only targets in this file can depend on this.
292 sources = [ 292 sources = [
293 "codecs/g722/g722_decode.c", 293 "codecs/g722/g722_decode.c",
(...skipping 22 matching lines...) Expand all
316 "codecs/ilbc/audio_encoder_ilbc.h", 316 "codecs/ilbc/audio_encoder_ilbc.h",
317 ] 317 ]
318 318
319 public_configs = [ ":ilbc_config" ] 319 public_configs = [ ":ilbc_config" ]
320 320
321 deps = [ 321 deps = [
322 ":legacy_encoded_audio_frame", 322 ":legacy_encoded_audio_frame",
323 "../..:webrtc_common", 323 "../..:webrtc_common",
324 "../../api/audio_codecs:audio_codecs_api", 324 "../../api/audio_codecs:audio_codecs_api",
325 "../../api/audio_codecs/ilbc:audio_encoder_ilbc_config", 325 "../../api/audio_codecs/ilbc:audio_encoder_ilbc_config",
326 "../../base:rtc_base_approved",
327 "../../common_audio", 326 "../../common_audio",
327 "../../rtc_base:rtc_base_approved",
328 ] 328 ]
329 public_deps = [ 329 public_deps = [
330 ":ilbc_c", 330 ":ilbc_c",
331 ] 331 ]
332 } 332 }
333 333
334 rtc_source_set("ilbc_c") { 334 rtc_source_set("ilbc_c") {
335 visibility = [ ":*" ] # Only targets in this file can depend on this. 335 visibility = [ ":*" ] # Only targets in this file can depend on this.
336 sources = [ 336 sources = [
337 "codecs/ilbc/abs_quant.c", 337 "codecs/ilbc/abs_quant.c",
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 "codecs/ilbc/window32_w32.h", 473 "codecs/ilbc/window32_w32.h",
474 "codecs/ilbc/xcorr_coef.c", 474 "codecs/ilbc/xcorr_coef.c",
475 "codecs/ilbc/xcorr_coef.h", 475 "codecs/ilbc/xcorr_coef.h",
476 ] 476 ]
477 477
478 public_configs = [ ":ilbc_config" ] 478 public_configs = [ ":ilbc_config" ]
479 479
480 deps = [ 480 deps = [
481 "../..:webrtc_common", 481 "../..:webrtc_common",
482 "../../api/audio_codecs:audio_codecs_api", 482 "../../api/audio_codecs:audio_codecs_api",
483 "../../base:rtc_base_approved",
484 "../../common_audio", 483 "../../common_audio",
484 "../../rtc_base:rtc_base_approved",
485 ] 485 ]
486 } 486 }
487 487
488 rtc_static_library("isac_common") { 488 rtc_static_library("isac_common") {
489 sources = [ 489 sources = [
490 "codecs/isac/audio_encoder_isac_t.h", 490 "codecs/isac/audio_encoder_isac_t.h",
491 "codecs/isac/audio_encoder_isac_t_impl.h", 491 "codecs/isac/audio_encoder_isac_t_impl.h",
492 "codecs/isac/locked_bandwidth_info.cc", 492 "codecs/isac/locked_bandwidth_info.cc",
493 "codecs/isac/locked_bandwidth_info.h", 493 "codecs/isac/locked_bandwidth_info.h",
494 ] 494 ]
495 deps = [ 495 deps = [
496 "../..:webrtc_common", 496 "../..:webrtc_common",
497 "../../api/audio_codecs:audio_codecs_api", 497 "../../api/audio_codecs:audio_codecs_api",
498 "../../base:rtc_base_approved", 498 "../../rtc_base:rtc_base_approved",
499 ] 499 ]
500 } 500 }
501 501
502 config("isac_config") { 502 config("isac_config") {
503 include_dirs = [ 503 include_dirs = [
504 "../../..", 504 "../../..",
505 "codecs/isac/main/include", 505 "codecs/isac/main/include",
506 ] 506 ]
507 } 507 }
508 508
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 580
581 if (is_linux) { 581 if (is_linux) {
582 libs = [ "m" ] 582 libs = [ "m" ]
583 } 583 }
584 584
585 public_configs = [ ":isac_config" ] 585 public_configs = [ ":isac_config" ]
586 586
587 deps = [ 587 deps = [
588 ":isac_common", 588 ":isac_common",
589 "../..:webrtc_common", 589 "../..:webrtc_common",
590 "../../base:compile_assert_c",
591 "../../base:rtc_base_approved",
592 "../../common_audio", 590 "../../common_audio",
591 "../../rtc_base:compile_assert_c",
592 "../../rtc_base:rtc_base_approved",
593 ] 593 ]
594 } 594 }
595 595
596 config("isac_fix_config") { 596 config("isac_fix_config") {
597 include_dirs = [ 597 include_dirs = [
598 "../../..", 598 "../../..",
599 "codecs/isac/fix/include", 599 "codecs/isac/fix/include",
600 ] 600 ]
601 } 601 }
602 602
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 "codecs/isac/fix/source/transform.c", 690 "codecs/isac/fix/source/transform.c",
691 "codecs/isac/fix/source/transform_tables.c", 691 "codecs/isac/fix/source/transform_tables.c",
692 ] 692 ]
693 693
694 public_configs = [ ":isac_fix_config" ] 694 public_configs = [ ":isac_fix_config" ]
695 695
696 deps = [ 696 deps = [
697 ":isac_common", 697 ":isac_common",
698 "../..:webrtc_common", 698 "../..:webrtc_common",
699 "../../api/audio_codecs:audio_codecs_api", 699 "../../api/audio_codecs:audio_codecs_api",
700 "../../base:compile_assert_c",
701 "../../base:rtc_base_approved",
702 "../../common_audio", 700 "../../common_audio",
701 "../../rtc_base:compile_assert_c",
702 "../../rtc_base:rtc_base_approved",
703 "../../system_wrappers", 703 "../../system_wrappers",
704 ] 704 ]
705 705
706 public_deps = [ 706 public_deps = [
707 ":isac_fix_common", 707 ":isac_fix_common",
708 ] 708 ]
709 709
710 if (rtc_build_with_neon) { 710 if (rtc_build_with_neon) {
711 deps += [ ":isac_neon" ] 711 deps += [ ":isac_neon" ]
712 } 712 }
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 # TODO(fdegans): Enable this. See crbug.com/408997. 766 # TODO(fdegans): Enable this. See crbug.com/408997.
767 if (rtc_use_lto) { 767 if (rtc_use_lto) {
768 cflags -= [ 768 cflags -= [
769 "-flto", 769 "-flto",
770 "-ffat-lto-objects", 770 "-ffat-lto-objects",
771 ] 771 ]
772 } 772 }
773 773
774 deps = [ 774 deps = [
775 ":isac_fix_common", 775 ":isac_fix_common",
776 "../../base:rtc_base_approved",
777 "../../common_audio", 776 "../../common_audio",
777 "../../rtc_base:rtc_base_approved",
778 ] 778 ]
779 } 779 }
780 } 780 }
781 781
782 config("pcm16b_config") { 782 config("pcm16b_config") {
783 include_dirs = [ 783 include_dirs = [
784 "../../..", 784 "../../..",
785 "codecs/pcm16b/include", 785 "codecs/pcm16b/include",
786 ] 786 ]
787 } 787 }
788 788
789 rtc_static_library("pcm16b") { 789 rtc_static_library("pcm16b") {
790 sources = [ 790 sources = [
791 "codecs/pcm16b/audio_decoder_pcm16b.cc", 791 "codecs/pcm16b/audio_decoder_pcm16b.cc",
792 "codecs/pcm16b/audio_decoder_pcm16b.h", 792 "codecs/pcm16b/audio_decoder_pcm16b.h",
793 "codecs/pcm16b/audio_encoder_pcm16b.cc", 793 "codecs/pcm16b/audio_encoder_pcm16b.cc",
794 "codecs/pcm16b/audio_encoder_pcm16b.h", 794 "codecs/pcm16b/audio_encoder_pcm16b.h",
795 ] 795 ]
796 796
797 deps = [ 797 deps = [
798 ":g711", 798 ":g711",
799 ":legacy_encoded_audio_frame", 799 ":legacy_encoded_audio_frame",
800 "../..:webrtc_common", 800 "../..:webrtc_common",
801 "../../api/audio_codecs:audio_codecs_api", 801 "../../api/audio_codecs:audio_codecs_api",
802 "../../base:rtc_base_approved", 802 "../../rtc_base:rtc_base_approved",
803 ] 803 ]
804 public_deps = [ 804 public_deps = [
805 ":pcm16b_c", 805 ":pcm16b_c",
806 ] 806 ]
807 public_configs = [ ":pcm16b_config" ] 807 public_configs = [ ":pcm16b_config" ]
808 } 808 }
809 809
810 rtc_source_set("pcm16b_c") { 810 rtc_source_set("pcm16b_c") {
811 visibility = [ ":*" ] # Only targets in this file can depend on this. 811 visibility = [ ":*" ] # Only targets in this file can depend on this.
812 sources = [ 812 sources = [
(...skipping 17 matching lines...) Expand all
830 "codecs/opus/audio_decoder_opus.h", 830 "codecs/opus/audio_decoder_opus.h",
831 "codecs/opus/audio_encoder_opus.cc", 831 "codecs/opus/audio_encoder_opus.cc",
832 "codecs/opus/audio_encoder_opus.h", 832 "codecs/opus/audio_encoder_opus.h",
833 ] 833 ]
834 834
835 deps = [ 835 deps = [
836 ":audio_network_adaptor", 836 ":audio_network_adaptor",
837 "../..:webrtc_common", 837 "../..:webrtc_common",
838 "../../api/audio_codecs:audio_codecs_api", 838 "../../api/audio_codecs:audio_codecs_api",
839 "../../api/audio_codecs/opus:audio_encoder_opus_config", 839 "../../api/audio_codecs/opus:audio_encoder_opus_config",
840 "../../base:protobuf_utils",
841 "../../base:rtc_base_approved",
842 "../../base:rtc_numerics",
843 "../../common_audio", 840 "../../common_audio",
841 "../../rtc_base:protobuf_utils",
842 "../../rtc_base:rtc_base_approved",
843 "../../rtc_base:rtc_numerics",
844 "../../system_wrappers", 844 "../../system_wrappers",
845 ] 845 ]
846 public_deps = [ 846 public_deps = [
847 ":webrtc_opus_c", 847 ":webrtc_opus_c",
848 ] 848 ]
849 849
850 defines = audio_codec_defines 850 defines = audio_codec_defines
851 851
852 if (rtc_build_opus) { 852 if (rtc_build_opus) {
853 public_deps += [ rtc_opus_dir ] 853 public_deps += [ rtc_opus_dir ]
(...skipping 15 matching lines...) Expand all
869 if (rtc_build_opus) { 869 if (rtc_build_opus) {
870 public_deps = [ 870 public_deps = [
871 rtc_opus_dir, 871 rtc_opus_dir,
872 ] 872 ]
873 } else if (build_with_mozilla) { 873 } else if (build_with_mozilla) {
874 include_dirs = [ getenv("DIST") + "/include/opus" ] 874 include_dirs = [ getenv("DIST") + "/include/opus" ]
875 } 875 }
876 876
877 deps = [ 877 deps = [
878 "../..:webrtc_common", 878 "../..:webrtc_common",
879 "../../base:rtc_base_approved", 879 "../../rtc_base:rtc_base_approved",
880 ] 880 ]
881 } 881 }
882 882
883 if (rtc_enable_protobuf) { 883 if (rtc_enable_protobuf) {
884 proto_library("ana_debug_dump_proto") { 884 proto_library("ana_debug_dump_proto") {
885 sources = [ 885 sources = [
886 "audio_network_adaptor/debug_dump.proto", 886 "audio_network_adaptor/debug_dump.proto",
887 ] 887 ]
888 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor" 888 proto_out_dir = "webrtc/modules/audio_coding/audio_network_adaptor"
889 } 889 }
(...skipping 29 matching lines...) Expand all
919 "audio_network_adaptor/fec_controller_rplr_based.cc", 919 "audio_network_adaptor/fec_controller_rplr_based.cc",
920 "audio_network_adaptor/fec_controller_rplr_based.h", 920 "audio_network_adaptor/fec_controller_rplr_based.h",
921 "audio_network_adaptor/frame_length_controller.cc", 921 "audio_network_adaptor/frame_length_controller.cc",
922 "audio_network_adaptor/frame_length_controller.h", 922 "audio_network_adaptor/frame_length_controller.h",
923 "audio_network_adaptor/include/audio_network_adaptor.h", 923 "audio_network_adaptor/include/audio_network_adaptor.h",
924 "audio_network_adaptor/util/threshold_curve.h", 924 "audio_network_adaptor/util/threshold_curve.h",
925 ] 925 ]
926 926
927 deps = [ 927 deps = [
928 "../..:webrtc_common", 928 "../..:webrtc_common",
929 "../../base:protobuf_utils",
930 "../../base:rtc_base_approved",
931 "../../common_audio", 929 "../../common_audio",
932 "../../logging:rtc_event_log_api", 930 "../../logging:rtc_event_log_api",
931 "../../rtc_base:protobuf_utils",
932 "../../rtc_base:rtc_base_approved",
933 "../../system_wrappers", 933 "../../system_wrappers",
934 ] 934 ]
935 935
936 if (rtc_enable_protobuf) { 936 if (rtc_enable_protobuf) {
937 deps += [ 937 deps += [
938 ":ana_config_proto", 938 ":ana_config_proto",
939 ":ana_debug_dump_proto", 939 ":ana_debug_dump_proto",
940 ] 940 ]
941 } 941 }
942 942
943 if (!build_with_chromium && is_clang) { 943 if (!build_with_chromium && is_clang) {
944 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 944 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
945 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 945 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
946 } 946 }
947 } 947 }
948 948
949 rtc_source_set("neteq_decoder_enum") { 949 rtc_source_set("neteq_decoder_enum") {
950 sources = [ 950 sources = [
951 "neteq/neteq_decoder_enum.cc", 951 "neteq/neteq_decoder_enum.cc",
952 "neteq/neteq_decoder_enum.h", 952 "neteq/neteq_decoder_enum.h",
953 ] 953 ]
954 deps = [ 954 deps = [
955 "../../api/audio_codecs:audio_codecs_api", 955 "../../api/audio_codecs:audio_codecs_api",
956 "../../base:rtc_base_approved", 956 "../../rtc_base:rtc_base_approved",
957 ] 957 ]
958 } 958 }
959 959
960 rtc_static_library("neteq") { 960 rtc_static_library("neteq") {
961 sources = [ 961 sources = [
962 "neteq/accelerate.cc", 962 "neteq/accelerate.cc",
963 "neteq/accelerate.h", 963 "neteq/accelerate.h",
964 "neteq/audio_decoder_impl.cc", 964 "neteq/audio_decoder_impl.cc",
965 "neteq/audio_decoder_impl.h", 965 "neteq/audio_decoder_impl.h",
966 "neteq/audio_multi_vector.cc", 966 "neteq/audio_multi_vector.cc",
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
1035 deps = [ 1035 deps = [
1036 ":audio_coding_module_typedefs", 1036 ":audio_coding_module_typedefs",
1037 ":cng", 1037 ":cng",
1038 ":g711", 1038 ":g711",
1039 ":isac_fix", 1039 ":isac_fix",
1040 ":neteq_decoder_enum", 1040 ":neteq_decoder_enum",
1041 ":pcm16b", 1041 ":pcm16b",
1042 "..:module_api", 1042 "..:module_api",
1043 "../..:webrtc_common", 1043 "../..:webrtc_common",
1044 "../../api/audio_codecs:audio_codecs_api", 1044 "../../api/audio_codecs:audio_codecs_api",
1045 "../../base:gtest_prod",
1046 "../../base:rtc_base_approved",
1047 "../../common_audio", 1045 "../../common_audio",
1046 "../../rtc_base:gtest_prod",
1047 "../../rtc_base:rtc_base_approved",
1048 "../../system_wrappers", 1048 "../../system_wrappers",
1049 ] 1049 ]
1050 1050
1051 defines = [] 1051 defines = []
1052 1052
1053 if (rtc_include_ilbc) { 1053 if (rtc_include_ilbc) {
1054 defines += [ "WEBRTC_CODEC_ILBC" ] 1054 defines += [ "WEBRTC_CODEC_ILBC" ]
1055 deps += [ ":ilbc" ] 1055 deps += [ ":ilbc" ]
1056 } 1056 }
1057 if (rtc_include_opus) { 1057 if (rtc_include_opus) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
1095 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1095 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1096 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1096 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1097 } 1097 }
1098 1098
1099 deps = [ 1099 deps = [
1100 ":neteq", 1100 ":neteq",
1101 "..:module_api", 1101 "..:module_api",
1102 "../..:webrtc_common", 1102 "../..:webrtc_common",
1103 "../../api/audio_codecs:audio_codecs_api", 1103 "../../api/audio_codecs:audio_codecs_api",
1104 "../../api/audio_codecs:builtin_audio_decoder_factory", 1104 "../../api/audio_codecs:builtin_audio_decoder_factory",
1105 "../../base:rtc_base_approved", 1105 "../../rtc_base:rtc_base_approved",
1106 "../rtp_rtcp", 1106 "../rtp_rtcp",
1107 ] 1107 ]
1108 } 1108 }
1109 1109
1110 rtc_source_set("neteq_test_tools") { 1110 rtc_source_set("neteq_test_tools") {
1111 testonly = true 1111 testonly = true
1112 sources = [ 1112 sources = [
1113 "neteq/tools/audio_checksum.h", 1113 "neteq/tools/audio_checksum.h",
1114 "neteq/tools/audio_loop.cc", 1114 "neteq/tools/audio_loop.cc",
1115 "neteq/tools/audio_loop.h", 1115 "neteq/tools/audio_loop.h",
(...skipping 11 matching lines...) Expand all
1127 1127
1128 if (!build_with_chromium && is_clang) { 1128 if (!build_with_chromium && is_clang) {
1129 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1129 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1130 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1130 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1131 } 1131 }
1132 1132
1133 deps = [ 1133 deps = [
1134 ":pcm16b", 1134 ":pcm16b",
1135 "..:module_api", 1135 "..:module_api",
1136 "../..:webrtc_common", 1136 "../..:webrtc_common",
1137 "../../base:rtc_base_approved",
1138 "../../base:rtc_base_tests_utils",
1139 "../../common_audio", 1137 "../../common_audio",
1138 "../../rtc_base:rtc_base_approved",
1139 "../../rtc_base:rtc_base_tests_utils",
1140 "../../test:rtp_test_utils", 1140 "../../test:rtp_test_utils",
1141 "../rtp_rtcp", 1141 "../rtp_rtcp",
1142 ] 1142 ]
1143 1143
1144 public_deps = [ 1144 public_deps = [
1145 ":neteq_tools", 1145 ":neteq_tools",
1146 ":neteq_tools_minimal", 1146 ":neteq_tools_minimal",
1147 ] 1147 ]
1148 1148
1149 if (rtc_enable_protobuf) { 1149 if (rtc_enable_protobuf) {
(...skipping 26 matching lines...) Expand all
1176 public_configs = [ ":neteq_tools_config" ] 1176 public_configs = [ ":neteq_tools_config" ]
1177 1177
1178 if (!build_with_chromium && is_clang) { 1178 if (!build_with_chromium && is_clang) {
1179 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1179 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1180 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1180 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1181 } 1181 }
1182 1182
1183 deps = [ 1183 deps = [
1184 "../..:webrtc_common", 1184 "../..:webrtc_common",
1185 "../../api/audio_codecs:audio_codecs_api", 1185 "../../api/audio_codecs:audio_codecs_api",
1186 "../../base:rtc_base_approved",
1187 "../../common_audio", 1186 "../../common_audio",
1187 "../../rtc_base:rtc_base_approved",
1188 "../rtp_rtcp", 1188 "../rtp_rtcp",
1189 ] 1189 ]
1190 1190
1191 public_deps = [ 1191 public_deps = [
1192 ":neteq_tools_minimal", 1192 ":neteq_tools_minimal",
1193 ] 1193 ]
1194 } 1194 }
1195 1195
1196 if (rtc_enable_protobuf) { 1196 if (rtc_enable_protobuf) {
1197 rtc_static_library("rtc_event_log_source") { 1197 rtc_static_library("rtc_event_log_source") {
1198 testonly = true 1198 testonly = true
1199 1199
1200 # TODO(kjellander): Remove (bugs.webrtc.org/6828) 1200 # TODO(kjellander): Remove (bugs.webrtc.org/6828)
1201 # Needs call.h to be moved to webrtc/api first. 1201 # Needs call.h to be moved to webrtc/api first.
1202 check_includes = false 1202 check_includes = false
1203 1203
1204 sources = [ 1204 sources = [
1205 "neteq/tools/rtc_event_log_source.cc", 1205 "neteq/tools/rtc_event_log_source.cc",
1206 "neteq/tools/rtc_event_log_source.h", 1206 "neteq/tools/rtc_event_log_source.h",
1207 ] 1207 ]
1208 1208
1209 if (!build_with_chromium && is_clang) { 1209 if (!build_with_chromium && is_clang) {
1210 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1210 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1211 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1211 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1212 } 1212 }
1213 1213
1214 deps = [ 1214 deps = [
1215 "../../base:rtc_base_approved",
1216 "../../logging:rtc_event_log_parser", 1215 "../../logging:rtc_event_log_parser",
1216 "../../rtc_base:rtc_base_approved",
1217 ] 1217 ]
1218 public_deps = [ 1218 public_deps = [
1219 "../../logging:rtc_event_log_proto", 1219 "../../logging:rtc_event_log_proto",
1220 ] 1220 ]
1221 } 1221 }
1222 } 1222 }
1223 1223
1224 if (rtc_include_tests) { 1224 if (rtc_include_tests) {
1225 group("audio_coding_tests") { 1225 group("audio_coding_tests") {
1226 testonly = true 1226 testonly = true
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
1300 "test/utility.h", 1300 "test/utility.h",
1301 ] 1301 ]
1302 deps = [ 1302 deps = [
1303 ":audio_coding", 1303 ":audio_coding",
1304 ":audio_coding_module_typedefs", 1304 ":audio_coding_module_typedefs",
1305 ":audio_format_conversion", 1305 ":audio_format_conversion",
1306 ":pcm16b_c", 1306 ":pcm16b_c",
1307 "..:module_api", 1307 "..:module_api",
1308 "../..:webrtc_common", 1308 "../..:webrtc_common",
1309 "../../api/audio_codecs:builtin_audio_decoder_factory", 1309 "../../api/audio_codecs:builtin_audio_decoder_factory",
1310 "../../base:rtc_base_approved", 1310 "../../rtc_base:rtc_base_approved",
1311 "../../system_wrappers:system_wrappers", 1311 "../../system_wrappers:system_wrappers",
1312 "../../test:test_support", 1312 "../../test:test_support",
1313 ] 1313 ]
1314 defines = audio_coding_defines 1314 defines = audio_coding_defines
1315 if (is_win) { 1315 if (is_win) {
1316 cflags = [ 1316 cflags = [
1317 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. 1317 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
1318 "/wd4373", # virtual function override. 1318 "/wd4373", # virtual function override.
1319 ] 1319 ]
1320 } 1320 }
(...skipping 14 matching lines...) Expand all
1335 } 1335 }
1336 sources = [ 1336 sources = [
1337 "codecs/opus/opus_complexity_unittest.cc", 1337 "codecs/opus/opus_complexity_unittest.cc",
1338 "neteq/test/neteq_performance_unittest.cc", 1338 "neteq/test/neteq_performance_unittest.cc",
1339 ] 1339 ]
1340 deps = [ 1340 deps = [
1341 ":neteq_test_support", 1341 ":neteq_test_support",
1342 ":neteq_test_tools", 1342 ":neteq_test_tools",
1343 ":webrtc_opus", 1343 ":webrtc_opus",
1344 "../..:webrtc_common", 1344 "../..:webrtc_common",
1345 "../../base:protobuf_utils", 1345 "../../rtc_base:protobuf_utils",
1346 "../../base:rtc_base_approved", 1346 "../../rtc_base:rtc_base_approved",
1347 "../../system_wrappers:system_wrappers", 1347 "../../system_wrappers:system_wrappers",
1348 "../../test:test_support", 1348 "../../test:test_support",
1349 ] 1349 ]
1350 1350
1351 if (!build_with_chromium && is_clang) { 1351 if (!build_with_chromium && is_clang) {
1352 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1352 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1353 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1353 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1354 } 1354 }
1355 } 1355 }
1356 1356
1357 rtc_source_set("acm_receive_test") { 1357 rtc_source_set("acm_receive_test") {
1358 testonly = true 1358 testonly = true
1359 sources = [ 1359 sources = [
1360 "acm2/acm_receive_test.cc", 1360 "acm2/acm_receive_test.cc",
1361 "acm2/acm_receive_test.h", 1361 "acm2/acm_receive_test.h",
1362 ] 1362 ]
1363 1363
1364 defines = audio_coding_defines 1364 defines = audio_coding_defines
1365 1365
1366 deps = audio_coding_deps + [ 1366 deps = audio_coding_deps + [
1367 ":audio_coding", 1367 ":audio_coding",
1368 ":audio_format_conversion", 1368 ":audio_format_conversion",
1369 "../../api/audio_codecs:audio_codecs_api", 1369 "../../api/audio_codecs:audio_codecs_api",
1370 "../../api/audio_codecs:builtin_audio_decoder_factory", 1370 "../../api/audio_codecs:builtin_audio_decoder_factory",
1371 ":neteq_tools", 1371 ":neteq_tools",
1372 "../../base:rtc_base_approved", 1372 "../../rtc_base:rtc_base_approved",
1373 "../../test:test_support", 1373 "../../test:test_support",
1374 "//testing/gtest", 1374 "//testing/gtest",
1375 ] 1375 ]
1376 } 1376 }
1377 1377
1378 rtc_source_set("acm_send_test") { 1378 rtc_source_set("acm_send_test") {
1379 testonly = true 1379 testonly = true
1380 sources = [ 1380 sources = [
1381 "acm2/acm_send_test.cc", 1381 "acm2/acm_send_test.cc",
1382 "acm2/acm_send_test.h", 1382 "acm2/acm_send_test.h",
1383 ] 1383 ]
1384 1384
1385 defines = audio_coding_defines 1385 defines = audio_coding_defines
1386 1386
1387 deps = audio_coding_deps + [ 1387 deps = audio_coding_deps + [
1388 ":audio_coding", 1388 ":audio_coding",
1389 ":neteq_tools", 1389 ":neteq_tools",
1390 "../../api/audio_codecs:audio_codecs_api", 1390 "../../api/audio_codecs:audio_codecs_api",
1391 "../../base:rtc_base_approved", 1391 "../../rtc_base:rtc_base_approved",
1392 "../../test:test_support", 1392 "../../test:test_support",
1393 "//testing/gtest", 1393 "//testing/gtest",
1394 ] 1394 ]
1395 } 1395 }
1396 1396
1397 rtc_executable("delay_test") { 1397 rtc_executable("delay_test") {
1398 testonly = true 1398 testonly = true
1399 sources = [ 1399 sources = [
1400 "test/Channel.cc", 1400 "test/Channel.cc",
1401 "test/Channel.h", 1401 "test/Channel.h",
1402 "test/PCMFile.cc", 1402 "test/PCMFile.cc",
1403 "test/PCMFile.h", 1403 "test/PCMFile.h",
1404 "test/delay_test.cc", 1404 "test/delay_test.cc",
1405 "test/utility.cc", 1405 "test/utility.cc",
1406 "test/utility.h", 1406 "test/utility.h",
1407 ] 1407 ]
1408 1408
1409 deps = [ 1409 deps = [
1410 ":audio_coding", 1410 ":audio_coding",
1411 ":audio_coding_module_typedefs", 1411 ":audio_coding_module_typedefs",
1412 ":audio_format_conversion", 1412 ":audio_format_conversion",
1413 "..:module_api", 1413 "..:module_api",
1414 "../../:webrtc_common", 1414 "../../:webrtc_common",
1415 "../../base:rtc_base_approved", 1415 "../../rtc_base:rtc_base_approved",
1416 "../../system_wrappers", 1416 "../../system_wrappers",
1417 "../../system_wrappers:system_wrappers_default", 1417 "../../system_wrappers:system_wrappers_default",
1418 "../../test:test_support", 1418 "../../test:test_support",
1419 "../rtp_rtcp", 1419 "../rtp_rtcp",
1420 "//testing/gtest", 1420 "//testing/gtest",
1421 "//third_party/gflags:gflags", 1421 "//third_party/gflags:gflags",
1422 ] 1422 ]
1423 } # delay_test 1423 } # delay_test
1424 1424
1425 rtc_executable("insert_packet_with_timing") { 1425 rtc_executable("insert_packet_with_timing") {
1426 testonly = true 1426 testonly = true
1427 sources = [ 1427 sources = [
1428 "test/Channel.cc", 1428 "test/Channel.cc",
1429 "test/Channel.h", 1429 "test/Channel.h",
1430 "test/PCMFile.cc", 1430 "test/PCMFile.cc",
1431 "test/PCMFile.h", 1431 "test/PCMFile.h",
1432 "test/insert_packet_with_timing.cc", 1432 "test/insert_packet_with_timing.cc",
1433 ] 1433 ]
1434 1434
1435 if (!build_with_chromium && is_clang) { 1435 if (!build_with_chromium && is_clang) {
1436 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1436 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1437 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1437 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1438 } 1438 }
1439 1439
1440 deps = [ 1440 deps = [
1441 ":audio_coding", 1441 ":audio_coding",
1442 ":audio_format_conversion", 1442 ":audio_format_conversion",
1443 "..:module_api", 1443 "..:module_api",
1444 "../../:webrtc_common", 1444 "../../:webrtc_common",
1445 "../../base:rtc_base_approved", 1445 "../../rtc_base:rtc_base_approved",
1446 "../../system_wrappers", 1446 "../../system_wrappers",
1447 "../../system_wrappers:system_wrappers_default", 1447 "../../system_wrappers:system_wrappers_default",
1448 "../../test:test_support", 1448 "../../test:test_support",
1449 "../rtp_rtcp", 1449 "../rtp_rtcp",
1450 "//testing/gtest", 1450 "//testing/gtest",
1451 "//third_party/gflags:gflags", 1451 "//third_party/gflags:gflags",
1452 ] 1452 ]
1453 } # insert_packet_with_timing 1453 } # insert_packet_with_timing
1454 1454
1455 audio_decoder_unittests_resources = 1455 audio_decoder_unittests_resources =
(...skipping 26 matching lines...) Expand all
1482 1482
1483 deps += audio_coding_deps 1483 deps += audio_coding_deps
1484 deps += [ 1484 deps += [
1485 ":ilbc", 1485 ":ilbc",
1486 ":isac", 1486 ":isac",
1487 ":isac_fix", 1487 ":isac_fix",
1488 ":neteq", 1488 ":neteq",
1489 ":neteq_tools", 1489 ":neteq_tools",
1490 "../../api/audio_codecs:audio_codecs_api", 1490 "../../api/audio_codecs:audio_codecs_api",
1491 "../../api/audio_codecs/opus:audio_encoder_opus", 1491 "../../api/audio_codecs/opus:audio_encoder_opus",
1492 "../../base:protobuf_utils",
1493 "../../common_audio", 1492 "../../common_audio",
1493 "../../rtc_base:protobuf_utils",
1494 "../../test:test_main", 1494 "../../test:test_main",
1495 "//testing/gtest", 1495 "//testing/gtest",
1496 ] 1496 ]
1497 1497
1498 data = audio_decoder_unittests_resources 1498 data = audio_decoder_unittests_resources
1499 1499
1500 if (is_android) { 1500 if (is_android) {
1501 deps += [ "//testing/android/native_test:native_test_native_code" ] 1501 deps += [ "//testing/android/native_test:native_test_native_code" ]
1502 shard_timeout = 900 1502 shard_timeout = 900
1503 } 1503 }
(...skipping 29 matching lines...) Expand all
1533 cflags = [ 1533 cflags = [
1534 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. 1534 # TODO(kjellander): bugs.webrtc.org/261: Fix this warning.
1535 "/wd4373", # virtual function override. 1535 "/wd4373", # virtual function override.
1536 ] 1536 ]
1537 } 1537 }
1538 1538
1539 deps += [ 1539 deps += [
1540 ":neteq", 1540 ":neteq",
1541 ":neteq_test_tools", 1541 ":neteq_test_tools",
1542 "../..:webrtc_common", 1542 "../..:webrtc_common",
1543 "../../base:rtc_base_approved", 1543 "../../rtc_base:rtc_base_approved",
1544 "../../system_wrappers:system_wrappers_default", 1544 "../../system_wrappers:system_wrappers_default",
1545 "../../test:test_support", 1545 "../../test:test_support",
1546 "//third_party/gflags", 1546 "//third_party/gflags",
1547 ] 1547 ]
1548 } 1548 }
1549 } 1549 }
1550 1550
1551 rtc_test("audio_codec_speed_tests") { 1551 rtc_test("audio_codec_speed_tests") {
1552 testonly = true 1552 testonly = true
1553 defines = [] 1553 defines = []
(...skipping 12 matching lines...) Expand all
1566 1566
1567 if (is_android) { 1567 if (is_android) {
1568 deps += [ "//testing/android/native_test:native_test_native_code" ] 1568 deps += [ "//testing/android/native_test:native_test_native_code" ]
1569 shard_timeout = 900 1569 shard_timeout = 900
1570 } 1570 }
1571 1571
1572 deps += [ 1572 deps += [
1573 ":isac_fix", 1573 ":isac_fix",
1574 ":webrtc_opus", 1574 ":webrtc_opus",
1575 "../..:webrtc_common", 1575 "../..:webrtc_common",
1576 "../../base:rtc_base_approved", 1576 "../../rtc_base:rtc_base_approved",
1577 "../../system_wrappers:system_wrappers_default", 1577 "../../system_wrappers:system_wrappers_default",
1578 "../../test:test_main", 1578 "../../test:test_main",
1579 "../audio_processing", 1579 "../audio_processing",
1580 "//testing/gtest", 1580 "//testing/gtest",
1581 ] 1581 ]
1582 } 1582 }
1583 1583
1584 rtc_source_set("neteq_test_support") { 1584 rtc_source_set("neteq_test_support") {
1585 testonly = true 1585 testonly = true
1586 sources = [ 1586 sources = [
1587 "neteq/tools/neteq_external_decoder_test.cc", 1587 "neteq/tools/neteq_external_decoder_test.cc",
1588 "neteq/tools/neteq_external_decoder_test.h", 1588 "neteq/tools/neteq_external_decoder_test.h",
1589 "neteq/tools/neteq_performance_test.cc", 1589 "neteq/tools/neteq_performance_test.cc",
1590 "neteq/tools/neteq_performance_test.h", 1590 "neteq/tools/neteq_performance_test.h",
1591 ] 1591 ]
1592 1592
1593 if (!build_with_chromium && is_clang) { 1593 if (!build_with_chromium && is_clang) {
1594 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1594 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1595 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1595 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1596 } 1596 }
1597 1597
1598 deps = [ 1598 deps = [
1599 ":neteq", 1599 ":neteq",
1600 ":neteq_test_tools", 1600 ":neteq_test_tools",
1601 ":pcm16b", 1601 ":pcm16b",
1602 "..:module_api", 1602 "..:module_api",
1603 "../..:webrtc_common", 1603 "../..:webrtc_common",
1604 "../../api/audio_codecs:audio_codecs_api", 1604 "../../api/audio_codecs:audio_codecs_api",
1605 "../../api/audio_codecs:builtin_audio_decoder_factory", 1605 "../../api/audio_codecs:builtin_audio_decoder_factory",
1606 "../../base:rtc_base_approved", 1606 "../../rtc_base:rtc_base_approved",
1607 "../../system_wrappers", 1607 "../../system_wrappers",
1608 "../../test:test_support", 1608 "../../test:test_support",
1609 "//testing/gtest", 1609 "//testing/gtest",
1610 ] 1610 ]
1611 } 1611 }
1612 1612
1613 rtc_source_set("neteq_quality_test_support") { 1613 rtc_source_set("neteq_quality_test_support") {
1614 testonly = true 1614 testonly = true
1615 sources = [ 1615 sources = [
1616 "neteq/tools/neteq_quality_test.cc", 1616 "neteq/tools/neteq_quality_test.cc",
1617 "neteq/tools/neteq_quality_test.h", 1617 "neteq/tools/neteq_quality_test.h",
1618 ] 1618 ]
1619 1619
1620 if (!build_with_chromium && is_clang) { 1620 if (!build_with_chromium && is_clang) {
1621 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 1621 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
1622 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1622 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1623 } 1623 }
1624 1624
1625 deps = [ 1625 deps = [
1626 ":neteq", 1626 ":neteq",
1627 ":neteq_test_tools", 1627 ":neteq_test_tools",
1628 "..:module_api", 1628 "..:module_api",
1629 "../..:webrtc_common", 1629 "../..:webrtc_common",
1630 "../../api/audio_codecs:builtin_audio_decoder_factory", 1630 "../../api/audio_codecs:builtin_audio_decoder_factory",
1631 "../../base:rtc_base_approved", 1631 "../../rtc_base:rtc_base_approved",
1632 "../../test:test_support", 1632 "../../test:test_support",
1633 "//testing/gtest", 1633 "//testing/gtest",
1634 "//third_party/gflags", 1634 "//third_party/gflags",
1635 ] 1635 ]
1636 } 1636 }
1637 1637
1638 rtc_source_set("neteq_test_tools_deprecated") { 1638 rtc_source_set("neteq_test_tools_deprecated") {
1639 testonly = true 1639 testonly = true
1640 sources = [ 1640 sources = [
1641 "neteq/test/NETEQTEST_DummyRTPpacket.cc", 1641 "neteq/test/NETEQTEST_DummyRTPpacket.cc",
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
1698 ":cng", 1698 ":cng",
1699 ":g711", 1699 ":g711",
1700 ":g722", 1700 ":g722",
1701 ":ilbc", 1701 ":ilbc",
1702 ":isac", 1702 ":isac",
1703 ":neteq", 1703 ":neteq",
1704 ":neteq_test_tools_deprecated", 1704 ":neteq_test_tools_deprecated",
1705 ":pcm16b", 1705 ":pcm16b",
1706 ":webrtc_opus", 1706 ":webrtc_opus",
1707 "../..:webrtc_common", 1707 "../..:webrtc_common",
1708 "../../base:rtc_base_approved",
1709 "../../common_audio", 1708 "../../common_audio",
1709 "../../rtc_base:rtc_base_approved",
1710 ] 1710 ]
1711 1711
1712 configs += [ ":RTPencode_config" ] 1712 configs += [ ":RTPencode_config" ]
1713 1713
1714 sources = [ 1714 sources = [
1715 "neteq/test/PayloadTypes.h", 1715 "neteq/test/PayloadTypes.h",
1716 "neteq/test/RTPencode.cc", 1716 "neteq/test/RTPencode.cc",
1717 ] 1717 ]
1718 1718
1719 include_dirs = [ 1719 include_dirs = [
(...skipping 22 matching lines...) Expand all
1742 } 1742 }
1743 1743
1744 rtc_executable("rtpcat") { 1744 rtc_executable("rtpcat") {
1745 testonly = true 1745 testonly = true
1746 1746
1747 sources = [ 1747 sources = [
1748 "neteq/tools/rtpcat.cc", 1748 "neteq/tools/rtpcat.cc",
1749 ] 1749 ]
1750 1750
1751 deps = [ 1751 deps = [
1752 "../../base:rtc_base_approved", 1752 "../../rtc_base:rtc_base_approved",
1753 "../../system_wrappers:system_wrappers_default", 1753 "../../system_wrappers:system_wrappers_default",
1754 "../../test:rtp_test_utils", 1754 "../../test:rtp_test_utils",
1755 "//testing/gtest", 1755 "//testing/gtest",
1756 ] 1756 ]
1757 } 1757 }
1758 1758
1759 rtc_executable("RTPtimeshift") { 1759 rtc_executable("RTPtimeshift") {
1760 testonly = true 1760 testonly = true
1761 1761
1762 sources = [ 1762 sources = [
1763 "neteq/test/RTPtimeshift.cc", 1763 "neteq/test/RTPtimeshift.cc",
1764 ] 1764 ]
1765 1765
1766 deps = [ 1766 deps = [
1767 ":neteq_test_tools_deprecated", 1767 ":neteq_test_tools_deprecated",
1768 "../../test:test_support", 1768 "../../test:test_support",
1769 "//testing/gtest", 1769 "//testing/gtest",
1770 ] 1770 ]
1771 } 1771 }
1772 1772
1773 rtc_executable("RTPjitter") { 1773 rtc_executable("RTPjitter") {
1774 testonly = true 1774 testonly = true
1775 deps = [ 1775 deps = [
1776 "../..:webrtc_common", 1776 "../..:webrtc_common",
1777 "../../base:rtc_base_approved", 1777 "../../rtc_base:rtc_base_approved",
1778 "../../test:test_support", 1778 "../../test:test_support",
1779 "//testing/gtest", 1779 "//testing/gtest",
1780 ] 1780 ]
1781 sources = [ 1781 sources = [
1782 "neteq/test/RTPjitter.cc", 1782 "neteq/test/RTPjitter.cc",
1783 ] 1783 ]
1784 } 1784 }
1785 1785
1786 rtc_executable("rtp_analyze") { 1786 rtc_executable("rtp_analyze") {
1787 testonly = true 1787 testonly = true
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
1846 sources = [ 1846 sources = [
1847 "neteq/test/neteq_ilbc_quality_test.cc", 1847 "neteq/test/neteq_ilbc_quality_test.cc",
1848 ] 1848 ]
1849 1849
1850 deps = [ 1850 deps = [
1851 ":ilbc", 1851 ":ilbc",
1852 ":neteq", 1852 ":neteq",
1853 ":neteq_quality_test_support", 1853 ":neteq_quality_test_support",
1854 ":neteq_tools", 1854 ":neteq_tools",
1855 "../..:webrtc_common", 1855 "../..:webrtc_common",
1856 "../../base:rtc_base_approved", 1856 "../../rtc_base:rtc_base_approved",
1857 "../../system_wrappers:system_wrappers_default", 1857 "../../system_wrappers:system_wrappers_default",
1858 "../../test:test_main", 1858 "../../test:test_main",
1859 "//testing/gtest", 1859 "//testing/gtest",
1860 "//third_party/gflags", 1860 "//third_party/gflags",
1861 ] 1861 ]
1862 } 1862 }
1863 1863
1864 rtc_executable("neteq_isac_quality_test") { 1864 rtc_executable("neteq_isac_quality_test") {
1865 testonly = true 1865 testonly = true
1866 1866
1867 sources = [ 1867 sources = [
1868 "neteq/test/neteq_isac_quality_test.cc", 1868 "neteq/test/neteq_isac_quality_test.cc",
1869 ] 1869 ]
1870 1870
1871 deps = [ 1871 deps = [
1872 ":isac_fix", 1872 ":isac_fix",
1873 ":neteq", 1873 ":neteq",
1874 ":neteq_quality_test_support", 1874 ":neteq_quality_test_support",
1875 "../../base:rtc_base_approved", 1875 "../../rtc_base:rtc_base_approved",
1876 "../../test:test_main", 1876 "../../test:test_main",
1877 "//testing/gtest", 1877 "//testing/gtest",
1878 "//third_party/gflags", 1878 "//third_party/gflags",
1879 ] 1879 ]
1880 } 1880 }
1881 1881
1882 rtc_executable("neteq_pcmu_quality_test") { 1882 rtc_executable("neteq_pcmu_quality_test") {
1883 testonly = true 1883 testonly = true
1884 1884
1885 sources = [ 1885 sources = [
1886 "neteq/test/neteq_pcmu_quality_test.cc", 1886 "neteq/test/neteq_pcmu_quality_test.cc",
1887 ] 1887 ]
1888 1888
1889 deps = [ 1889 deps = [
1890 ":g711", 1890 ":g711",
1891 ":neteq", 1891 ":neteq",
1892 ":neteq_quality_test_support", 1892 ":neteq_quality_test_support",
1893 "../../base:rtc_base_approved", 1893 "../../rtc_base:rtc_base_approved",
1894 "../../test:test_main", 1894 "../../test:test_main",
1895 "//testing/gtest", 1895 "//testing/gtest",
1896 "//third_party/gflags", 1896 "//third_party/gflags",
1897 ] 1897 ]
1898 } 1898 }
1899 1899
1900 rtc_executable("isac_fix_test") { 1900 rtc_executable("isac_fix_test") {
1901 testonly = true 1901 testonly = true
1902 1902
1903 sources = [ 1903 sources = [
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
1943 1943
1944 include_dirs = [ 1944 include_dirs = [
1945 "codecs/isac/main/include", 1945 "codecs/isac/main/include",
1946 "codecs/isac/main/test", 1946 "codecs/isac/main/test",
1947 "codecs/isac/main/util", 1947 "codecs/isac/main/util",
1948 ] 1948 ]
1949 1949
1950 deps = [ 1950 deps = [
1951 ":isac", 1951 ":isac",
1952 ":isac_test_util", 1952 ":isac_test_util",
1953 "../../base:rtc_base_approved", 1953 "../../rtc_base:rtc_base_approved",
1954 ] 1954 ]
1955 1955
1956 configs += [ ":isac_test_warnings_config" ] 1956 configs += [ ":isac_test_warnings_config" ]
1957 } 1957 }
1958 1958
1959 rtc_executable("g711_test") { 1959 rtc_executable("g711_test") {
1960 testonly = true 1960 testonly = true
1961 1961
1962 sources = [ 1962 sources = [
1963 "codecs/g711/test/testG711.cc", 1963 "codecs/g711/test/testG711.cc",
(...skipping 20 matching lines...) Expand all
1984 rtc_executable("isac_api_test") { 1984 rtc_executable("isac_api_test") {
1985 testonly = true 1985 testonly = true
1986 1986
1987 sources = [ 1987 sources = [
1988 "codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc", 1988 "codecs/isac/main/test/ReleaseTest-API/ReleaseTest-API.cc",
1989 ] 1989 ]
1990 1990
1991 deps = [ 1991 deps = [
1992 ":isac", 1992 ":isac",
1993 ":isac_test_util", 1993 ":isac_test_util",
1994 "../../base:rtc_base_approved", 1994 "../../rtc_base:rtc_base_approved",
1995 ] 1995 ]
1996 1996
1997 include_dirs = [ 1997 include_dirs = [
1998 "codecs/isac/main/include", 1998 "codecs/isac/main/include",
1999 "codecs/isac/main/test", 1999 "codecs/isac/main/test",
2000 "codecs/isac/main/util", 2000 "codecs/isac/main/util",
2001 ] 2001 ]
2002 } 2002 }
2003 2003
2004 rtc_executable("isac_switch_samprate_test") { 2004 rtc_executable("isac_switch_samprate_test") {
(...skipping 30 matching lines...) Expand all
2035 2035
2036 rtc_executable("webrtc_opus_fec_test") { 2036 rtc_executable("webrtc_opus_fec_test") {
2037 testonly = true 2037 testonly = true
2038 2038
2039 sources = [ 2039 sources = [
2040 "codecs/opus/opus_fec_test.cc", 2040 "codecs/opus/opus_fec_test.cc",
2041 ] 2041 ]
2042 2042
2043 deps = [ 2043 deps = [
2044 ":webrtc_opus", 2044 ":webrtc_opus",
2045 "../../base:rtc_base_approved",
2046 "../../common_audio", 2045 "../../common_audio",
2046 "../../rtc_base:rtc_base_approved",
2047 "../../test:test_main", 2047 "../../test:test_main",
2048 "//testing/gtest", 2048 "//testing/gtest",
2049 ] 2049 ]
2050 2050
2051 if (!build_with_chromium && is_clang) { 2051 if (!build_with_chromium && is_clang) {
2052 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 2052 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
2053 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 2053 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
2054 } 2054 }
2055 } 2055 }
2056 2056
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
2160 ":neteq_test_tools", 2160 ":neteq_test_tools",
2161 ":pcm16b", 2161 ":pcm16b",
2162 ":red", 2162 ":red",
2163 ":rent_a_codec", 2163 ":rent_a_codec",
2164 ":webrtc_opus", 2164 ":webrtc_opus",
2165 "..:module_api", 2165 "..:module_api",
2166 "../..:webrtc_common", 2166 "../..:webrtc_common",
2167 "../../api/audio_codecs:audio_codecs_api", 2167 "../../api/audio_codecs:audio_codecs_api",
2168 "../../api/audio_codecs:builtin_audio_decoder_factory", 2168 "../../api/audio_codecs:builtin_audio_decoder_factory",
2169 "../../api/audio_codecs:builtin_audio_encoder_factory", 2169 "../../api/audio_codecs:builtin_audio_encoder_factory",
2170 "../../base:protobuf_utils",
2171 "../../base:rtc_base",
2172 "../../base:rtc_base_approved",
2173 "../../base:rtc_base_tests_utils",
2174 "../../common_audio", 2170 "../../common_audio",
2171 "../../rtc_base:protobuf_utils",
2172 "../../rtc_base:rtc_base",
2173 "../../rtc_base:rtc_base_approved",
2174 "../../rtc_base:rtc_base_tests_utils",
2175 "../../system_wrappers:system_wrappers", 2175 "../../system_wrappers:system_wrappers",
2176 "../../test:audio_codec_mocks", 2176 "../../test:audio_codec_mocks",
2177 "../../test:field_trial", 2177 "../../test:field_trial",
2178 "../../test:rtp_test_utils", 2178 "../../test:rtp_test_utils",
2179 "../../test:test_common", 2179 "../../test:test_common",
2180 "../../test:test_support", 2180 "../../test:test_support",
2181 "//testing/gmock", 2181 "//testing/gmock",
2182 "//testing/gtest", 2182 "//testing/gtest",
2183 "//third_party/gflags", 2183 "//third_party/gflags",
2184 ] 2184 ]
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
2240 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2240 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2241 # TODO(ossu): Remove this. 2241 # TODO(ossu): Remove this.
2242 rtc_source_set("builtin_audio_encoder_factory") { 2242 rtc_source_set("builtin_audio_encoder_factory") {
2243 sources = [ 2243 sources = [
2244 "codecs/builtin_audio_encoder_factory.h", 2244 "codecs/builtin_audio_encoder_factory.h",
2245 ] 2245 ]
2246 deps = [ 2246 deps = [
2247 "../../api/audio_codecs:builtin_audio_encoder_factory", 2247 "../../api/audio_codecs:builtin_audio_encoder_factory",
2248 ] 2248 ]
2249 } 2249 }
OLDNEW
« no previous file with comments | « webrtc/modules/BUILD.gn ('k') | webrtc/modules/audio_conference_mixer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698