RFR: 8255240: Mobile builds need to exclude some modules
Johan Vos
jvos at openjdk.java.net
Thu Oct 22 13:36:16 UTC 2020
On Thu, 22 Oct 2020 13:20:29 GMT, Bob Vandette <bobv at openjdk.org> wrote:
>> exclude some modules that are not relevant on Mobile.
>> Fix for JDK-8255240
>
> Is this a temp fix? Excluding SA certainly makes sense but eliminating the entire desktop module will prohibit the use of local imaging and text APIs. Shouldn't you focus more on eliminating the native windowing toolkit?
We (at Gluon) only use the static libraries from the mobile builds, not the modules/jars (they come from the upstream builds).
Hence, the desktop module (which also contains the beans etc) is still used, but the binary (jmod) comes from upstream.
However, it would make sense to build the module here too, and only exclude the native part indeed.
-------------
PR: https://git.openjdk.java.net/mobile/pull/10
More information about the mobile-dev
mailing list