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

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

Issue 2695243005: Injectable audio encoders: BuiltinAudioEncoderFactory (Closed)
Patch Set: Cleaned up Opus code a bit. kHz -> Hz in comment picked a bunch of lint Created 3 years, 9 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
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 "../../base:rtc_base_approved",
51 ] 51 ]
52 } 52 }
53 53
54 rtc_source_set("audio_encoder_factory_interface") {
55 sources = [
56 "codecs/audio_encoder_factory.h",
57 ]
58 deps = [
59 ":audio_encoder_interface",
60 "../../api/audio_codecs:audio_codecs_api",
61 "../../base:rtc_base_approved",
62 ]
63 }
64
65 rtc_static_library("builtin_audio_encoder_factory") {
66 # TODO(kjellander): Remove (bugs.webrtc.org/6828)
67 # Errors on cyclic dependency with :isac_fix if enabled.
68 check_includes = false
69 sources = [
70 "codecs/builtin_audio_encoder_factory.cc",
71 "codecs/builtin_audio_encoder_factory.h",
72 ]
73 deps = [
74 "../..:webrtc_common",
75 "../../base:rtc_base_approved",
76 ":audio_encoder_factory_interface",
77 ] + audio_codec_deps
78 defines = audio_codec_defines
79 }
80
54 rtc_static_library("builtin_audio_decoder_factory_internal") { 81 rtc_static_library("builtin_audio_decoder_factory_internal") {
55 sources = [ 82 sources = [
56 "codecs/builtin_audio_decoder_factory_internal.cc", 83 "codecs/builtin_audio_decoder_factory_internal.cc",
57 "codecs/builtin_audio_decoder_factory_internal.h", 84 "codecs/builtin_audio_decoder_factory_internal.h",
58 ] 85 ]
59 deps = [ 86 deps = [
60 "../..:webrtc_common", 87 "../..:webrtc_common",
61 "../../base:rtc_base_approved", 88 "../../base:rtc_base_approved",
62 "../../api/audio_codecs:audio_codecs_api", 89 "../../api/audio_codecs:audio_codecs_api",
63 ] + audio_codec_deps 90 ] + audio_codec_deps
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 rtc_static_library("isac_common") { 511 rtc_static_library("isac_common") {
485 sources = [ 512 sources = [
486 "codecs/isac/audio_encoder_isac_t.h", 513 "codecs/isac/audio_encoder_isac_t.h",
487 "codecs/isac/audio_encoder_isac_t_impl.h", 514 "codecs/isac/audio_encoder_isac_t_impl.h",
488 "codecs/isac/locked_bandwidth_info.cc", 515 "codecs/isac/locked_bandwidth_info.cc",
489 "codecs/isac/locked_bandwidth_info.h", 516 "codecs/isac/locked_bandwidth_info.h",
490 ] 517 ]
491 deps = [ 518 deps = [
492 ":audio_encoder_interface", 519 ":audio_encoder_interface",
493 "../..:webrtc_common", 520 "../..:webrtc_common",
521 "../../api/audio_codecs:audio_codecs_api",
494 "../../base:rtc_base_approved", 522 "../../base:rtc_base_approved",
495 ] 523 ]
496 } 524 }
497 525
498 config("isac_config") { 526 config("isac_config") {
499 include_dirs = [ 527 include_dirs = [
500 "../../..", 528 "../../..",
501 "codecs/isac/main/include", 529 "codecs/isac/main/include",
502 ] 530 ]
503 } 531 }
(...skipping 1483 matching lines...) Expand 10 before | Expand all | Expand 10 after
1987 "audio_network_adaptor/bitrate_controller_unittest.cc", 2015 "audio_network_adaptor/bitrate_controller_unittest.cc",
1988 "audio_network_adaptor/channel_controller_unittest.cc", 2016 "audio_network_adaptor/channel_controller_unittest.cc",
1989 "audio_network_adaptor/controller_manager_unittest.cc", 2017 "audio_network_adaptor/controller_manager_unittest.cc",
1990 "audio_network_adaptor/dtx_controller_unittest.cc", 2018 "audio_network_adaptor/dtx_controller_unittest.cc",
1991 "audio_network_adaptor/event_log_writer_unittest.cc", 2019 "audio_network_adaptor/event_log_writer_unittest.cc",
1992 "audio_network_adaptor/fec_controller_unittest.cc", 2020 "audio_network_adaptor/fec_controller_unittest.cc",
1993 "audio_network_adaptor/frame_length_controller_unittest.cc", 2021 "audio_network_adaptor/frame_length_controller_unittest.cc",
1994 "audio_network_adaptor/mock/mock_controller.h", 2022 "audio_network_adaptor/mock/mock_controller.h",
1995 "audio_network_adaptor/mock/mock_controller_manager.h", 2023 "audio_network_adaptor/mock/mock_controller_manager.h",
1996 "codecs/builtin_audio_decoder_factory_unittest.cc", 2024 "codecs/builtin_audio_decoder_factory_unittest.cc",
2025 "codecs/builtin_audio_encoder_factory_unittest.cc",
1997 "codecs/cng/audio_encoder_cng_unittest.cc", 2026 "codecs/cng/audio_encoder_cng_unittest.cc",
1998 "codecs/cng/cng_unittest.cc", 2027 "codecs/cng/cng_unittest.cc",
1999 "codecs/ilbc/ilbc_unittest.cc", 2028 "codecs/ilbc/ilbc_unittest.cc",
2000 "codecs/isac/fix/source/filterbanks_unittest.cc", 2029 "codecs/isac/fix/source/filterbanks_unittest.cc",
2001 "codecs/isac/fix/source/filters_unittest.cc", 2030 "codecs/isac/fix/source/filters_unittest.cc",
2002 "codecs/isac/fix/source/lpc_masking_model_unittest.cc", 2031 "codecs/isac/fix/source/lpc_masking_model_unittest.cc",
2003 "codecs/isac/fix/source/transform_unittest.cc", 2032 "codecs/isac/fix/source/transform_unittest.cc",
2004 "codecs/isac/main/source/audio_encoder_isac_unittest.cc", 2033 "codecs/isac/main/source/audio_encoder_isac_unittest.cc",
2005 "codecs/isac/main/source/isac_unittest.cc", 2034 "codecs/isac/main/source/isac_unittest.cc",
2006 "codecs/isac/unittest.cc", 2035 "codecs/isac/unittest.cc",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2054 ] 2083 ]
2055 2084
2056 deps = [ 2085 deps = [
2057 ":acm_receive_test", 2086 ":acm_receive_test",
2058 ":acm_send_test", 2087 ":acm_send_test",
2059 ":audio_coding", 2088 ":audio_coding",
2060 ":audio_coding_module_typedefs", 2089 ":audio_coding_module_typedefs",
2061 ":audio_encoder_interface", 2090 ":audio_encoder_interface",
2062 ":audio_format_conversion", 2091 ":audio_format_conversion",
2063 ":audio_network_adaptor", 2092 ":audio_network_adaptor",
2093 ":builtin_audio_encoder_factory",
2064 ":cng", 2094 ":cng",
2065 ":g711", 2095 ":g711",
2066 ":ilbc", 2096 ":ilbc",
2067 ":isac", 2097 ":isac",
2068 ":isac_c", 2098 ":isac_c",
2069 ":isac_fix", 2099 ":isac_fix",
2070 ":legacy_encoded_audio_frame", 2100 ":legacy_encoded_audio_frame",
2071 ":neteq", 2101 ":neteq",
2072 ":neteq_test_support", 2102 ":neteq_test_support",
2073 ":neteq_unittest_tools", 2103 ":neteq_unittest_tools",
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
2128 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2158 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2129 # TODO(kwiberg): Remove this. 2159 # TODO(kwiberg): Remove this.
2130 rtc_source_set("builtin_audio_decoder_factory") { 2160 rtc_source_set("builtin_audio_decoder_factory") {
2131 sources = [ 2161 sources = [
2132 "codecs/builtin_audio_decoder_factory.h", 2162 "codecs/builtin_audio_decoder_factory.h",
2133 ] 2163 ]
2134 deps = [ 2164 deps = [
2135 "../../api/audio_codecs:builtin_audio_decoder_factory", 2165 "../../api/audio_codecs:builtin_audio_decoder_factory",
2136 ] 2166 ]
2137 } 2167 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698