skia2/platform_tools/android
John Stiles 67e50a6b5c Allow printf-style formatting to be used in SK_ABORT.
SK_ABORT was already using SkDebugf to print the error message to the
console, so all the moving parts were there. This CL just adds a
mechanism for the calling code to pass in arguments.

Added a use case to demonstrate usage--when an allocation fails, the
requested size is now shown in the error message.

Change-Id: I42f141151fb57a399c086926249816833f349ddb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/293272
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2020-06-01 18:49:37 +00:00
..
apps Allow printf-style formatting to be used in SK_ABORT. 2020-06-01 18:49:37 +00:00
bin Improve selection of target_cpu in android_gdbserver 2020-04-21 19:31:54 +00:00
launcher
skp_gen [minor] mark scripts as executable 2019-11-21 17:06:27 +00:00
tradefed
vulkan
.gitignore
gclient.config
whitespace.txt