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

How to use addnative for specific compile target

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • 8
    • javafx

      There is addNative method which creates javah, cc, and link tasks for each compile target. This is used for many native libraries in the build glass, prism etc.
      How should I use this function if my library is android specific e.q. i don't want to build it on linux. It throws NPE when I specifi more than one compile targets COMPILE_TARGETS=android,linux because there's not such property for linux it has been set only in android.gradle script.
      Is it necessary to have this concept of multiple targets? It complicates build a lot.

            bcbeck Brian Beck (Inactive)
            tbrandal Tomáš Brandalík (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: