2017-02-10 08:15:44 -08:00
|
|
|
# Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
|
|
import("../../webrtc.gni")
|
|
|
|
|
if (is_android) {
|
|
|
|
|
import("//build/config/android/config.gni")
|
|
|
|
|
import("//build/config/android/rules.gni")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("audio_codecs_api") {
|
|
|
|
|
sources = [
|
|
|
|
|
"audio_decoder.cc",
|
|
|
|
|
"audio_decoder.h",
|
|
|
|
|
"audio_decoder_factory.h",
|
2017-05-02 06:46:30 -07:00
|
|
|
"audio_encoder.cc",
|
|
|
|
|
"audio_encoder.h",
|
|
|
|
|
"audio_encoder_factory.h",
|
2017-06-16 10:42:05 -07:00
|
|
|
"audio_encoder_factory_template.h",
|
2017-02-10 08:15:44 -08:00
|
|
|
"audio_format.cc",
|
|
|
|
|
"audio_format.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"../..:webrtc_common",
|
|
|
|
|
"../../base:rtc_base_approved",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_static_library("builtin_audio_decoder_factory") {
|
|
|
|
|
sources = [
|
|
|
|
|
"builtin_audio_decoder_factory.cc",
|
|
|
|
|
"builtin_audio_decoder_factory.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_codecs_api",
|
|
|
|
|
"../../base:rtc_base_approved",
|
|
|
|
|
"../../modules/audio_coding:builtin_audio_decoder_factory_internal",
|
|
|
|
|
]
|
|
|
|
|
}
|
2017-05-02 06:46:30 -07:00
|
|
|
|
|
|
|
|
rtc_static_library("builtin_audio_encoder_factory") {
|
|
|
|
|
sources = [
|
|
|
|
|
"builtin_audio_encoder_factory.cc",
|
|
|
|
|
"builtin_audio_encoder_factory.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_codecs_api",
|
|
|
|
|
"../../base:rtc_base_approved",
|
|
|
|
|
"../../modules/audio_coding:builtin_audio_encoder_factory_internal",
|
|
|
|
|
]
|
|
|
|
|
}
|