summaryrefslogtreecommitdiff
path: root/third_party/BUILD.gn
diff options
context:
space:
mode:
authorcaryclark <caryclark@google.com>2016-11-15 05:24:11 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-15 05:24:11 -0800
commit5d223298b26c9b2b6284cba9a51521d3873b6e58 (patch)
treec4f1088d9940a9fc5af69872f2cc05ba78e9376d /third_party/BUILD.gn
parent3439802410dc2c4aeb49397c987bf5ca0ddfad8b (diff)
downloadpdfium-5d223298b26c9b2b6284cba9a51521d3873b6e58.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 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) {