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

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

Issue 2996373002: Revert of Reimplement the builtin audio codec factories using the new stuff in api/ (Closed)
Patch Set: Created 3 years, 4 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 "../../rtc_base:rtc_base_approved", 50 "../../rtc_base:rtc_base_approved",
51 ] 51 ]
52 } 52 }
53 53
54 rtc_static_library("builtin_audio_decoder_factory_internal") {
55 sources = [
56 "codecs/builtin_audio_decoder_factory_internal.cc",
57 "codecs/builtin_audio_decoder_factory_internal.h",
58 ]
59 deps = [
60 "../..:webrtc_common",
61 "../../rtc_base:protobuf_utils",
62 "../../rtc_base:rtc_base_approved",
63 "../../api/audio_codecs:audio_codecs_api",
64 ] + audio_codec_deps
65 defines = audio_codec_defines
66 }
67
68 rtc_static_library("builtin_audio_encoder_factory_internal") {
69 sources = [
70 "codecs/builtin_audio_encoder_factory_internal.cc",
71 "codecs/builtin_audio_encoder_factory_internal.h",
72 ]
73 deps = [
74 "../..:webrtc_common",
75 "../../rtc_base:protobuf_utils",
76 "../../rtc_base:rtc_base_approved",
77 "../../api/audio_codecs:audio_codecs_api",
78 ] + audio_codec_deps
79 defines = audio_codec_defines
80 }
81
54 rtc_static_library("rent_a_codec") { 82 rtc_static_library("rent_a_codec") {
55 sources = [ 83 sources = [
56 "acm2/acm_codec_database.cc", 84 "acm2/acm_codec_database.cc",
57 "acm2/acm_codec_database.h", 85 "acm2/acm_codec_database.h",
58 "acm2/rent_a_codec.cc", 86 "acm2/rent_a_codec.cc",
59 "acm2/rent_a_codec.h", 87 "acm2/rent_a_codec.h",
60 ] 88 ]
61 deps = [ 89 deps = [
62 "../../api/audio_codecs:audio_codecs_api", 90 "../../api/audio_codecs:audio_codecs_api",
63 "../..:webrtc_common", 91 "../..:webrtc_common",
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 "codecs/opus/audio_encoder_opus.cc", 833 "codecs/opus/audio_encoder_opus.cc",
806 "codecs/opus/audio_encoder_opus.h", 834 "codecs/opus/audio_encoder_opus.h",
807 ] 835 ]
808 836
809 deps = [ 837 deps = [
810 ":audio_network_adaptor", 838 ":audio_network_adaptor",
811 "../..:webrtc_common", 839 "../..:webrtc_common",
812 "../../api/audio_codecs:audio_codecs_api", 840 "../../api/audio_codecs:audio_codecs_api",
813 "../../api/audio_codecs/opus:audio_encoder_opus_config", 841 "../../api/audio_codecs/opus:audio_encoder_opus_config",
814 "../../common_audio", 842 "../../common_audio",
843 "../../rtc_base:protobuf_utils",
815 "../../rtc_base:rtc_base_approved", 844 "../../rtc_base:rtc_base_approved",
816 "../../rtc_base:rtc_numerics", 845 "../../rtc_base:rtc_numerics",
817 "../../system_wrappers", 846 "../../system_wrappers",
818 ] 847 ]
819 public_deps = [ 848 public_deps = [
820 ":webrtc_opus_c", 849 ":webrtc_opus_c",
821 "../../rtc_base:protobuf_utils",
822 ] 850 ]
823 851
824 defines = audio_codec_defines 852 defines = audio_codec_defines
825 853
826 if (rtc_build_opus) { 854 if (rtc_build_opus) {
827 public_deps += [ rtc_opus_dir ] 855 public_deps += [ rtc_opus_dir ]
828 } else if (build_with_mozilla) { 856 } else if (build_with_mozilla) {
829 include_dirs = [ getenv("DIST") + "/include/opus" ] 857 include_dirs = [ getenv("DIST") + "/include/opus" ]
830 } 858 }
831 } 859 }
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after
2239 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2267 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2240 # TODO(ossu): Remove this. 2268 # TODO(ossu): Remove this.
2241 rtc_source_set("builtin_audio_encoder_factory") { 2269 rtc_source_set("builtin_audio_encoder_factory") {
2242 sources = [ 2270 sources = [
2243 "codecs/builtin_audio_encoder_factory.h", 2271 "codecs/builtin_audio_encoder_factory.h",
2244 ] 2272 ]
2245 deps = [ 2273 deps = [
2246 "../../api/audio_codecs:builtin_audio_encoder_factory", 2274 "../../api/audio_codecs:builtin_audio_encoder_factory",
2247 ] 2275 ]
2248 } 2276 }
OLDNEW
« no previous file with comments | « webrtc/api/audio_codecs/test/BUILD.gn ('k') | webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698