RFR: 8370659: [mobile] enable static-libs-image for Android [v2]
Johan Vos
jvos at openjdk.org
Thu Jan 8 08:03:45 UTC 2026
On Wed, 7 Jan 2026 12:46:37 GMT, Julian Waters <jwaters at openjdk.org> wrote:
> > We have a kind of third level as the OS_ENV; this is currently used on Windows only to separate msys/wsl/cygwin, but it could presumably be re-used (mis-used?) for Android as well. Or, we should introduce a separate OS_SUBTYPE for Android.
> > Or,perhaps even better, introduce an OS_FAMILY=linux for OS=linux and OS=android. That might be a better fit for the "macOS is BSD" conundrum as well, so we could have OS_FAMILY=bsd and keep OS=macosx or OS=bsd to separate them.
>
> I'm not too sure what OS_SUBTYPE is? I don't find any references to it in the build system.
I think @magicus suggests that adding a new OS_SUBTYPE variable is an option to fix this, similar to how OS_FAMILY would be a new variable to fix this.
All suggestions (including re-using OS_ENV) come down to a 3-level hierarchy, which I believe is helpful, but should imho be introduced upstream (as otherwise we'll have to modify makefiles as well, which would increase the gap with upstream -- which is the opposite of what we want).
-------------
PR Comment: https://git.openjdk.org/mobile/pull/40#issuecomment-3722586592
More information about the mobile-dev
mailing list