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_ASSUME_GL 7 #define SK_ASSUME_GL 1 8 #endif 9 10 #ifndef SK_CODEC_DECODES_JPEG 11 #define SK_CODEC_DECODES_JPEG 12 #endif 13 14 #ifndef SK_CODEC_DECODES_PNG 15 #define SK_CODEC_DECODES_PNG 16 #endif 17 18 #ifndef SK_CODEC_DECODES_RAW 19 #define SK_CODEC_DECODES_RAW 20 #endif 21 22 #ifndef SK_CODEC_DECODES_WEBP 23 #define SK_CODEC_DECODES_WEBP 24 #endif 25 26 #ifndef SK_ENABLE_ANDROID_UTILS 27 #define SK_ENABLE_ANDROID_UTILS 28 #endif 29 30 #ifndef SK_ENABLE_API_AVAILABLE 31 #define SK_ENABLE_API_AVAILABLE 32 #endif 33 34 #ifndef SK_ENCODE_JPEG 35 #define SK_ENCODE_JPEG 36 #endif 37 38 #ifndef SK_ENCODE_PNG 39 #define SK_ENCODE_PNG 40 #endif 41 42 #ifndef SK_ENCODE_WEBP 43 #define SK_ENCODE_WEBP 44 #endif 45 46 #ifndef SK_GAMMA_APPLY_TO_A8 47 #define SK_GAMMA_APPLY_TO_A8 48 #endif 49 50 #ifndef SK_GAMMA_CONTRAST 51 #define SK_GAMMA_CONTRAST 0.0 52 #endif 53 54 #ifndef SK_GAMMA_EXPONENT 55 #define SK_GAMMA_EXPONENT 1.4 56 #endif 57 58 #ifndef SK_HAS_ANDROID_CODEC 59 #define SK_HAS_ANDROID_CODEC 60 #endif 61 62 #ifndef SK_SUPPORT_GPU 63 #define SK_SUPPORT_GPU 0 64 #endif 65 66 #ifndef SK_SUPPORT_PDF 67 #define SK_SUPPORT_PDF 68 #endif 69 70 #ifndef SK_USE_LIBGIFCODEC 71 #define SK_USE_LIBGIFCODEC 72 #endif 73 74 #ifndef SK_XML 75 #define SK_XML 76 #endif 77 78 // Correct SK_BUILD_FOR flags that may have been set by 79 // SkTypes.h/Android.bp 80 #ifndef SK_BUILD_FOR_MAC 81 #define SK_BUILD_FOR_MAC 82 #endif 83 #ifdef SK_BUILD_FOR_ANDROID 84 #undef SK_BUILD_FOR_ANDROID 85 #endif 86 #if defined(SK_BUILD_FOR_ANDROID) || defined(SK_BUILD_FOR_IOS) || \ 87 defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_WIN) 88 #error "Only SK_BUILD_FOR_MAC should be defined!" 89 #endif 90