RFR: 8255240: Mobile builds need to exclude some modules [v3]
Johan Vos
jvos at openjdk.java.net
Mon Nov 2 15:10:17 UTC 2020
On Mon, 26 Oct 2020 08:40:44 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
>> Johan Vos has updated the pull request incrementally with one additional commit since the last revision:
>>
>> fix fi/endif issue
>
> make/autoconf/jdk-options.m4 line 191:
>
>> 189: INCLUDE_SA=false
>> 190: fi
>> 191: if test "x$OPENJDK_TARGET_CPU" = xios ; then
>
> You mean OPENJDK_TARGET_OS, android/ios are not CPUs. :-)
Oops, indeed. Fixed.
> make/common/Modules.gmk line 241:
>
>> 239: MODULES_FILTER += jdk.management
>> 240: MODULES_FILTER += jdk.management.agent
>> 241: MODULES_FILTER += jdk.sctp
>
> While technically correct, I agree with Bob that there seem to be not much point in disabling these, if the reason is just "don't think we need them". Is there an issue with compiling these modules on mobile?
The compile issues were minimal, and they are solved now.
> make/common/modules/LauncherCommon.gmk line 54:
>
>> 52: ifeq ($(call isTargetOs, ios), true)
>> 53: LAUNCHER_CFLAGS += -I$(TOPDIR)/src/java.base/macosx/native/libjli
>> 54: endif
>
> Did the original file in mobile have a broken if statement? So this is like a separate bug fix? Otherwise I don't understand what I'm seeing here.
That was indeed broken in the mobile build.
-------------
PR: https://git.openjdk.java.net/mobile/pull/10
More information about the mobile-dev
mailing list