[OpenJDK 2D-Dev] RFR: 8144616: Problem building OpenJDK/harfbuzz on jprt
Phil Race
philip.race at oracle.com
Thu Dec 3 19:05:39 UTC 2015
Some of our internal build servers only have access to an old (2.3.5)
version
of freetype whereas harfbuzz requires 2.4.2 - maybe even later, but at
least that.
The dependency comes from compiling in hb-ft.cc even though we do not
currently use that code since we now go via a custom JDK font driver,
even in OpenJDK.
The fix is thus to exclude the file from the build and I have verified
this fix on the
build system that currently fails.
--- a/make/lib/Awt2dLibraries.gmk
+++ b/make/lib/Awt2dLibraries.gmk
@@ -622,9 +622,8 @@
ifneq ($(OPENJDK_TARGET_OS), macosx)
LIBFONTMANAGER_EXCLUDE_FILES += harfbuzz/hb-coretext.cc
endif
-ifndef OPENJDK
+# hb-ft.cc is not presently needed, and requires freetype 2.4.2 or later.
LIBFONTMANAGER_EXCLUDE_FILES += harfbuzz/hb-ft.cc
-endif
LIBFONTMANAGER_CFLAGS += $(HARFBUZZ_CFLAGS)
-phil.
More information about the 2d-dev
mailing list