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

Side by Side Diff: webrtc/api/audio_codecs/BUILD.gn

Issue 2934833002: G722 implementation of the AudioEncoderFactoryTemplate API (Closed)
Patch Set: Created 3 years, 6 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) 2017 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2017 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 if (is_android) { 10 if (is_android) {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 "builtin_audio_encoder_factory.cc", 47 "builtin_audio_encoder_factory.cc",
48 "builtin_audio_encoder_factory.h", 48 "builtin_audio_encoder_factory.h",
49 ] 49 ]
50 deps = [ 50 deps = [
51 ":audio_codecs_api", 51 ":audio_codecs_api",
52 "../../base:rtc_base_approved", 52 "../../base:rtc_base_approved",
53 "../../modules/audio_coding:builtin_audio_encoder_factory_internal", 53 "../../modules/audio_coding:builtin_audio_encoder_factory_internal",
54 ] 54 ]
55 } 55 }
56 56
57 rtc_source_set("audio_encoder_g722_config") {
58 sources = [
59 "audio_encoder_g722_config.h",
60 ]
61 }
62
63 rtc_static_library("audio_encoder_g722") {
64 sources = [
65 "audio_encoder_g722.cc",
66 "audio_encoder_g722.h",
67 ]
68 deps = [
69 ":audio_codecs_api",
70 ":audio_encoder_g722_config",
71 "../../base:rtc_base_approved",
72 "../../modules/audio_coding:g722",
73 ]
74 }
75
57 rtc_static_library("audio_encoder_opus_config") { 76 rtc_static_library("audio_encoder_opus_config") {
58 sources = [ 77 sources = [
59 "audio_encoder_opus_config.cc", 78 "audio_encoder_opus_config.cc",
60 "audio_encoder_opus_config.h", 79 "audio_encoder_opus_config.h",
61 ] 80 ]
62 deps = [ 81 deps = [
63 "../../base:rtc_base_approved", 82 "../../base:rtc_base_approved",
64 ] 83 ]
65 defines = [] 84 defines = []
66 if (rtc_opus_variable_complexity) { 85 if (rtc_opus_variable_complexity) {
67 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ] 86 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ]
68 } else { 87 } else {
69 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ] 88 defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ]
70 } 89 }
71 } 90 }
72 91
73 rtc_static_library("audio_encoder_opus") { 92 rtc_static_library("audio_encoder_opus") {
74 sources = [ 93 sources = [
75 "audio_encoder_opus.cc", 94 "audio_encoder_opus.cc",
76 "audio_encoder_opus.h", 95 "audio_encoder_opus.h",
77 ] 96 ]
78 deps = [ 97 deps = [
79 ":audio_codecs_api", 98 ":audio_codecs_api",
80 ":audio_encoder_opus_config", 99 ":audio_encoder_opus_config",
81 "../../base:protobuf_utils", # TODO(kwiberg): Why is this needed? 100 "../../base:protobuf_utils", # TODO(kwiberg): Why is this needed?
82 "../../base:rtc_base_approved", 101 "../../base:rtc_base_approved",
83 "../../modules/audio_coding:webrtc_opus", 102 "../../modules/audio_coding:webrtc_opus",
84 ] 103 ]
85 } 104 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/audio_codecs/audio_encoder_g722.h » ('j') | webrtc/api/audio_codecs/audio_encoder_g722.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698