Fix build on Android

There's a bit of system integration that we haven't pulled in (as it has
transitive dependencies), so we manually stub it out.
This commit is contained in:
Arun Raghavan 2021-06-05 18:15:33 -04:00
parent 8ac052ad6f
commit 589a744585

View File

@ -14,7 +14,11 @@
namespace webrtc { namespace webrtc {
#if defined(WEBRTC_ANDROID) && !defined(WEBRTC_CHROMIUM_BUILD) #if defined(WEBRTC_ANDROID) && !defined(WEBRTC_CHROMIUM_BUILD)
/* webrtc-audio-processing:
* We don't support the Android SDK integration for this, so stub out
void WarnThatTheCurrentThreadIsProbablyDeadlocked(); void WarnThatTheCurrentThreadIsProbablyDeadlocked();
*/
inline void WarnThatTheCurrentThreadIsProbablyDeadlocked() {}
#else #else
inline void WarnThatTheCurrentThreadIsProbablyDeadlocked() {} inline void WarnThatTheCurrentThreadIsProbablyDeadlocked() {}
#endif #endif