1 // DO NOT MODIFY! This file is autogenerated by gn_to_bp.py. 2 // If need to change a define, modify SkUserConfigManual.h 3 #pragma once 4 #include "SkUserConfigManual.h" 5 6 #ifndef SK_CODEC_DECODES_JPEG 7 #define SK_CODEC_DECODES_JPEG 8 #endif 9 10 #ifndef SK_CODEC_DECODES_PNG 11 #define SK_CODEC_DECODES_PNG 12 #endif 13 14 #ifndef SK_CODEC_DECODES_RAW 15 #define SK_CODEC_DECODES_RAW 16 #endif 17 18 #ifndef SK_CODEC_DECODES_WEBP 19 #define SK_CODEC_DECODES_WEBP 20 #endif 21 22 #ifndef SK_ENABLE_ANDROID_UTILS 23 #define SK_ENABLE_ANDROID_UTILS 24 #endif 25 26 #ifndef SK_ENCODE_JPEG 27 #define SK_ENCODE_JPEG 28 #endif 29 30 #ifndef SK_ENCODE_PNG 31 #define SK_ENCODE_PNG 32 #endif 33 34 #ifndef SK_ENCODE_WEBP 35 #define SK_ENCODE_WEBP 36 #endif 37 38 #ifndef SK_GAMMA_APPLY_TO_A8 39 #define SK_GAMMA_APPLY_TO_A8 40 #endif 41 42 #ifndef SK_GAMMA_CONTRAST 43 #define SK_GAMMA_CONTRAST 0.0 44 #endif 45 46 #ifndef SK_GAMMA_EXPONENT 47 #define SK_GAMMA_EXPONENT 1.4 48 #endif 49 50 #ifndef SK_GL 51 #define SK_GL 52 #endif 53 54 #ifndef SK_HAS_ANDROID_CODEC 55 #define SK_HAS_ANDROID_CODEC 56 #endif 57 58 #ifndef SK_HAS_HEIF_LIBRARY 59 #define SK_HAS_HEIF_LIBRARY 60 #endif 61 62 #ifndef SK_SUPPORT_PDF 63 #define SK_SUPPORT_PDF 64 #endif 65 66 #ifndef SK_USE_LIBGIFCODEC 67 #define SK_USE_LIBGIFCODEC 68 #endif 69 70 #ifndef SK_USE_VMA 71 #define SK_USE_VMA 72 #endif 73 74 #ifndef SK_VULKAN 75 #define SK_VULKAN 76 #endif 77 78 #ifndef SK_XML 79 #define SK_XML 80 #endif 81 82 #ifndef SK_BUILD_FOR_ANDROID 83 #error "SK_BUILD_FOR_ANDROID must be defined!" 84 #endif 85 #if defined(SK_BUILD_FOR_IOS) || defined(SK_BUILD_FOR_MAC) || \ 86 defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_WIN) 87 #error "Only SK_BUILD_FOR_ANDROID should be defined!" 88 #endif 89