OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("//build/config/arm.gni") | 9 import("//build/config/arm.gni") |
10 import("../../build/webrtc.gni") | 10 import("../../build/webrtc.gni") |
(...skipping 26 matching lines...) Expand all Loading... |
37 if (!build_with_mozilla && !build_with_chromium) { | 37 if (!build_with_mozilla && !build_with_chromium) { |
38 defines += [ | 38 defines += [ |
39 "WEBRTC_CODEC_ILBC", | 39 "WEBRTC_CODEC_ILBC", |
40 "WEBRTC_CODEC_RED", | 40 "WEBRTC_CODEC_RED", |
41 ] | 41 ] |
42 } | 42 } |
43 } | 43 } |
44 | 44 |
45 config("audio_coding_config") { | 45 config("audio_coding_config") { |
46 include_dirs = [ | 46 include_dirs = [ |
47 "main/interface", | 47 "main/include", |
48 "../interface", | 48 "../interface", |
49 ] | 49 ] |
50 } | 50 } |
51 | 51 |
52 source_set("audio_coding") { | 52 source_set("audio_coding") { |
53 sources = [ | 53 sources = [ |
54 "main/acm2/acm_common_defs.h", | 54 "main/acm2/acm_common_defs.h", |
55 "main/acm2/acm_receiver.cc", | 55 "main/acm2/acm_receiver.cc", |
56 "main/acm2/acm_receiver.h", | 56 "main/acm2/acm_receiver.h", |
57 "main/acm2/acm_resampler.cc", | 57 "main/acm2/acm_resampler.cc", |
58 "main/acm2/acm_resampler.h", | 58 "main/acm2/acm_resampler.h", |
59 "main/acm2/audio_coding_module.cc", | 59 "main/acm2/audio_coding_module.cc", |
60 "main/acm2/audio_coding_module_impl.cc", | 60 "main/acm2/audio_coding_module_impl.cc", |
61 "main/acm2/audio_coding_module_impl.h", | 61 "main/acm2/audio_coding_module_impl.h", |
62 "main/acm2/call_statistics.cc", | 62 "main/acm2/call_statistics.cc", |
63 "main/acm2/call_statistics.h", | 63 "main/acm2/call_statistics.h", |
64 "main/acm2/codec_manager.cc", | 64 "main/acm2/codec_manager.cc", |
65 "main/acm2/codec_manager.h", | 65 "main/acm2/codec_manager.h", |
66 "main/acm2/codec_owner.cc", | 66 "main/acm2/codec_owner.cc", |
67 "main/acm2/codec_owner.h", | 67 "main/acm2/codec_owner.h", |
68 "main/acm2/initial_delay_manager.cc", | 68 "main/acm2/initial_delay_manager.cc", |
69 "main/acm2/initial_delay_manager.h", | 69 "main/acm2/initial_delay_manager.h", |
70 "main/acm2/nack.cc", | 70 "main/acm2/nack.cc", |
71 "main/acm2/nack.h", | 71 "main/acm2/nack.h", |
72 "main/interface/audio_coding_module.h", | 72 "main/include/audio_coding_module.h", |
73 "main/interface/audio_coding_module_typedefs.h", | 73 "main/include/audio_coding_module_typedefs.h", |
74 ] | 74 ] |
75 | 75 |
76 defines = [] | 76 defines = [] |
77 | 77 |
78 configs += [ "../..:common_config" ] | 78 configs += [ "../..:common_config" ] |
79 | 79 |
80 public_configs = [ | 80 public_configs = [ |
81 "../..:common_inherited_config", | 81 "../..:common_inherited_config", |
82 ":audio_coding_config", | 82 ":audio_coding_config", |
83 ] | 83 ] |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 ] | 270 ] |
271 | 271 |
272 deps = [ | 272 deps = [ |
273 ":audio_encoder_interface", | 273 ":audio_encoder_interface", |
274 ] | 274 ] |
275 } | 275 } |
276 | 276 |
277 config("ilbc_config") { | 277 config("ilbc_config") { |
278 include_dirs = [ | 278 include_dirs = [ |
279 "../../..", | 279 "../../..", |
280 "codecs/ilbc/interface", | 280 "codecs/ilbc/include", |
281 ] | 281 ] |
282 } | 282 } |
283 | 283 |
284 source_set("ilbc") { | 284 source_set("ilbc") { |
285 sources = [ | 285 sources = [ |
286 "codecs/ilbc/abs_quant.c", | 286 "codecs/ilbc/abs_quant.c", |
287 "codecs/ilbc/abs_quant.h", | 287 "codecs/ilbc/abs_quant.h", |
288 "codecs/ilbc/abs_quant_loop.c", | 288 "codecs/ilbc/abs_quant_loop.c", |
289 "codecs/ilbc/abs_quant_loop.h", | 289 "codecs/ilbc/abs_quant_loop.h", |
290 "codecs/ilbc/audio_decoder_ilbc.cc", | 290 "codecs/ilbc/audio_decoder_ilbc.cc", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 "codecs/ilbc/get_lsp_poly.h", | 348 "codecs/ilbc/get_lsp_poly.h", |
349 "codecs/ilbc/get_sync_seq.c", | 349 "codecs/ilbc/get_sync_seq.c", |
350 "codecs/ilbc/get_sync_seq.h", | 350 "codecs/ilbc/get_sync_seq.h", |
351 "codecs/ilbc/hp_input.c", | 351 "codecs/ilbc/hp_input.c", |
352 "codecs/ilbc/hp_input.h", | 352 "codecs/ilbc/hp_input.h", |
353 "codecs/ilbc/hp_output.c", | 353 "codecs/ilbc/hp_output.c", |
354 "codecs/ilbc/hp_output.h", | 354 "codecs/ilbc/hp_output.h", |
355 "codecs/ilbc/ilbc.c", | 355 "codecs/ilbc/ilbc.c", |
356 "codecs/ilbc/include/audio_decoder_ilbc.h", | 356 "codecs/ilbc/include/audio_decoder_ilbc.h", |
357 "codecs/ilbc/include/audio_encoder_ilbc.h", | 357 "codecs/ilbc/include/audio_encoder_ilbc.h", |
| 358 "codecs/ilbc/include/ilbc.h", |
358 "codecs/ilbc/index_conv_dec.c", | 359 "codecs/ilbc/index_conv_dec.c", |
359 "codecs/ilbc/index_conv_dec.h", | 360 "codecs/ilbc/index_conv_dec.h", |
360 "codecs/ilbc/index_conv_enc.c", | 361 "codecs/ilbc/index_conv_enc.c", |
361 "codecs/ilbc/index_conv_enc.h", | 362 "codecs/ilbc/index_conv_enc.h", |
362 "codecs/ilbc/init_decode.c", | 363 "codecs/ilbc/init_decode.c", |
363 "codecs/ilbc/init_decode.h", | 364 "codecs/ilbc/init_decode.h", |
364 "codecs/ilbc/init_encode.c", | 365 "codecs/ilbc/init_encode.c", |
365 "codecs/ilbc/init_encode.h", | 366 "codecs/ilbc/init_encode.h", |
366 "codecs/ilbc/interface/ilbc.h", | |
367 "codecs/ilbc/interpolate.c", | 367 "codecs/ilbc/interpolate.c", |
368 "codecs/ilbc/interpolate.h", | 368 "codecs/ilbc/interpolate.h", |
369 "codecs/ilbc/interpolate_samples.c", | 369 "codecs/ilbc/interpolate_samples.c", |
370 "codecs/ilbc/interpolate_samples.h", | 370 "codecs/ilbc/interpolate_samples.h", |
371 "codecs/ilbc/lpc_encode.c", | 371 "codecs/ilbc/lpc_encode.c", |
372 "codecs/ilbc/lpc_encode.h", | 372 "codecs/ilbc/lpc_encode.h", |
373 "codecs/ilbc/lsf_check.c", | 373 "codecs/ilbc/lsf_check.c", |
374 "codecs/ilbc/lsf_check.h", | 374 "codecs/ilbc/lsf_check.h", |
375 "codecs/ilbc/lsf_interpolate_to_poly_dec.c", | 375 "codecs/ilbc/lsf_interpolate_to_poly_dec.c", |
376 "codecs/ilbc/lsf_interpolate_to_poly_dec.h", | 376 "codecs/ilbc/lsf_interpolate_to_poly_dec.h", |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 "codecs/isac/audio_encoder_isac_t_impl.h", | 447 "codecs/isac/audio_encoder_isac_t_impl.h", |
448 "codecs/isac/locked_bandwidth_info.cc", | 448 "codecs/isac/locked_bandwidth_info.cc", |
449 "codecs/isac/locked_bandwidth_info.h", | 449 "codecs/isac/locked_bandwidth_info.h", |
450 ] | 450 ] |
451 public_configs = [ "../..:common_inherited_config" ] | 451 public_configs = [ "../..:common_inherited_config" ] |
452 } | 452 } |
453 | 453 |
454 config("isac_config") { | 454 config("isac_config") { |
455 include_dirs = [ | 455 include_dirs = [ |
456 "../../..", | 456 "../../..", |
457 "codecs/isac/main/interface", | 457 "codecs/isac/main/include", |
458 ] | 458 ] |
459 } | 459 } |
460 | 460 |
461 source_set("isac") { | 461 source_set("isac") { |
462 sources = [ | 462 sources = [ |
463 "codecs/isac/main/interface/audio_decoder_isac.h", | 463 "codecs/isac/main/include/audio_decoder_isac.h", |
464 "codecs/isac/main/interface/audio_encoder_isac.h", | 464 "codecs/isac/main/include/audio_encoder_isac.h", |
465 "codecs/isac/main/interface/isac.h", | 465 "codecs/isac/main/include/isac.h", |
466 "codecs/isac/main/source/arith_routines.c", | 466 "codecs/isac/main/source/arith_routines.c", |
467 "codecs/isac/main/source/arith_routines.h", | 467 "codecs/isac/main/source/arith_routines.h", |
468 "codecs/isac/main/source/arith_routines_hist.c", | 468 "codecs/isac/main/source/arith_routines_hist.c", |
469 "codecs/isac/main/source/arith_routines_logist.c", | 469 "codecs/isac/main/source/arith_routines_logist.c", |
470 "codecs/isac/main/source/audio_decoder_isac.cc", | 470 "codecs/isac/main/source/audio_decoder_isac.cc", |
471 "codecs/isac/main/source/audio_encoder_isac.cc", | 471 "codecs/isac/main/source/audio_encoder_isac.cc", |
472 "codecs/isac/main/source/bandwidth_estimator.c", | 472 "codecs/isac/main/source/bandwidth_estimator.c", |
473 "codecs/isac/main/source/bandwidth_estimator.h", | 473 "codecs/isac/main/source/bandwidth_estimator.h", |
474 "codecs/isac/main/source/codec.h", | 474 "codecs/isac/main/source/codec.h", |
475 "codecs/isac/main/source/crc.c", | 475 "codecs/isac/main/source/crc.c", |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 ":audio_decoder_interface", | 531 ":audio_decoder_interface", |
532 ":audio_encoder_interface", | 532 ":audio_encoder_interface", |
533 ":isac_common", | 533 ":isac_common", |
534 "../../common_audio", | 534 "../../common_audio", |
535 ] | 535 ] |
536 } | 536 } |
537 | 537 |
538 config("isac_fix_config") { | 538 config("isac_fix_config") { |
539 include_dirs = [ | 539 include_dirs = [ |
540 "../../..", | 540 "../../..", |
541 "codecs/isac/fix/interface", | 541 "codecs/isac/fix/include", |
542 ] | 542 ] |
543 } | 543 } |
544 | 544 |
545 source_set("isac_fix") { | 545 source_set("isac_fix") { |
546 sources = [ | 546 sources = [ |
547 "codecs/isac/fix/interface/audio_decoder_isacfix.h", | 547 "codecs/isac/fix/include/audio_decoder_isacfix.h", |
548 "codecs/isac/fix/interface/audio_encoder_isacfix.h", | 548 "codecs/isac/fix/include/audio_encoder_isacfix.h", |
549 "codecs/isac/fix/interface/isacfix.h", | 549 "codecs/isac/fix/include/isacfix.h", |
550 "codecs/isac/fix/source/arith_routines.c", | 550 "codecs/isac/fix/source/arith_routines.c", |
551 "codecs/isac/fix/source/arith_routines_hist.c", | 551 "codecs/isac/fix/source/arith_routines_hist.c", |
552 "codecs/isac/fix/source/arith_routines_logist.c", | 552 "codecs/isac/fix/source/arith_routines_logist.c", |
553 "codecs/isac/fix/source/arith_routins.h", | 553 "codecs/isac/fix/source/arith_routins.h", |
554 "codecs/isac/fix/source/audio_decoder_isacfix.cc", | 554 "codecs/isac/fix/source/audio_decoder_isacfix.cc", |
555 "codecs/isac/fix/source/audio_encoder_isacfix.cc", | 555 "codecs/isac/fix/source/audio_encoder_isacfix.cc", |
556 "codecs/isac/fix/source/bandwidth_estimator.c", | 556 "codecs/isac/fix/source/bandwidth_estimator.c", |
557 "codecs/isac/fix/source/bandwidth_estimator.h", | 557 "codecs/isac/fix/source/bandwidth_estimator.h", |
558 "codecs/isac/fix/source/codec.h", | 558 "codecs/isac/fix/source/codec.h", |
559 "codecs/isac/fix/source/decode.c", | 559 "codecs/isac/fix/source/decode.c", |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 } | 719 } |
720 | 720 |
721 config("opus_config") { | 721 config("opus_config") { |
722 include_dirs = [ "../../.." ] | 722 include_dirs = [ "../../.." ] |
723 } | 723 } |
724 | 724 |
725 source_set("webrtc_opus") { | 725 source_set("webrtc_opus") { |
726 sources = [ | 726 sources = [ |
727 "codecs/opus/audio_decoder_opus.cc", | 727 "codecs/opus/audio_decoder_opus.cc", |
728 "codecs/opus/audio_encoder_opus.cc", | 728 "codecs/opus/audio_encoder_opus.cc", |
729 "codecs/opus/interface/audio_decoder_opus.h", | 729 "codecs/opus/include/audio_decoder_opus.h", |
730 "codecs/opus/interface/audio_encoder_opus.h", | 730 "codecs/opus/include/audio_encoder_opus.h", |
731 "codecs/opus/interface/opus_interface.h", | 731 "codecs/opus/include/opus_interface.h", |
732 "codecs/opus/opus_inst.h", | 732 "codecs/opus/opus_inst.h", |
733 "codecs/opus/opus_interface.c", | 733 "codecs/opus/opus_interface.c", |
734 ] | 734 ] |
735 | 735 |
736 deps = [ | 736 deps = [ |
737 ":audio_encoder_interface", | 737 ":audio_encoder_interface", |
738 ] | 738 ] |
739 | 739 |
740 if (rtc_build_opus) { | 740 if (rtc_build_opus) { |
741 configs += [ "../..:common_config" ] | 741 configs += [ "../..:common_config" ] |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
789 "neteq/delay_peak_detector.cc", | 789 "neteq/delay_peak_detector.cc", |
790 "neteq/delay_peak_detector.h", | 790 "neteq/delay_peak_detector.h", |
791 "neteq/dsp_helper.cc", | 791 "neteq/dsp_helper.cc", |
792 "neteq/dsp_helper.h", | 792 "neteq/dsp_helper.h", |
793 "neteq/dtmf_buffer.cc", | 793 "neteq/dtmf_buffer.cc", |
794 "neteq/dtmf_buffer.h", | 794 "neteq/dtmf_buffer.h", |
795 "neteq/dtmf_tone_generator.cc", | 795 "neteq/dtmf_tone_generator.cc", |
796 "neteq/dtmf_tone_generator.h", | 796 "neteq/dtmf_tone_generator.h", |
797 "neteq/expand.cc", | 797 "neteq/expand.cc", |
798 "neteq/expand.h", | 798 "neteq/expand.h", |
799 "neteq/interface/neteq.h", | 799 "neteq/include/neteq.h", |
800 "neteq/merge.cc", | 800 "neteq/merge.cc", |
801 "neteq/merge.h", | 801 "neteq/merge.h", |
802 "neteq/neteq.cc", | 802 "neteq/neteq.cc", |
803 "neteq/neteq_impl.cc", | 803 "neteq/neteq_impl.cc", |
804 "neteq/neteq_impl.h", | 804 "neteq/neteq_impl.h", |
805 "neteq/normal.cc", | 805 "neteq/normal.cc", |
806 "neteq/normal.h", | 806 "neteq/normal.h", |
807 "neteq/packet_buffer.cc", | 807 "neteq/packet_buffer.cc", |
808 "neteq/packet_buffer.h", | 808 "neteq/packet_buffer.h", |
809 "neteq/payload_splitter.cc", | 809 "neteq/payload_splitter.cc", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 deps += [ ":isac" ] | 858 deps += [ ":isac" ] |
859 } | 859 } |
860 defines += [ "WEBRTC_CODEC_G722" ] | 860 defines += [ "WEBRTC_CODEC_G722" ] |
861 deps += [ ":g722" ] | 861 deps += [ ":g722" ] |
862 } | 862 } |
863 if (!build_with_mozilla && !build_with_chromium) { | 863 if (!build_with_mozilla && !build_with_chromium) { |
864 defines += [ "WEBRTC_CODEC_ILBC" ] | 864 defines += [ "WEBRTC_CODEC_ILBC" ] |
865 deps += [ ":ilbc" ] | 865 deps += [ ":ilbc" ] |
866 } | 866 } |
867 } | 867 } |
OLD | NEW |