RTC_EXPORT missing symbols for Chromium's component build.
This CL adds a dependecy on rtc_base/system:rtc_export to rtc_event but only when built as part of Chromium (since rtc::Event should not be used outside of WebRTC). It also adds other missing RTC_EXPORTS. Bug: webrtc:9419 Change-Id: Ib338004a5404a6b3c7929e146c29ad42572632cc Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/159692 Reviewed-by: Steve Anton <steveanton@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29781}
This commit is contained in:

committed by
Commit Bot

parent
f47c2ab889
commit
d4002a733d
@ -22,6 +22,7 @@ rtc_library("task_queue") {
|
||||
deps = [
|
||||
"../../rtc_base:checks",
|
||||
"../../rtc_base:macromagic",
|
||||
"../../rtc_base/system:rtc_export",
|
||||
"//third_party/abseil-cpp/absl/base:config",
|
||||
"//third_party/abseil-cpp/absl/base:core_headers",
|
||||
"//third_party/abseil-cpp/absl/strings",
|
||||
|
@ -13,6 +13,7 @@
|
||||
#include <memory>
|
||||
|
||||
#include "api/task_queue/queued_task.h"
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
#include "rtc_base/thread_annotations.h"
|
||||
|
||||
namespace webrtc {
|
||||
@ -21,7 +22,7 @@ namespace webrtc {
|
||||
// in FIFO order and that tasks never overlap. Tasks may always execute on the
|
||||
// same worker thread and they may not. To DCHECK that tasks are executing on a
|
||||
// known task queue, use IsCurrent().
|
||||
class RTC_LOCKABLE TaskQueueBase {
|
||||
class RTC_LOCKABLE RTC_EXPORT TaskQueueBase {
|
||||
public:
|
||||
// Starts destruction of the task queue.
|
||||
// On return ensures no task are running and no new tasks are able to start
|
||||
|
@ -29,7 +29,7 @@ namespace webrtc {
|
||||
|
||||
class RTC_EXPORT VideoFrame {
|
||||
public:
|
||||
struct UpdateRect {
|
||||
struct RTC_EXPORT UpdateRect {
|
||||
int offset_x;
|
||||
int offset_y;
|
||||
int width;
|
||||
|
@ -246,9 +246,9 @@ class RTC_EXPORT AudioProcessing : public rtc::RefCountInterface {
|
||||
// top-level processing effects. Use during processing may cause undesired
|
||||
// submodule resets, affecting the audio quality. Use the RuntimeSetting
|
||||
// construct for runtime configuration.
|
||||
struct Config {
|
||||
struct RTC_EXPORT Config {
|
||||
// Sets the properties of the audio processing pipeline.
|
||||
struct Pipeline {
|
||||
struct RTC_EXPORT Pipeline {
|
||||
Pipeline();
|
||||
|
||||
// Maximum allowed processing rate used internally. May only be set to
|
||||
|
@ -228,6 +228,7 @@ rtc_library("rtc_event") {
|
||||
]
|
||||
deps = [
|
||||
":checks",
|
||||
"system:rtc_export", # Only Chromium's rtc::Event use RTC_EXPORT.
|
||||
"//base", # Dependency on chromium's waitable_event.
|
||||
]
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user