RFR: 8255240: Mobile builds need to exclude some modules [v3]

Magnus Ihse Bursie ihse at openjdk.java.net
Wed Nov 4 19:23:57 UTC 2020


On Wed, 4 Nov 2020 13:15:44 GMT, Johan Vos <jvos at openjdk.org> wrote:

>> I think the include of GLXGraphicsConfig.h should really be inside the ifdefs. It does not make sense as it is now. If you look at the GLX code, it is basically split in two, a "dummy" implementation for headless which just does:
>> JNIEXPORT jint JNICALL
>> Java_sun_java2d_opengl_GLXGraphicsConfig_getOGLCapabilities(JNIEnv *env, jclass glxgc, jlong configInfo) {
>>     return CAPS_EMPTY;
>> }
>> 
>> and the real implementation for non-headless.
>> 
>> But this got me worried about my fix of building headless without X11. I wonder how I could compile this without X11, or if the compiler dragged up X11 from a local installation without me noticing it. :(
>
> I fixed the issues, and with the latest commit, the awt libs are built for ios/android.

Cool! :)

-------------

PR: https://git.openjdk.java.net/mobile/pull/10


More information about the mobile-dev mailing list