Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1677)

Unified Diff: third_party/freetype/include/freetype-custom-config/ftoption.h

Issue 2842513004: Move FreeType bundling on mac OS from PDFium up to Chrome (Closed)
Patch Set: Freetype as a general dependency in DEPS Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/freetype/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/freetype/include/freetype-custom-config/ftoption.h
diff --git a/third_party/freetype/include/freetype-custom-config/ftoption.h b/third_party/freetype/include/freetype-custom-config/ftoption.h
index 49e8cf573e6e8d73b8eeb353f2cd447bf99897b1..afa3c60b0fb0bec152e72afcd490758ce7cea3ae 100644
--- a/third_party/freetype/include/freetype-custom-config/ftoption.h
+++ b/third_party/freetype/include/freetype-custom-config/ftoption.h
@@ -323,8 +323,13 @@ FT_BEGIN_HEADER
#endif
#else
+#if !defined(MAC_RESTRICT_VISIBILITY)
#define FT_EXPORT(x) __attribute__((visibility ("default"))) x
#define FT_EXPORT_DEF(x) __attribute__((visibility ("default"))) x
+#else
+#define FT_EXPORT(x) x
+#define FT_EXPORT_DEF(x) x
+#endif
#endif
/*************************************************************************/
« no previous file with comments | « third_party/freetype/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698