summaryrefslogtreecommitdiff
path: root/third_party/BUILD.gn
diff options
context:
space:
mode:
authorcaryclark <caryclark@google.com>2016-11-16 10:10:03 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-16 10:10:03 -0800
commitaf177fe1c062d20b663a4a1c14924be85d0e631e (patch)
tree6c8a6dfd9de2f616bc606969e797fe205313e59b /third_party/BUILD.gn
parentd4f24c79c8b67401bdb1326c03083853326f7554 (diff)
downloadpdfium-af177fe1c062d20b663a4a1c14924be85d0e631e.tar.xz
Create a subset of skia support for paths only
This is a continuation of https://codereview.chromium.org/2346483006/ This removes the need for agg, without providing full Skia support. It doesn't work yet, but it does compile and run for simple PDFs. R=dsinclair@google.com Committed: https://pdfium.googlesource.com/pdfium/+/5d223298b26c9b2b6284cba9a51521d3873b6e58 Review-Url: https://codereview.chromium.org/2491693002
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r--third_party/BUILD.gn4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 1fef9bb345..50ab707058 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) {