diff options
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -854,8 +854,6 @@ jumbo_static_library("fxcrt") { "core/fxcrt/cfx_bitstream.h", "core/fxcrt/cfx_datetime.cpp", "core/fxcrt/cfx_datetime.h", - "core/fxcrt/cfx_fileaccess_posix.cpp", - "core/fxcrt/cfx_fileaccess_posix.h", "core/fxcrt/cfx_fileaccess_windows.cpp", "core/fxcrt/cfx_fileaccess_windows.h", "core/fxcrt/cfx_fixedbufgrow.h", @@ -930,7 +928,12 @@ jumbo_static_library("fxcrt") { "third_party:pdfium_base", "//third_party/icu:icuuc", ] - + if (is_posix || is_fuchsia) { + sources += [ + "core/fxcrt/cfx_fileaccess_posix.cpp", + "core/fxcrt/cfx_fileaccess_posix.h", + ] + } if (pdf_enable_xfa) { sources += [ "core/fxcrt/cfx_char.cpp", |