blob: 60e70f83234bcbc86bd1c654891455779491bd2a [file] [log] [blame]
cc_library_static {
name: "libpdfiumfxcrt",
defaults: ["pdfium-defaults"],
arch: {
arm64: {
cflags: [
"-D_FX_CPU_=_FX_X64_",
"-fPIC",
],
},
},
cflags: [
"-DOPJ_STATIC",
"-DV8_DEPRECATION_WARNINGS",
"-D_CRT_SECURE_NO_WARNINGS",
// Mask some warnings. These are benign, but we probably want to fix them
// upstream at some point.
"-Wno-sign-compare",
"-Wno-unused-parameter",
],
srcs: [
"core/fxcrt/fx_basic_array.cpp",
"core/fxcrt/fx_basic_bstring.cpp",
"core/fxcrt/fx_basic_buffer.cpp",
"core/fxcrt/fx_basic_coords.cpp",
"core/fxcrt/fx_basic_gcc.cpp",
"core/fxcrt/fx_basic_memmgr.cpp",
"core/fxcrt/fx_basic_utf.cpp",
"core/fxcrt/fx_basic_util.cpp",
"core/fxcrt/fx_basic_wstring.cpp",
"core/fxcrt/fx_bidi.cpp",
"core/fxcrt/fx_extension.cpp",
"core/fxcrt/fx_ucddata.cpp",
"core/fxcrt/fx_unicode.cpp",
"core/fxcrt/fx_xml_composer.cpp",
"core/fxcrt/fx_xml_parser.cpp",
"core/fxcrt/fxcrt_posix.cpp",
"core/fxcrt/fxcrt_stream.cpp",
"core/fxcrt/fxcrt_windows.cpp",
],
}