Mark EnableMedia with RTC_EXPORT

Bug: webrtc:15574
Change-Id: I324f9694bfe41fa9831a24eb4e3c4373b43a9cbb
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/325523
Auto-Submit: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#41055}
This commit is contained in:
Danil Chapovalov 2023-10-31 19:30:06 +01:00 committed by WebRTC LUCI CQ
parent d7fb7e4a5f
commit 93214073f1
2 changed files with 3 additions and 1 deletions

View file

@ -46,6 +46,7 @@ rtc_source_set("enable_media") {
"../call",
"../media:rtc_audio_video",
"../pc:media_factory",
"../rtc_base/system:rtc_export",
]
}

View file

@ -12,6 +12,7 @@
#define API_ENABLE_MEDIA_H_
#include "api/peer_connection_interface.h"
#include "rtc_base/system/rtc_export.h"
namespace webrtc {
@ -19,7 +20,7 @@ namespace webrtc {
// This function is located in its own build target to allow webrtc users that
// do not need any media to avoid linking media specific code and thus to reduce
// binary size.
void EnableMedia(PeerConnectionFactoryDependencies& deps);
RTC_EXPORT void EnableMedia(PeerConnectionFactoryDependencies& deps);
} // namespace webrtc