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

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

Issue 2695243005: Injectable audio encoders: BuiltinAudioEncoderFactory (Closed)
Patch Set: Fix build problems on Windows, Android and downstream. Created 3 years, 8 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 1487 matching lines...) Expand 10 before | Expand all | Expand 10 after
1991 "audio_network_adaptor/controller_manager_unittest.cc", 2019 "audio_network_adaptor/controller_manager_unittest.cc",
1992 "audio_network_adaptor/dtx_controller_unittest.cc", 2020 "audio_network_adaptor/dtx_controller_unittest.cc",
1993 "audio_network_adaptor/event_log_writer_unittest.cc", 2021 "audio_network_adaptor/event_log_writer_unittest.cc",
1994 "audio_network_adaptor/fec_controller_plr_based_unittest.cc", 2022 "audio_network_adaptor/fec_controller_plr_based_unittest.cc",
1995 "audio_network_adaptor/fec_controller_rplr_based_unittest.cc", 2023 "audio_network_adaptor/fec_controller_rplr_based_unittest.cc",
1996 "audio_network_adaptor/frame_length_controller_unittest.cc", 2024 "audio_network_adaptor/frame_length_controller_unittest.cc",
1997 "audio_network_adaptor/mock/mock_controller.h", 2025 "audio_network_adaptor/mock/mock_controller.h",
1998 "audio_network_adaptor/mock/mock_controller_manager.h", 2026 "audio_network_adaptor/mock/mock_controller_manager.h",
1999 "audio_network_adaptor/util/threshold_curve_unittest.cc", 2027 "audio_network_adaptor/util/threshold_curve_unittest.cc",
2000 "codecs/builtin_audio_decoder_factory_unittest.cc", 2028 "codecs/builtin_audio_decoder_factory_unittest.cc",
2029 "codecs/builtin_audio_encoder_factory_unittest.cc",
2001 "codecs/cng/audio_encoder_cng_unittest.cc", 2030 "codecs/cng/audio_encoder_cng_unittest.cc",
2002 "codecs/cng/cng_unittest.cc", 2031 "codecs/cng/cng_unittest.cc",
2003 "codecs/ilbc/ilbc_unittest.cc", 2032 "codecs/ilbc/ilbc_unittest.cc",
2004 "codecs/isac/fix/source/filterbanks_unittest.cc", 2033 "codecs/isac/fix/source/filterbanks_unittest.cc",
2005 "codecs/isac/fix/source/filters_unittest.cc", 2034 "codecs/isac/fix/source/filters_unittest.cc",
2006 "codecs/isac/fix/source/lpc_masking_model_unittest.cc", 2035 "codecs/isac/fix/source/lpc_masking_model_unittest.cc",
2007 "codecs/isac/fix/source/transform_unittest.cc", 2036 "codecs/isac/fix/source/transform_unittest.cc",
2008 "codecs/isac/main/source/audio_encoder_isac_unittest.cc", 2037 "codecs/isac/main/source/audio_encoder_isac_unittest.cc",
2009 "codecs/isac/main/source/isac_unittest.cc", 2038 "codecs/isac/main/source/isac_unittest.cc",
2010 "codecs/isac/unittest.cc", 2039 "codecs/isac/unittest.cc",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2058 ] 2087 ]
2059 2088
2060 deps = [ 2089 deps = [
2061 ":acm_receive_test", 2090 ":acm_receive_test",
2062 ":acm_send_test", 2091 ":acm_send_test",
2063 ":audio_coding", 2092 ":audio_coding",
2064 ":audio_coding_module_typedefs", 2093 ":audio_coding_module_typedefs",
2065 ":audio_encoder_interface", 2094 ":audio_encoder_interface",
2066 ":audio_format_conversion", 2095 ":audio_format_conversion",
2067 ":audio_network_adaptor", 2096 ":audio_network_adaptor",
2097 ":builtin_audio_encoder_factory",
2068 ":cng", 2098 ":cng",
2069 ":g711", 2099 ":g711",
2070 ":ilbc", 2100 ":ilbc",
2071 ":isac", 2101 ":isac",
2072 ":isac_c", 2102 ":isac_c",
2073 ":isac_fix", 2103 ":isac_fix",
2074 ":legacy_encoded_audio_frame", 2104 ":legacy_encoded_audio_frame",
2075 ":neteq", 2105 ":neteq",
2076 ":neteq_test_support", 2106 ":neteq_test_support",
2077 ":neteq_unittest_tools", 2107 ":neteq_unittest_tools",
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
2132 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2162 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2133 # TODO(kwiberg): Remove this. 2163 # TODO(kwiberg): Remove this.
2134 rtc_source_set("builtin_audio_decoder_factory") { 2164 rtc_source_set("builtin_audio_decoder_factory") {
2135 sources = [ 2165 sources = [
2136 "codecs/builtin_audio_decoder_factory.h", 2166 "codecs/builtin_audio_decoder_factory.h",
2137 ] 2167 ]
2138 deps = [ 2168 deps = [
2139 "../../api/audio_codecs:builtin_audio_decoder_factory", 2169 "../../api/audio_codecs:builtin_audio_decoder_factory",
2140 ] 2170 ]
2141 } 2171 }
OLDNEW
« no previous file with comments | « webrtc/media/engine/webrtcvoiceengine_unittest.cc ('k') | webrtc/modules/audio_coding/acm2/audio_coding_module_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698