| Index: third_party/BUILD.gn
|
| diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
|
| index 958b9cc85e80b5a0b806756eb5d8eab3c99fe9bd..cb8d7b7ddda1c242d9fbc2d262819dbaf9b62733 100644
|
| --- a/third_party/BUILD.gn
|
| +++ b/third_party/BUILD.gn
|
| @@ -90,7 +90,7 @@ static_library("fx_freetype") {
|
| "freetype/src/truetype/truetype.c",
|
| "freetype/src/type1/type1.c",
|
| ]
|
| - if (pdf_use_skia) {
|
| + if (pdf_use_skia || pdf_use_skia_paths) {
|
| sources += [
|
| "freetype/src/base/ftfntfmt.c",
|
| "freetype/src/base/ftfstype.c",
|
| @@ -99,7 +99,7 @@ static_library("fx_freetype") {
|
| }
|
| }
|
|
|
| -if (!pdf_use_skia) {
|
| +if (!pdf_use_skia && !pdf_use_skia_paths) {
|
| config("fx_agg_warnings") {
|
| visibility = [ ":*" ]
|
| if (is_clang) {
|
|
|