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

Side by Side Diff: third_party/freetype2/patches/freetype2_symbols_visibility.patch

Issue 2300973002: NOT FOR LANDING Update FreeType to upstream 57a6733dcf7828fe3db9254edab33fda7c9f6a10. (Closed)
Patch Set: Rebase, see trybot results again Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « third_party/freetype2/include/ftmodule.h ('k') | third_party/harfbuzz-ng/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 diff --git a/third_party/freetype2/include/ftconfig.h b/third_party/freetype2/in clude/ftconfig.h 1 diff --git a/third_party/freetype2/include/ftconfig.h b/third_party/freetype2/in clude/ftconfig.h
2 index 9ea3546..16f8854 100644 2 index 0e1945b..80e7940 100644
3 --- a/third_party/freetype2/include/ftconfig.h 3 --- a/third_party/freetype2/include/ftconfig.h
4 +++ b/third_party/freetype2/include/ftconfig.h 4 +++ b/third_party/freetype2/include/ftconfig.h
5 @@ -397,9 +397,9 @@ FT_BEGIN_HEADER 5 @@ -424,9 +424,9 @@ FT_BEGIN_HEADER
6 #ifndef FT_EXPORT 6 #ifndef FT_EXPORT
7 7
8 #ifdef __cplusplus 8 #ifdef __cplusplus
9 -#define FT_EXPORT( x ) extern "C" x 9 -#define FT_EXPORT( x ) extern "C" x
10 +#define FT_EXPORT( x ) __attribute__((visibility("default"))) extern "C" x 10 +#define FT_EXPORT( x ) __attribute__ ((visibility ("default"))) extern "C" x
11 #else 11 #else
12 -#define FT_EXPORT( x ) extern x 12 -#define FT_EXPORT( x ) extern x
13 +#define FT_EXPORT( x ) __attribute__((visibility("default"))) extern x 13 +#define FT_EXPORT( x ) __attribute__ ((visibility ("default"))) extern x
14 #endif 14 #endif
15 15
16 #endif /* !FT_EXPORT */ 16 #endif /* !FT_EXPORT */
17 @@ -408,9 +408,9 @@ FT_BEGIN_HEADER 17 @@ -435,9 +435,9 @@ FT_BEGIN_HEADER
18 #ifndef FT_EXPORT_DEF 18 #ifndef FT_EXPORT_DEF
19 19
20 #ifdef __cplusplus 20 #ifdef __cplusplus
21 -#define FT_EXPORT_DEF( x ) extern "C" x 21 -#define FT_EXPORT_DEF( x ) extern "C" x
22 +#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern "C" x 22 +#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern "C" x
23 #else 23 #else
24 -#define FT_EXPORT_DEF( x ) extern x 24 -#define FT_EXPORT_DEF( x ) extern x
25 +#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern x 25 +#define FT_EXPORT_DEF( x ) __attribute__((visibility("default"))) extern x
26 #endif 26 #endif
27 27
28 #endif /* !FT_EXPORT_DEF */ 28 #endif /* !FT_EXPORT_DEF */
OLDNEW
« no previous file with comments | « third_party/freetype2/include/ftmodule.h ('k') | third_party/harfbuzz-ng/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698