Export more symbols to fix Chromecast component build

When building certain Chromecast build flavors in component build mode,
there are some link errors due to symbols not being exported. This CL
fixes those issues.

TBR: kwiberg@webrtc.org
Bug: None
Change-Id: I408f0a84b8ac4610cc6b5aa6ff58248ea82c9c66
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/161148
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29992}
This commit is contained in:
Ken MacKay 2019-12-02 10:26:34 -08:00 committed by Commit Bot
parent 3c2679f1bb
commit 831ce5f171
6 changed files with 10 additions and 4 deletions

View File

@ -486,6 +486,7 @@ rtc_library("audio_options_api") {
deps = [
":array_view",
"../rtc_base:stringutils",
"../rtc_base/system:rtc_export",
"//third_party/abseil-cpp/absl/types:optional",
]
}

View File

@ -37,7 +37,8 @@ Aec3ConfigFromJsonString(absl::string_view json_string);
// Encodes an Aec3 config in JSON format. Fields corresponds to substruct names,
// with the addition that the top-level node is named "aec3".
std::string Aec3ConfigToJsonString(const EchoCanceller3Config& config);
RTC_EXPORT std::string Aec3ConfigToJsonString(
const EchoCanceller3Config& config);
} // namespace webrtc

View File

@ -16,6 +16,7 @@
#include <string>
#include "absl/types/optional.h"
#include "rtc_base/system/rtc_export.h"
namespace cricket {
@ -23,7 +24,7 @@ namespace cricket {
// Used to be flags, but that makes it hard to selectively apply options.
// We are moving all of the setting of options to structs like this,
// but some things currently still use flags.
struct AudioOptions {
struct RTC_EXPORT AudioOptions {
AudioOptions();
~AudioOptions();
void SetAll(const AudioOptions& change);

View File

@ -1339,7 +1339,8 @@ struct RTC_EXPORT PeerConnectionFactoryDependencies final {
// of networking classes, it should use the alternate
// CreatePeerConnectionFactory method which accepts threads as input, and use
// the CreatePeerConnection version that takes a PortAllocator as an argument.
class PeerConnectionFactoryInterface : public rtc::RefCountInterface {
class RTC_EXPORT PeerConnectionFactoryInterface
: public rtc::RefCountInterface {
public:
class Options {
public:

View File

@ -370,6 +370,7 @@ rtc_library("rtc_media_engine_defaults") {
"../api/video_codecs:builtin_video_encoder_factory",
"../modules/audio_processing:api",
"../rtc_base:checks",
"../rtc_base/system:rtc_export",
]
}

View File

@ -12,11 +12,12 @@
#define MEDIA_ENGINE_WEBRTC_MEDIA_ENGINE_DEFAULTS_H_
#include "media/engine/webrtc_media_engine.h"
#include "rtc_base/system/rtc_export.h"
namespace webrtc {
// Sets required but null dependencies with default factories.
void SetMediaEngineDefaults(cricket::MediaEngineDependencies* deps);
RTC_EXPORT void SetMediaEngineDefaults(cricket::MediaEngineDependencies* deps);
} // namespace webrtc