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_ANDROID_FRAMEWORK_USE_PERFETTO 7 #define SK_ANDROID_FRAMEWORK_USE_PERFETTO 8 #endif 9 10 #ifndef SK_CODEC_DECODES_AVIF 11 #define SK_CODEC_DECODES_AVIF 12 #endif 13 14 #ifndef SK_CODEC_DECODES_BMP 15 #define SK_CODEC_DECODES_BMP 16 #endif 17 18 #ifndef SK_CODEC_DECODES_GIF 19 #define SK_CODEC_DECODES_GIF 20 #endif 21 22 #ifndef SK_CODEC_DECODES_ICO 23 #define SK_CODEC_DECODES_ICO 24 #endif 25 26 #ifndef SK_CODEC_DECODES_JPEG 27 #define SK_CODEC_DECODES_JPEG 28 #endif 29 30 #ifndef SK_CODEC_DECODES_JPEG_GAINMAPS 31 #define SK_CODEC_DECODES_JPEG_GAINMAPS 32 #endif 33 34 #ifndef SK_CODEC_DECODES_PNG 35 #define SK_CODEC_DECODES_PNG 36 #endif 37 38 #ifndef SK_CODEC_DECODES_PNG_WITH_LIBPNG 39 #define SK_CODEC_DECODES_PNG_WITH_LIBPNG 40 #endif 41 42 #ifndef SK_CODEC_DECODES_RAW 43 #define SK_CODEC_DECODES_RAW 44 #endif 45 46 #ifndef SK_CODEC_DECODES_WBMP 47 #define SK_CODEC_DECODES_WBMP 48 #endif 49 50 #ifndef SK_CODEC_DECODES_WEBP 51 #define SK_CODEC_DECODES_WEBP 52 #endif 53 54 #ifndef SK_CODEC_ENCODES_JPEG 55 #define SK_CODEC_ENCODES_JPEG 56 #endif 57 58 #ifndef SK_CODEC_ENCODES_PNG 59 #define SK_CODEC_ENCODES_PNG 60 #endif 61 62 #ifndef SK_CODEC_ENCODES_PNG_WITH_LIBPNG 63 #define SK_CODEC_ENCODES_PNG_WITH_LIBPNG 64 #endif 65 66 #ifndef SK_CODEC_ENCODES_WEBP 67 #define SK_CODEC_ENCODES_WEBP 68 #endif 69 70 #ifndef SK_ENABLE_ANDROID_UTILS 71 #define SK_ENABLE_ANDROID_UTILS 72 #endif 73 74 #ifndef SK_ENABLE_AVX512_OPTS 75 #define SK_ENABLE_AVX512_OPTS 76 #endif 77 78 #ifndef SK_ENABLE_PRECOMPILE 79 #define SK_ENABLE_PRECOMPILE 80 #endif 81 82 #ifndef SK_FONTMGR_ANDROID_NDK_AVAILABLE 83 #define SK_FONTMGR_ANDROID_NDK_AVAILABLE 84 #endif 85 86 #ifndef SK_FONTMGR_FREETYPE_EMPTY_AVAILABLE 87 #define SK_FONTMGR_FREETYPE_EMPTY_AVAILABLE 88 #endif 89 90 #ifndef SK_GAMMA_APPLY_TO_A8 91 #define SK_GAMMA_APPLY_TO_A8 92 #endif 93 94 #ifndef SK_GAMMA_CONTRAST 95 #define SK_GAMMA_CONTRAST 0.0 96 #endif 97 98 #ifndef SK_GAMMA_EXPONENT 99 #define SK_GAMMA_EXPONENT 1.4 100 #endif 101 102 #ifndef SK_GANESH 103 #define SK_GANESH 104 #endif 105 106 #ifndef SK_GL 107 #define SK_GL 108 #endif 109 110 #ifndef SK_HAS_HEIF_LIBRARY 111 #define SK_HAS_HEIF_LIBRARY 112 #endif 113 114 #ifndef SK_HAS_WUFFS_LIBRARY 115 #define SK_HAS_WUFFS_LIBRARY 116 #endif 117 118 #ifndef SK_SUPPORT_PDF 119 #define SK_SUPPORT_PDF 120 #endif 121 122 #ifndef SK_TYPEFACE_FACTORY_FREETYPE 123 #define SK_TYPEFACE_FACTORY_FREETYPE 124 #endif 125 126 #ifndef SK_USE_VMA 127 #define SK_USE_VMA 128 #endif 129 130 #ifndef SK_VULKAN 131 #define SK_VULKAN 132 #endif 133 134 #ifndef SK_XML 135 #define SK_XML 136 #endif 137 138 #ifndef SK_BUILD_FOR_ANDROID 139 #error "SK_BUILD_FOR_ANDROID must be defined!" 140 #endif 141 #if defined(SK_BUILD_FOR_IOS) || defined(SK_BUILD_FOR_MAC) || \ 142 defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_WIN) 143 #error "Only SK_BUILD_FOR_ANDROID should be defined!" 144 #endif 145