Index: include/core/SkPostConfig.h |
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h |
index 53b4adfaa5833c6b732a1891ae13e4c18c9db5f2..bee87e621245d63a4f3d479dff9fd3ced7038823 100644 |
--- a/include/core/SkPostConfig.h |
+++ b/include/core/SkPostConfig.h |
@@ -323,6 +323,14 @@ |
# define SK_ATTR_DEPRECATED(msg) SK_ATTRIBUTE(deprecated) |
#endif |
+#if !defined(SK_ATTR_EXTERNALLY_DEPRECATED) |
+# if !defined(SK_INTERNAL) |
+# define SK_ATTR_EXTERNALLY_DEPRECATED(msg) SK_ATTR_DEPRECATED(msg) |
+# else |
+# define SK_ATTR_EXTERNALLY_DEPRECATED(msg) |
+# endif |
+#endif |
+ |
/** |
* If your judgment is better than the compiler's (i.e. you've profiled it), |
* you can use SK_ALWAYS_INLINE to force inlining. E.g. |