summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-09-21 09:46:03 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-21 18:34:29 +0000
commitdb0312e6acd7cc15fef0f64e05bd463cb74c70e4 (patch)
tree6ffb772e0f29f65c414adaeececc0c8e3047805d /BUILD.gn
parent46fc3fa47dc5c863519c5c3d834319b80bf5ff4a (diff)
downloadpdfium-db0312e6acd7cc15fef0f64e05bd463cb74c70e4.tar.xz
Move CXFA_PDFFontMgr to CFGAS_PDFFontMgr
XFA bits passed into the PDFFontMgr are just used to get the CPDF_Document and the CFGAS_FontMgr. This CL changes the code to pass those two things into the constructor. Then, the fxfa/cxfa_pdffontmgr.* code has been moved to fgas/cfgas_pdffontmgr.* to show it doesn't depend on any of the XFA classes. Change-Id: I21d791869e2a32ffedfd7c87bb3bbd035232d991 Reviewed-on: https://pdfium-review.googlesource.com/14550 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn4
1 files changed, 2 insertions, 2 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 2cf6552f21..aad97e97e5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1488,6 +1488,8 @@ if (pdf_enable_xfa) {
"xfa/fgas/font/cfgas_fontmgr.h",
"xfa/fgas/font/cfgas_gefont.cpp",
"xfa/fgas/font/cfgas_gefont.h",
+ "xfa/fgas/font/cfgas_pdffontmgr.cpp",
+ "xfa/fgas/font/cfgas_pdffontmgr.h",
"xfa/fgas/font/fgas_fontutils.cpp",
"xfa/fgas/font/fgas_fontutils.h",
"xfa/fgas/layout/cfx_break.cpp",
@@ -1690,8 +1692,6 @@ if (pdf_enable_xfa) {
"xfa/fxfa/cxfa_linkuserdata.h",
"xfa/fxfa/cxfa_loadercontext.cpp",
"xfa/fxfa/cxfa_loadercontext.h",
- "xfa/fxfa/cxfa_pdffontmgr.cpp",
- "xfa/fxfa/cxfa_pdffontmgr.h",
"xfa/fxfa/cxfa_pieceline.cpp",
"xfa/fxfa/cxfa_pieceline.h",
"xfa/fxfa/cxfa_rendercontext.cpp",