Enable usrsctp runtime checks.
The usrsctp library has a mechanism to enforce invariants (similar to CHECK or RTC_CHECK). In order to enable these checks, the macro INVARIANTS needs to be defined on all the usrsctp translation units. Maybe, this macro should be renamed into USRSCTP_ENABLE_CHECKS or at least into something with USRSCTP_ as prefix. This CL enables these runtime checks in debug builds and when the build is explicitly asking for them (dcheck_always_on=true). Bug: None Change-Id: Id63d78200ae2a762b86a4dc0c70d1a04e7d94350 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2600903Reviewed-by:Harald Alvestrand <hta@chromium.org> Commit-Queue: Mirko Bonadei <mbonadei@chromium.org> Cr-Commit-Position: refs/heads/master@{#840138}
Showing
Please register or sign in to comment