Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8199639

Introduce SetupJdkLibrary and SetupJdkExecutable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • None
    • infrastructure
    • None
    • b05

      We have a lot of code duplication in all our calls to SetupNativeCompilation. This patch introduces a pair of functions, SetupJdkLibrary and SetupJdkExecutable, which wraps SetupNativeCompilation and sets up typical default values for our JDK libraries.

      The long-term idea here is that even more functionality (e.g. basic LDFLAGS and CFLAGS) should move into these two functions, but for simplicity, this patch just does the most basic cleanup.

      Not all compilations were easily converted. Those were left behind at using SetupNativeCompilation, just as before. If possible, they should be fixed and converted at a later date.

            ihse Magnus Ihse Bursie
            ihse Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: