1 /*
2  * Copyright 2016 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 #ifndef SkFuzzLogging_DEFINED
9 #define SkFuzzLogging_DEFINED
10 
11 // Utilities for Skia's fuzzer
12 
13 // When SK_FUZZ_LOGGING is defined SkDebugfs relevant to image filter fuzzing
14 // will be enabled. This allows the filter fuzzing code to white list fuzzer
15 // failures based on the output logs.
16 // Define this flag in your SkUserConfig.h or in your Make/Build system.
17 #ifdef SK_FUZZ_LOGGING
18     #define SkFUZZF(args) SkDebugf("SkFUZZ: "); SkDebugf args
19 #else
20     #define SkFUZZF(args)
21 #endif
22 
23 #endif
24