mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-14 06:10:40 +01:00

This reverts commit588f4642d1
. Reason for revert: Breaks WebRTC Chromium FYI Win Builder (dbg). lld-link: error: undefined symbol: "__declspec(dllimport) __thiscall webrtc::Config::Config(void)" (__imp_??0Config@webrtc@@QAE@XZ) [...] Original change's description: > Reland "Export symbols needed by the Chromium component build (part 1)." > > This reverts commit2ea9af2275
. > > Reason for revert: The problem will be fixed by > https://chromium-review.googlesource.com/c/chromium/src/+/1261122. > > Original change's description: > > Revert "Export symbols needed by the Chromium component build (part 1)." > > > > This reverts commit9e24dcff16
. > > > > Reason for revert: Breaks chromium.webrtc.fyi bots. > > > > Original change's description: > > > Export symbols needed by the Chromium component build (part 1). > > > > > > This CL uses RTC_EXPORT (defined in rtc_base/system/rtc_export.h) > > > to mark WebRTC symbols as visible from a shared library, this doesn't > > > mean these symbols are part of the public API (please continue to refer > > > to [1] for info about what is considered public WebRTC API). > > > > > > [1] - https://webrtc.googlesource.com/src/+/HEAD/native-api.md > > > > > > Bug: webrtc:9419 > > > Change-Id: I802abd32874d42d3aa5ecd3c8022e7cf5e043d99 > > > Reviewed-on: https://webrtc-review.googlesource.com/c/103505 > > > Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> > > > Reviewed-by: Niels Moller <nisse@webrtc.org> > > > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> > > > Cr-Commit-Position: refs/heads/master@{#24969} > > > > TBR=mbonadei@webrtc.org,kwiberg@webrtc.org,nisse@webrtc.org > > > > Change-Id: I01f6e18f0d2c0f0309cdaa6c943c3927e1f1f49f > > No-Presubmit: true > > No-Tree-Checks: true > > No-Try: true > > Bug: webrtc:9419 > > Reviewed-on: https://webrtc-review.googlesource.com/c/103720 > > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> > > Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> > > Cr-Commit-Position: refs/heads/master@{#24974} > > TBR=mbonadei@webrtc.org,kwiberg@webrtc.org,nisse@webrtc.org > > Change-Id: I83bbc7f550fc23e823c4d055e0a6f60c828960dd > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: webrtc:9419 > Reviewed-on: https://webrtc-review.googlesource.com/c/103740 > Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> > Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#24980} TBR=mbonadei@webrtc.org,kwiberg@webrtc.org,nisse@webrtc.org Change-Id: I4b7cfe492f2c8eeda5c8ac52520e0cfc95ade9b0 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:9419 Reviewed-on: https://webrtc-review.googlesource.com/c/103801 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24983}
66 lines
1.8 KiB
Text
66 lines
1.8 KiB
Text
# 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") {
|
|
visibility = [ "*" ]
|
|
sources = [
|
|
"audio_encoder_opus_config.cc",
|
|
"audio_encoder_opus_config.h",
|
|
]
|
|
deps = [
|
|
"../../../rtc_base:rtc_base_approved",
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
]
|
|
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") {
|
|
visibility = [ "*" ]
|
|
poisonous = [ "audio_codecs" ]
|
|
public = [
|
|
"audio_encoder_opus.h",
|
|
]
|
|
sources = [
|
|
"audio_encoder_opus.cc",
|
|
]
|
|
deps = [
|
|
":audio_encoder_opus_config",
|
|
"..:audio_codecs_api",
|
|
"../../../modules/audio_coding:webrtc_opus",
|
|
"../../../rtc_base:rtc_base_approved",
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
]
|
|
}
|
|
|
|
rtc_static_library("audio_decoder_opus") {
|
|
visibility = [ "*" ]
|
|
poisonous = [ "audio_codecs" ]
|
|
sources = [
|
|
"audio_decoder_opus.cc",
|
|
"audio_decoder_opus.h",
|
|
]
|
|
deps = [
|
|
"..:audio_codecs_api",
|
|
"../../..:webrtc_common",
|
|
"../../../modules/audio_coding:webrtc_opus",
|
|
"../../../rtc_base:rtc_base_approved",
|
|
"//third_party/abseil-cpp/absl/memory",
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
|
]
|
|
}
|