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

Build variants into dedicated folders

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 9
    • 8
    • javafx

      Right now building of variants require to set a library name for each variant. It would be convenient to build variants into dedicated folders. If I have 2 variants on Android let's say armeabi and armeabiv-7a resulting native libraries would keep the same name but be stored into the given folder.

      this is a snippet of android.gradle file.

      ANDROID.font = [:]
      ANDROID.font.variants = ["armeabi", "armeabiv_7a"]
      ANDROID.font.lib = "javafx-font"

      ANDROID.font.armeabi = [:]
      ANDROID.font.armeabi.ccFlags = [ccFlags, ccWarnFlags, ccArchFlags, ccArchV5Flags, ccOptFlags,
          ccDebugFlags, ccDefaultIncludeFlags].flatten()
      ANDROID.font.armeabi.libDest = "armeabi"

      ANDROID.font.armeabiv_7a = [:]
      ANDROID.font.armeabiv_7a.ccFlags = [ccFlags, ccWarnFlags, ccArchFlags, ccArchV7AFlags, ccOptFlags,
          ccDebugFlags, ccDefaultIncludeFlags].flatten()
      ANDROID.font.armeabiv_7a.libDest = "armeabiv-7a"

            ddhill David Hill (Inactive)
            tbrandal Tomáš Brandalík (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: