RFR: 8330107: Split Awt2dLibraries.gmk into separate AWT and 2D files

Magnus Ihse Bursie ihse at openjdk.org
Thu Apr 11 14:01:41 UTC 2024


On Thu, 11 Apr 2024 13:53:23 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> The file to build most of the java.desktop native libraries, t Awt2dLibraries.gmk, is large and unstructured, making it hard to navigate.
> 
> I want to split it into two parts, one for the AWT libraries, and one for the 2D libraries. I also used this opportunity to change the order to be more logical (e.g. grouping "image" libraries and "font" libraries in 2D).

@prrace I will need your assistance in confirming that my understanding about the AWT vs 2D split is correct. In particular, `libosxui` gave me some headache, but after trying to dig into the code my understanding ended up being that this is part of Swing which is considered part of AWT, not 2D.

I also looked at `libosx` and `libosxapp` which are located in the general `Lib.gmk` file. I could not easily see that they should have been placed in either 2d or Awt, so my assumption is that they are correctly placed outside these two new files.

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

PR Comment: https://git.openjdk.org/jdk/pull/18743#issuecomment-2049760109


More information about the build-dev mailing list