summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-15 07:44:27 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-15 07:44:27 -0800
commitf16f6b8b52277348f5d571b7641bb0bbd5239589 (patch)
treeb321dc4ed2a4d032d36a8b5f532a904c77021817 /BUILD.gn
parent5d223298b26c9b2b6284cba9a51521d3873b6e58 (diff)
downloadpdfium-f16f6b8b52277348f5d571b7641bb0bbd5239589.tar.xz
Revert of Create a subset of skia support for paths only (patchset #10 id:180001 of https://codereview.chromium.org/2491693002/ )
Reason for revert: Breaking the chrome roll. https://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/306015/steps/generate_build_files%20%28with%20patch%29/logs/stdio Original issue's description: > 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 TBR=dsinclair@google.com,caryclark@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.chromium.org/2503883003
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn8
1 files changed, 2 insertions, 6 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 847e47f499..831a5a0701 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -23,10 +23,6 @@ config("pdfium_common_config") {
defines += [ "_SKIA_SUPPORT_" ]
}
- if (pdf_use_skia_paths) {
- defines += [ "_SKIA_SUPPORT_PATHS_" ]
- }
-
if (pdf_enable_v8) {
defines += [ "PDF_ENABLE_V8" ]
}
@@ -849,7 +845,7 @@ static_library("fxge") {
]
}
- if (pdf_use_skia || pdf_use_skia_paths) {
+ if (pdf_use_skia) {
sources += [ "core/fxge/skia/fx_skia_device.cpp" ]
deps += [ "//skia" ]
} else {
@@ -1695,7 +1691,7 @@ test("pdfium_unittests") {
"xfa/fxfa/parser/xfa_utils_unittest.cpp",
]
}
- if (pdf_use_skia || pdf_use_skia_paths) {
+ if (pdf_use_skia) {
sources += [ "core/fxge/skia/fx_skia_device_unittest.cpp" ]
deps += [ "//skia" ]
}