Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index 7f49b16aa77d4e9071b2a819cc73cd86e7950901..1e870145941b025aea09e259b2bb5f2d74c81e59 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -762,6 +762,7 @@ static_library("fxge") { |
"core/fxge/ge/cfx_graphstatedata.cpp", |
"core/fxge/ge/cfx_pathdata.cpp", |
"core/fxge/ge/cfx_renderdevice.cpp", |
+ "core/fxge/ge/cfx_unicodeencoding.cpp", |
"core/fxge/ge/fx_ge_font.cpp", |
"core/fxge/ge/fx_ge_fontmap.cpp", |
"core/fxge/ge/fx_ge_linux.cpp", |
@@ -778,6 +779,7 @@ static_library("fxge") { |
"core/fxge/include/cfx_graphstatedata.h", |
"core/fxge/include/cfx_pathdata.h", |
"core/fxge/include/cfx_renderdevice.h", |
+ "core/fxge/include/cfx_unicodeencoding.h", |
"core/fxge/include/cfx_windowsdevice.h", |
"core/fxge/include/fx_dib.h", |
"core/fxge/include/fx_font.h", |
@@ -791,6 +793,13 @@ static_library("fxge") { |
":pdfium_core_config", |
] |
+ if (pdf_enable_xfa) { |
+ sources += [ |
+ "core/fxge/ge/cfx_unicodeencodingex.cpp", |
+ "core/fxge/include/cfx_unicodeencodingex.h", |
+ ] |
+ } |
+ |
if (pdf_use_skia) { |
sources += [ "core/fxge/skia/fx_skia_device.cpp" ] |
deps = [ |