
Reason for revert:
Breaks lots of downstream projects.
Original issue's description:
> Remove remains of webrtc/base
>
> All downstream code have been updated to the new location.
>
> In PRESUBMIT.py:
> * Remove webrtc/rtc_base from CPP_BLACKLIST
> * Add webrtc/rtc_base to LEGACY_API_DIRS
>
> Fix some duplicated paths in
> webrtc/modules/audio_processing/test/conversational_speech/BUILD.gn
>
> BUG=webrtc:7634
> TBR=kwiberg@webrtc.org
>
> Review-Url: https://codereview.webrtc.org/2973183002
> Cr-Commit-Position: refs/heads/master@{#18948}
> Committed:
9483b49baf
TBR=kwiberg@webrtc.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:7634
Review-Url: https://codereview.webrtc.org/2976633002
Cr-Commit-Position: refs/heads/master@{#18949}
56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
# 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_static_library("audio_encoder_opus_config") {
|
|
sources = [
|
|
"audio_encoder_opus_config.cc",
|
|
"audio_encoder_opus_config.h",
|
|
]
|
|
deps = [
|
|
"../../../base:rtc_base_approved",
|
|
]
|
|
defines = []
|
|
if (rtc_opus_variable_complexity) {
|
|
defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=1" ]
|
|
} else {
|
|
defines += [ "WEBRTC_OPUS_VARIABLE_COMPLEXITY=0" ]
|
|
}
|
|
}
|
|
|
|
rtc_source_set("audio_encoder_opus") {
|
|
sources = [
|
|
"audio_encoder_opus.h",
|
|
]
|
|
deps = [
|
|
":audio_encoder_opus_config",
|
|
"..:audio_codecs_api",
|
|
"../../../base:protobuf_utils", # TODO(kwiberg): Why is this needed?
|
|
"../../../base:rtc_base_approved",
|
|
"../../../modules/audio_coding:webrtc_opus",
|
|
]
|
|
}
|
|
|
|
rtc_static_library("audio_decoder_opus") {
|
|
sources = [
|
|
"audio_decoder_opus.cc",
|
|
"audio_decoder_opus.h",
|
|
]
|
|
deps = [
|
|
"..:audio_codecs_api",
|
|
"../../..:webrtc_common",
|
|
"../../../base:rtc_base_approved",
|
|
"../../../modules/audio_coding:webrtc_opus",
|
|
]
|
|
}
|