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

Unified Diff: third_party/freetype/BUILD.gn

Issue 2739853002: Fix FreeType component build on Fedora (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698