Add String Formatting Util

(Merged from http://go/wvgerrit/160042.)

Since we don't have access to std::format yet, this patch adds a
function to wvutil to format text into a std::string.

Bug: 255466913
Test: x86-64
Test: raven
Change-Id: I28043da76af5b4772a29fa7e7241343caf9b54a1
This commit is contained in:
John "Juce" Bruce
2022-11-14 21:20:40 -08:00
committed by John Bruce
parent a3e67a9104
commit ff73463d0b
5 changed files with 124 additions and 0 deletions

View File

@@ -309,6 +309,7 @@ cdm_util_src_files = [
"cdm/util/src/platform.cpp",
"cdm/util/src/rw_lock.cpp",
"cdm/util/src/string_conversions.cpp",
"cdm/util/src/string_format.cpp",
]
cc_library_static {