aboutsummaryrefslogtreecommitdiff
path: root/mac/include/config/SkUserConfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'mac/include/config/SkUserConfig.h')
-rw-r--r--mac/include/config/SkUserConfig.h93
1 files changed, 93 insertions, 0 deletions
diff --git a/mac/include/config/SkUserConfig.h b/mac/include/config/SkUserConfig.h
new file mode 100644
index 0000000000..504cac8cee
--- /dev/null
+++ b/mac/include/config/SkUserConfig.h
@@ -0,0 +1,93 @@
+// DO NOT MODIFY! This file is autogenerated by gn_to_bp.py.
+// If need to change a define, modify SkUserConfigManual.h
+#pragma once
+#include "SkUserConfigManual.h"
+
+#ifndef SKSL_ENABLE_TRACING
+#define SKSL_ENABLE_TRACING
+#endif
+
+#ifndef SK_ASSUME_GL
+#define SK_ASSUME_GL 1
+#endif
+
+#ifndef SK_CODEC_DECODES_JPEG
+#define SK_CODEC_DECODES_JPEG
+#endif
+
+#ifndef SK_CODEC_DECODES_PNG
+#define SK_CODEC_DECODES_PNG
+#endif
+
+#ifndef SK_CODEC_DECODES_RAW
+#define SK_CODEC_DECODES_RAW
+#endif
+
+#ifndef SK_CODEC_DECODES_WEBP
+#define SK_CODEC_DECODES_WEBP
+#endif
+
+#ifndef SK_DEFAULT_TYPEFACE_IS_EMPTY
+#define SK_DEFAULT_TYPEFACE_IS_EMPTY
+#endif
+
+#ifndef SK_DISABLE_LEGACY_DEFAULT_TYPEFACE
+#define SK_DISABLE_LEGACY_DEFAULT_TYPEFACE
+#endif
+
+#ifndef SK_ENABLE_ANDROID_UTILS
+#define SK_ENABLE_ANDROID_UTILS
+#endif
+
+#ifndef SK_ENABLE_API_AVAILABLE
+#define SK_ENABLE_API_AVAILABLE
+#endif
+
+#ifndef SK_ENABLE_PRECOMPILE
+#define SK_ENABLE_PRECOMPILE
+#endif
+
+#ifndef SK_FONTMGR_FREETYPE_EMPTY_AVAILABLE
+#define SK_FONTMGR_FREETYPE_EMPTY_AVAILABLE
+#endif
+
+#ifndef SK_GAMMA_APPLY_TO_A8
+#define SK_GAMMA_APPLY_TO_A8
+#endif
+
+#ifndef SK_GAMMA_CONTRAST
+#define SK_GAMMA_CONTRAST 0.0
+#endif
+
+#ifndef SK_GAMMA_EXPONENT
+#define SK_GAMMA_EXPONENT 1.4
+#endif
+
+#ifndef SK_HAS_WUFFS_LIBRARY
+#define SK_HAS_WUFFS_LIBRARY
+#endif
+
+#ifndef SK_SUPPORT_PDF
+#define SK_SUPPORT_PDF
+#endif
+
+#ifndef SK_TYPEFACE_FACTORY_FREETYPE
+#define SK_TYPEFACE_FACTORY_FREETYPE
+#endif
+
+#ifndef SK_XML
+#define SK_XML
+#endif
+
+// Correct SK_BUILD_FOR flags that may have been set by
+// SkTypes.h/Android.bp
+#ifndef SK_BUILD_FOR_MAC
+ #define SK_BUILD_FOR_MAC
+#endif
+#ifdef SK_BUILD_FOR_ANDROID
+ #undef SK_BUILD_FOR_ANDROID
+#endif
+#if defined(SK_BUILD_FOR_ANDROID) || defined(SK_BUILD_FOR_IOS) || \
+ defined(SK_BUILD_FOR_UNIX) || defined(SK_BUILD_FOR_WIN)
+ #error "Only SK_BUILD_FOR_MAC should be defined!"
+#endif