| Index: third_party/freetype/BUILD.gn
|
| diff --git a/third_party/freetype/BUILD.gn b/third_party/freetype/BUILD.gn
|
| index 30c0b3703b9288cdb5a67bad64fb0a6eefb3bfc1..ab0c1b0626edd12200c45d2d51998da08dba3d39 100644
|
| --- a/third_party/freetype/BUILD.gn
|
| +++ b/third_party/freetype/BUILD.gn
|
| @@ -56,10 +56,18 @@ component("freetype") {
|
| ]
|
|
|
| if (is_linux || is_chromecast) {
|
| - # Needed for content_shell on Linux and Chromecast, since fontconfig requires FT_Get_BDF_Property.
|
| + # Needed for content_shell on Linux and Chromecast, since fontconfig
|
| + # requires FT_Get_BDF_Property.
|
| sources += [ "src/src/base/ftbdf.c" ]
|
| }
|
|
|
| + if (is_linux || is_chromecast) {
|
| + # Needed on Fedora whose libfreetype builds ftsynth.c containing
|
| + # FT_GlyphSlot_Embolden, which we need to replace in content_shell if
|
| + # we are linking against our own FreeType.
|
| + sources += [ "src/src/base/ftsynth.c" ]
|
| + }
|
| +
|
| defines = [
|
| "FT2_BUILD_LIBRARY",
|
| "DARWIN_NO_CARBON",
|
|
|