summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Raghavan <arun@asymptotic.io>2021-06-05 18:15:33 -0400
committerArun Raghavan <arun@asymptotic.io>2021-06-05 18:16:18 -0400
commit589a744585ca047a2b59127ab50f747cd7c56e32 (patch)
treedfe3771ffb6fdbf776e1decc6b04d2c7758e9046
parent8ac052ad6ffd5ba1328c44160ec6571dfd9b930d (diff)
downloadwebrtc-audio-processing-589a744585ca047a2b59127ab50f747cd7c56e32.tar.gz
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.
-rw-r--r--webrtc/rtc_base/system/warn_current_thread_is_deadlocked.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webrtc/rtc_base/system/warn_current_thread_is_deadlocked.h b/webrtc/rtc_base/system/warn_current_thread_is_deadlocked.h
index 4a0ba9d..ae4313e 100644
--- a/webrtc/rtc_base/system/warn_current_thread_is_deadlocked.h
+++ b/webrtc/rtc_base/system/warn_current_thread_is_deadlocked.h
@@ -14,7 +14,11 @@
namespace webrtc {
#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();
+ */
+inline void WarnThatTheCurrentThreadIsProbablyDeadlocked() {}
#else
inline void WarnThatTheCurrentThreadIsProbablyDeadlocked() {}
#endif