How to use addnative for specific compile target

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: 8
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported: