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

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

Issue 2997713002: 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
82 rtc_static_library("rent_a_codec") { 54 rtc_static_library("rent_a_codec") {
83 sources = [ 55 sources = [
84 "acm2/acm_codec_database.cc", 56 "acm2/acm_codec_database.cc",
85 "acm2/acm_codec_database.h", 57 "acm2/acm_codec_database.h",
86 "acm2/rent_a_codec.cc", 58 "acm2/rent_a_codec.cc",
87 "acm2/rent_a_codec.h", 59 "acm2/rent_a_codec.h",
88 ] 60 ]
89 deps = [ 61 deps = [
90 "../../api/audio_codecs:audio_codecs_api", 62 "../../api/audio_codecs:audio_codecs_api",
91 "../..:webrtc_common", 63 "../..:webrtc_common",
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 "codecs/opus/audio_encoder_opus.cc", 805 "codecs/opus/audio_encoder_opus.cc",
834 "codecs/opus/audio_encoder_opus.h", 806 "codecs/opus/audio_encoder_opus.h",
835 ] 807 ]
836 808
837 deps = [ 809 deps = [
838 ":audio_network_adaptor", 810 ":audio_network_adaptor",
839 "../..:webrtc_common", 811 "../..:webrtc_common",
840 "../../api/audio_codecs:audio_codecs_api", 812 "../../api/audio_codecs:audio_codecs_api",
841 "../../api/audio_codecs/opus:audio_encoder_opus_config", 813 "../../api/audio_codecs/opus:audio_encoder_opus_config",
842 "../../common_audio", 814 "../../common_audio",
843 "../../rtc_base:protobuf_utils",
844 "../../rtc_base:rtc_base_approved", 815 "../../rtc_base:rtc_base_approved",
845 "../../rtc_base:rtc_numerics", 816 "../../rtc_base:rtc_numerics",
846 "../../system_wrappers", 817 "../../system_wrappers",
847 ] 818 ]
848 public_deps = [ 819 public_deps = [
849 ":webrtc_opus_c", 820 ":webrtc_opus_c",
821 "../../rtc_base:protobuf_utils",
850 ] 822 ]
851 823
852 defines = audio_codec_defines 824 defines = audio_codec_defines
853 825
854 if (rtc_build_opus) { 826 if (rtc_build_opus) {
855 public_deps += [ rtc_opus_dir ] 827 public_deps += [ rtc_opus_dir ]
856 } else if (build_with_mozilla) { 828 } else if (build_with_mozilla) {
857 include_dirs = [ getenv("DIST") + "/include/opus" ] 829 include_dirs = [ getenv("DIST") + "/include/opus" ]
858 } 830 }
859 } 831 }
(...skipping 1407 matching lines...) Expand 10 before | Expand all | Expand 10 after
2267 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead. 2239 # webrtc/api/audio_codecs:builtin_audio_decoder_factory instead.
2268 # TODO(ossu): Remove this. 2240 # TODO(ossu): Remove this.
2269 rtc_source_set("builtin_audio_encoder_factory") { 2241 rtc_source_set("builtin_audio_encoder_factory") {
2270 sources = [ 2242 sources = [
2271 "codecs/builtin_audio_encoder_factory.h", 2243 "codecs/builtin_audio_encoder_factory.h",
2272 ] 2244 ]
2273 deps = [ 2245 deps = [
2274 "../../api/audio_codecs:builtin_audio_encoder_factory", 2246 "../../api/audio_codecs:builtin_audio_encoder_factory",
2275 ] 2247 ]
2276 } 2248 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698