rtc_base: fix -Wformat-nonliteral warning

This fixes  -Wformat-nonliteral when building with glibc 2.27

TEST=emerge-samus webrtc-apm with glibc 2.27

Change-Id: I9db84c2146b2bb366e07d9d54546d91bf3a6713d
Reviewed-on: https://chromium-review.googlesource.com/1277980
Commit-Ready: Yunlian Jiang <yunlian@chromium.org>
Tested-by: Yunlian Jiang <yunlian@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
1 file changed
tree: 1edd117a1becc64dcfd75efd1f7978da78b5420e
  1. absl/
  2. api/
  3. audio/
  4. common_audio/
  5. modules/
  6. rtc_base/
  7. script/
  8. system_wrappers/
  9. third_party/
  10. common.mk
  11. common_types.h
  12. libwebrtc_apm.pc.template
  13. Makefile
  14. pc_utils.mk
  15. README.md
  16. typedefs.h
  17. webrtc_apm.cc
  18. webrtc_apm.h


APM is the audio processing module of WebRTC project in charge of effects like echo cancellation, noise suppression, etc. The purpose of this project is to build a standalone library for Chrome OS system side audio processing.

Files content

  • scripts to copy over folders and files from upstream WebRTC project for APM and its dependencies.
  • Copied files from upstream WebRTC project. For example: common_audio, modules, rtc_base and system_wrappers.
  • webrtc_apm.cc/h C wrappers to access APM functions.
  • common-mk based makefiles to build shared library libwebrtc_apm.so


To update this package to latest upstream WebRC:

  • Run ./script/sync-apm.sh path/to/webrtc-checkout/src .
  • emerge webrtc-apm to see if anything breaks.
  • If emerge success, then we're good.
  • Otherwise look into the emerge failure, and then possibly:
    • Update sync-apm.sh to copy more files if upstream directory structure changes.
    • Update makefiles if upstream build files has changed.
    • Update webrtc-apm ebuild file if dependencies changed.
  • Create a new commit