diff options
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 8 |
1 files changed, 6 insertions, 2 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_windows.cpp", - "core/fxcrt/cfx_fileaccess_windows.h", "core/fxcrt/cfx_fixedbufgrow.h", "core/fxcrt/cfx_memorystream.cpp", "core/fxcrt/cfx_memorystream.h", @@ -934,6 +932,12 @@ jumbo_static_library("fxcrt") { "core/fxcrt/cfx_fileaccess_posix.h", ] } + if (is_win) { + sources += [ + "core/fxcrt/cfx_fileaccess_windows.cpp", + "core/fxcrt/cfx_fileaccess_windows.h", + ] + } if (pdf_enable_xfa) { sources += [ "core/fxcrt/cfx_char.cpp", |