This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Description
when " build libwebrtc for OWT Android SDK with scripts/build_android.py " error,
无法生存文件obj/third_party/webrtc/rtc_base/logging/logging.o
building libjingle_peerconnection_so for arm release ninja: Entering directory/home/hou/chromium/src/out/releasearm'
[6/929] CXX obj/third_party/webrtc/rtc_base/logging/logging.o
FAILED: obj/third_party/webrtc/rtc_base/logging/logging.o 错误原因是:../../third_party/webrtc/rtc_base/logging.cc:53:36: error: use of undeclared identifier 'LS_NONE'
static LoggingSeverity g_min_sev = LS_NONE;
^
../../third_party/webrtc/rtc_base/logging.cc:54:36: error: use of undeclared identifier 'LS_NONE'
static LoggingSeverity g_dbg_sev = LS_NONE;
^
../../third_party/webrtc/rtc_base/logging.cc:82:6: error: use of undeclared identifier 'LogSink'
void LogSink::OnLogMessage(const std::string& msg,
......
`
fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. [11/929] CXX obj/third_party/webrtc/pc/rtc_pc_base/srtpsession.o ninja: build stopped: subcommand failed.