summaryrefslogtreecommitdiff
path: root/third_party/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r--third_party/BUILD.gn9
1 files changed, 8 insertions, 1 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 1564a97bc5..766b6762c3 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -13,7 +13,7 @@ group("third_party") {
}
config("pdfium_third_party_config") {
- configs = ["..:pdfium_common_config"]
+ configs = [ "..:pdfium_common_config" ]
}
source_set("bigint") {
@@ -88,6 +88,13 @@ static_library("fx_freetype") {
"freetype/src/truetype/truetype.c",
"freetype/src/type1/type1.c",
]
+ if (pdf_use_skia) {
+ sources += [
+ "freetype/src/base/ftfntfmt.c",
+ "freetype/src/base/ftfstype.c",
+ "freetype/src/base/fttype1.c",
+ ]
+ }
}
if (!pdf_use_skia) {