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

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

Issue 2695243005: Injectable audio encoders: BuiltinAudioEncoderFactory (Closed)
Patch Set: Cleaned up parameter parsing in AudioCodecOpus 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 1624 matching lines...) Expand 10 before | Expand all | Expand 10 after
2128 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2156 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2129 # TODO(kwiberg): Remove this. 2157 # TODO(kwiberg): Remove this.
2130 rtc_source_set("builtin_audio_decoder_factory") { 2158 rtc_source_set("builtin_audio_decoder_factory") {
2131 sources = [ 2159 sources = [
2132 "codecs/builtin_audio_decoder_factory.h", 2160 "codecs/builtin_audio_decoder_factory.h",
2133 ] 2161 ]
2134 deps = [ 2162 deps = [
2135 "../../api/audio_codecs:builtin_audio_decoder_factory", 2163 "../../api/audio_codecs:builtin_audio_decoder_factory",
2136 ] 2164 ]
2137 } 2165 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698