jira: RT-36013 <https://javafx-jira.kenai.com/browse/RT-36013>
webrev: http://cr.openjdk.java.net/~ddhill/RT-36013/

This change enables building Freetype and Pango in a crossbuild. The existing 
code did not handle the cross build case, leaving it as a todo.

I removed one version of the addNative() method, one that listed the applicable 
platforms, because I could not figure out how to adapt it to the use case we 
have. Instead, I changed the core addNative method, checking for the required 
properties needed for the library, and ignoring the addNative request when here 
is not a matching properties clause. Note that a cross build like Android, we 
will call addNative for freetype and pango, but as the platform file does no 
contain a library definition, we will not add a build task.

I also added the ability to disable a particular library build in the 
properties files, adding some additional flexibility, and helping me work 
around a problem with my soft float toolchain until I can fix that.

This change was tested with Linux and ARMV6HF and found to work.

ARMV6SF failed to build due to a missing header file, so I have disabled it 
using

   ARMV6SF.disablefontFreetype = true

With the disable,ARMV6SF was found to work.


--
David Hill <david.h...@oracle.com>
Java Embedded Development

I have never let my schooling interfere with my education.
-- Mark Twain

Reply via email to