You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.2 KiB
45 lines
1.2 KiB
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", |
|
], |
|
}
|
|
|