summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn8
1 files changed, 6 insertions, 2 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 85e819fab4..09cf28597c 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -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",