blob: 10d0fe8a3ccebfa21393c32a8660587b024ba80a [file] [log] [blame] [edit]
/*
* Copyright 2021 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkRenderEngineAbortf_DEFINED
#define SkRenderEngineAbortf_DEFINED
#include "include/core/SkTypes.h"
#if defined(SK_IN_RENDERENGINE)
#define RENDERENGINE_ABORTF(...) SK_ABORT(__VA_ARGS__)
#elif defined(SK_BUILD_FOR_ANDROID)
#define RENDERENGINE_ABORTF(...) SkDebugf(__VA_ARGS__)
#else
#define RENDERENGINE_ABORTF(...)
#endif
#endif// SkRenderEngineAbortf_DEFINED