commit | f7d704340883de10fd3c34d5b8849300c7879539 | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Thu May 28 15:46:38 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu May 28 20:46:03 2020 +0000 |
tree | ac9c08a8e0a0a09efa34365f696185fd141efb39 | |
parent | 3e7d511de3340efbd791e148d3e18b51c68ec625 [diff] |
Add support for SkASSERTF and SkDEBUGFAIL(F) in SKSL_STANDALONE. This is a simple safeguard to prevent against code that compiles properly in full Skia builds, but fails in a SkSL standalone build. A few SkASSERT(false) calls have been replaced with SkDEBUGFAIL("message") in order to exercise the new call. This CL should unblock https://skia-review.googlesource.com/c/skia/+/292689 Change-Id: I83b0b9d28bd74c5cb1869510b0fb34792c6b2385 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/292693 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com>