Add missing RTC_EXPORT for the Chromium Windows build.
After fixing the issue with crbug.com/1018579, lld-link complained that some symbols need to be exported, see [1]. [1] - https://ci.chromium.org/p/chromium/builders/try/win_chromium_compile_dbg_ng/432025 Bug: webrtc:9419 Change-Id: I9107a9c76361f4c66463a9af2e81a3991ae14df5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/159007 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29721}
This commit is contained in:
parent
70ec48ca28
commit
54875d05f1
@ -33,7 +33,7 @@ class RTC_EXPORT RTCStatsReport : public rtc::RefCountInterface {
|
||||
public:
|
||||
typedef std::map<std::string, std::unique_ptr<const RTCStats>> StatsMap;
|
||||
|
||||
class ConstIterator {
|
||||
class RTC_EXPORT ConstIterator {
|
||||
public:
|
||||
ConstIterator(ConstIterator&& other);
|
||||
~ConstIterator();
|
||||
|
||||
@ -144,7 +144,7 @@ class RTC_EXPORT VideoEncoder {
|
||||
};
|
||||
|
||||
// Struct containing metadata about the encoder implementing this interface.
|
||||
struct EncoderInfo {
|
||||
struct RTC_EXPORT EncoderInfo {
|
||||
static constexpr uint8_t kMaxFramerateFraction =
|
||||
std::numeric_limits<uint8_t>::max();
|
||||
|
||||
|
||||
@ -67,7 +67,7 @@ class RTC_EXPORT DesktopRegion {
|
||||
public:
|
||||
// Iterator that can be used to iterate over rectangles of a DesktopRegion.
|
||||
// The region must not be mutated while the iterator is used.
|
||||
class Iterator {
|
||||
class RTC_EXPORT Iterator {
|
||||
public:
|
||||
explicit Iterator(const DesktopRegion& target);
|
||||
~Iterator();
|
||||
|
||||
@ -16,10 +16,11 @@
|
||||
#include <string>
|
||||
|
||||
#include "rtc_base/constructor_magic.h"
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
class Desktop {
|
||||
class RTC_EXPORT Desktop {
|
||||
public:
|
||||
~Desktop();
|
||||
|
||||
|
||||
@ -16,12 +16,13 @@
|
||||
#include <memory>
|
||||
|
||||
#include "rtc_base/constructor_magic.h"
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
class Desktop;
|
||||
|
||||
class ScopedThreadDesktop {
|
||||
class RTC_EXPORT ScopedThreadDesktop {
|
||||
public:
|
||||
ScopedThreadDesktop();
|
||||
~ScopedThreadDesktop();
|
||||
|
||||
@ -23,11 +23,12 @@
|
||||
#include "modules/desktop_capture/screen_capture_frame_queue.h"
|
||||
#include "modules/desktop_capture/win/dxgi_duplicator_controller.h"
|
||||
#include "modules/desktop_capture/win/dxgi_frame.h"
|
||||
#include "rtc_base/system/rtc_export.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
// ScreenCapturerWinDirectx captures 32bit RGBA using DirectX.
|
||||
class ScreenCapturerWinDirectx : public DesktopCapturer {
|
||||
class RTC_EXPORT ScreenCapturerWinDirectx : public DesktopCapturer {
|
||||
public:
|
||||
using D3dInfo = DxgiDuplicatorController::D3dInfo;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user