Needed for macOS when using Xcode 16 and clang 16. This version of clang produces errors like this when compiling harfbuzz: cast from 'void (*)(FT_Face)' (aka 'void (*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict] This is the minimum version of harfbuzz that fixes the errors. We could certainly consider upgrading further (current release is 10.0.1 at the time of this commit).
77 lines
4.4 KiB
XML
77 lines
4.4 KiB
XML
<xml>
|
|
|
|
<files id="native-toolkit-harfbuzz">
|
|
|
|
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/freetype/include" if="NATIVE_TOOLKIT_HAVE_FREETYPE" />
|
|
<compilerflag value="-I${NATIVE_TOOLKIT_PATH}/harfbuzz/src/" />
|
|
|
|
<compilerflag value="-DHAVE_FREETYPE" if="NATIVE_TOOLKIT_HAVE_FREETYPE" />
|
|
<compilerflag value="-DHAVE_OT" />
|
|
<compilerflag value="-DHAVE_FALLBACK" />
|
|
<compilerflag value="-DHAVE_CAIRO" if="NATIVE_TOOLKIT_HAVE_CAIRO" />
|
|
<compilerflag value="-DHAVE_CAIRO_FT" if="NATIVE_TOOLKIT_HAVE_CAIRO" />
|
|
<compilerflag value="-DHAVE_UCDN" />
|
|
<compilerflag value="-DHB_NO_MT" /> <!-- TODO: Enable MT -->
|
|
|
|
<compilerflag value="-DHAVE_UNISCRIBE" if="windows" />
|
|
<compilerflag value="-DHAVE_DIRECTWRITE" if="windows HXCPP_M64" /> <!-- Windows 7+ -->
|
|
<compilerflag value="-wd4244" if="windows" />
|
|
<compilerflag value="-wd4267" if="windows" />
|
|
<compilerflag value="-D_CRT_SECURE_NO_WARNINGS" if="windows" />
|
|
<compilerflag value="-D_CRT_NONSTDC_NO_WARNINGS" if="windows" />
|
|
|
|
<compilerflag value="-DHAVE_CORETEXT" if="mac || ios" />
|
|
<compilerflag value="-Wno-undefined-bool-conversion" if="mac" />
|
|
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-aat-layout.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-aat-map.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-blob.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-buffer-serialize.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-buffer-verify.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-buffer.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-common.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-coretext.cc" if="mac || ios" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-directwrite.cc" if="windows HXCPP_M64" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-face.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-fallback-shape.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-font.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ft.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-number.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-cff1-table.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-cff2-table.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-face.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-font.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-layout.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-map.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-math.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-metrics.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shaper-arabic.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shaper-default.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shaper-hangul.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shaper-hebrew.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shaper-indic-table.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shaper-indic.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shaper-khmer.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shaper-myanmar.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shaper-syllabic.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shaper-thai.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shaper-use.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shaper-vowel-constraints.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shape-fallback.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shape-normalize.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-shape.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-tag.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ot-var.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-set.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-shape-plan.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-shape.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-shaper.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-static.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-ucd.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-unicode.cc" />
|
|
<file name="${NATIVE_TOOLKIT_PATH}/harfbuzz/src/hb-uniscribe.cc" if="windows" />
|
|
|
|
</files>
|
|
|
|
</xml>
|