xref: /aosp_15_r20/external/skia/mac/include/config/SkUserConfig.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
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_BMP
11 #define SK_CODEC_DECODES_BMP
12 #endif
13 
14 #ifndef SK_CODEC_DECODES_GIF
15 #define SK_CODEC_DECODES_GIF
16 #endif
17 
18 #ifndef SK_CODEC_DECODES_ICO
19 #define SK_CODEC_DECODES_ICO
20 #endif
21 
22 #ifndef SK_CODEC_DECODES_JPEG
23 #define SK_CODEC_DECODES_JPEG
24 #endif
25 
26 #ifndef SK_CODEC_DECODES_PNG
27 #define SK_CODEC_DECODES_PNG
28 #endif
29 
30 #ifndef SK_CODEC_DECODES_RAW
31 #define SK_CODEC_DECODES_RAW
32 #endif
33 
34 #ifndef SK_CODEC_DECODES_WBMP
35 #define SK_CODEC_DECODES_WBMP
36 #endif
37 
38 #ifndef SK_CODEC_DECODES_WEBP
39 #define SK_CODEC_DECODES_WEBP
40 #endif
41 
42 #ifndef SK_ENABLE_ANDROID_UTILS
43 #define SK_ENABLE_ANDROID_UTILS
44 #endif
45 
46 #ifndef SK_ENABLE_API_AVAILABLE
47 #define SK_ENABLE_API_AVAILABLE
48 #endif
49 
50 #ifndef SK_ENABLE_AVX512_OPTS
51 #define SK_ENABLE_AVX512_OPTS
52 #endif
53 
54 #ifndef SK_ENABLE_PRECOMPILE
55 #define SK_ENABLE_PRECOMPILE
56 #endif
57 
58 #ifndef SK_FONTMGR_FREETYPE_EMPTY_AVAILABLE
59 #define SK_FONTMGR_FREETYPE_EMPTY_AVAILABLE
60 #endif
61 
62 #ifndef SK_GAMMA_APPLY_TO_A8
63 #define SK_GAMMA_APPLY_TO_A8
64 #endif
65 
66 #ifndef SK_GAMMA_CONTRAST
67 #define SK_GAMMA_CONTRAST 0.0
68 #endif
69 
70 #ifndef SK_GAMMA_EXPONENT
71 #define SK_GAMMA_EXPONENT 1.4
72 #endif
73 
74 #ifndef SK_HAS_WUFFS_LIBRARY
75 #define SK_HAS_WUFFS_LIBRARY
76 #endif
77 
78 #ifndef SK_SUPPORT_PDF
79 #define SK_SUPPORT_PDF
80 #endif
81 
82 #ifndef SK_TYPEFACE_FACTORY_FREETYPE
83 #define SK_TYPEFACE_FACTORY_FREETYPE
84 #endif
85 
86 #ifndef SK_XML
87 #define SK_XML
88 #endif
89 
90 // Correct SK_BUILD_FOR flags that may have been set by
91 // SkTypes.h/Android.bp
92 #ifndef SK_BUILD_FOR_MAC
93     #define SK_BUILD_FOR_MAC
94 #endif
95 #ifdef SK_BUILD_FOR_ANDROID
96     #undef SK_BUILD_FOR_ANDROID
97 #endif
98 #if defined(SK_BUILD_FOR_ANDROID) || defined(SK_BUILD_FOR_IOS) || \
99     defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_WIN)
100     #error "Only SK_BUILD_FOR_MAC should be defined!"
101 #endif
102