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

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

Issue 2695243005: Injectable audio encoders: BuiltinAudioEncoderFactory (Closed)
Patch Set: Removed stub versions of AudioEncoderFactory from peerconnectioninterface.h Created 3 years, 10 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 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 rtc_static_library("isac_common") { 500 rtc_static_library("isac_common") {
474 sources = [ 501 sources = [
475 "codecs/isac/audio_encoder_isac_t.h", 502 "codecs/isac/audio_encoder_isac_t.h",
476 "codecs/isac/audio_encoder_isac_t_impl.h", 503 "codecs/isac/audio_encoder_isac_t_impl.h",
477 "codecs/isac/locked_bandwidth_info.cc", 504 "codecs/isac/locked_bandwidth_info.cc",
478 "codecs/isac/locked_bandwidth_info.h", 505 "codecs/isac/locked_bandwidth_info.h",
479 ] 506 ]
480 deps = [ 507 deps = [
481 ":audio_encoder_interface", 508 ":audio_encoder_interface",
482 "../..:webrtc_common", 509 "../..:webrtc_common",
510 "../../api/audio_codecs:audio_codecs_api",
483 "../../base:rtc_base_approved", 511 "../../base:rtc_base_approved",
484 ] 512 ]
485 } 513 }
486 514
487 config("isac_config") { 515 config("isac_config") {
488 include_dirs = [ 516 include_dirs = [
489 "../../..", 517 "../../..",
490 "codecs/isac/main/include", 518 "codecs/isac/main/include",
491 ] 519 ]
492 } 520 }
(...skipping 1613 matching lines...) Expand 10 before | Expand all | Expand 10 after
2106 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2134 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2107 # TODO(kwiberg): Remove this. 2135 # TODO(kwiberg): Remove this.
2108 rtc_source_set("builtin_audio_decoder_factory") { 2136 rtc_source_set("builtin_audio_decoder_factory") {
2109 sources = [ 2137 sources = [
2110 "codecs/builtin_audio_decoder_factory.h", 2138 "codecs/builtin_audio_decoder_factory.h",
2111 ] 2139 ]
2112 deps = [ 2140 deps = [
2113 "../../api/audio_codecs:builtin_audio_decoder_factory", 2141 "../../api/audio_codecs:builtin_audio_decoder_factory",
2114 ] 2142 ]
2115 } 2143 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698