./build.gradle

Print this page
rev 7591 : RT-38074: [macosx] Separate QTKit platform code from core media code so it can be removed for MAS
Reviewed-by:


2871                         println "modules/graphics/build/libs/$lib/$t.name/${library(variantProperties.lib)}"
2872                         from ("modules/graphics/build/libs/$lib/$t.name/${library(variantProperties.lib)}")
2873                     }
2874                 }
2875                 if (IS_WINDOWS) {
2876                     from ("modules/graphics/build/libs/prismD3D/${t.name}/${library(targetProperties.prismD3D.lib)}");
2877                 }
2878                 if (IS_COMPILE_WEBKIT) {
2879                     from ("modules/web/build/libs/${t.name}/${library('jfxwebkit')}")
2880                 } else {
2881                     if (t.name != "android" && t.name != "ios") {
2882                         from ("$LIBRARY_STUB/${library('jfxwebkit')}")
2883                     }
2884                 }
2885 
2886                 def mediaBuildType = project(":media").ext.buildType
2887                 if (IS_COMPILE_MEDIA) {
2888                     [ "fxplugins", "gstreamer-lite", "jfxmedia" ].each { name ->
2889                         from ("modules/media/build/native/${t.name}/${mediaBuildType}/${library(name)}") }
2890                     
2891                     if (t.name == "linux") {




2892                         from("modules/media/build/native/${t.name}/${mediaBuildType}") { include "libavplugin*.so" }
2893                     } else from ("modules/media/build/native/${t.name}/${mediaBuildType}/${library("glib-lite")}")                        
2894                 } else {
2895                     [ "fxplugins", "gstreamer-lite", "jfxmedia" ].each { name ->
2896                         from ("$LIBRARY_STUB/${library(name)}") }
2897 
2898                     if (t.name == "linux") {
2899                         from(LIBRARY_STUB) { include "libavplugin*.so" }
2900                     }
2901                     else from ("$LIBRARY_STUB/${library("glib-lite")}")
2902                 }
2903                 
2904                 def libDest = targetProperties.libDest
2905                 into ("build/${sdkDirName}/rt/$libDest")
2906             }
2907 
2908             // Create the javafx.properties file
2909             final File javafxProperties = file("build/${sdkDirName}/rt/lib/javafx.properties")
2910             javafxProperties.delete()
2911             javafxProperties << "javafx.runtime.version=$RAW_VERSION";




2871                         println "modules/graphics/build/libs/$lib/$t.name/${library(variantProperties.lib)}"
2872                         from ("modules/graphics/build/libs/$lib/$t.name/${library(variantProperties.lib)}")
2873                     }
2874                 }
2875                 if (IS_WINDOWS) {
2876                     from ("modules/graphics/build/libs/prismD3D/${t.name}/${library(targetProperties.prismD3D.lib)}");
2877                 }
2878                 if (IS_COMPILE_WEBKIT) {
2879                     from ("modules/web/build/libs/${t.name}/${library('jfxwebkit')}")
2880                 } else {
2881                     if (t.name != "android" && t.name != "ios") {
2882                         from ("$LIBRARY_STUB/${library('jfxwebkit')}")
2883                     }
2884                 }
2885 
2886                 def mediaBuildType = project(":media").ext.buildType
2887                 if (IS_COMPILE_MEDIA) {
2888                     [ "fxplugins", "gstreamer-lite", "jfxmedia" ].each { name ->
2889                         from ("modules/media/build/native/${t.name}/${mediaBuildType}/${library(name)}") }
2890 
2891                     if (t.name == "mac") {
2892                         // OSX media natives
2893                         [ "jfxmedia_qtkit", "glib-lite" ].each { name ->
2894                             from ("modules/media/build/native/${t.name}/${mediaBuildType}/${library(name)}") }
2895                     } else if (t.name == "linux") {
2896                         from("modules/media/build/native/${t.name}/${mediaBuildType}") { include "libavplugin*.so" }
2897                     } else from ("modules/media/build/native/${t.name}/${mediaBuildType}/${library("glib-lite")}")
2898                 } else {
2899                     [ "fxplugins", "gstreamer-lite", "jfxmedia" ].each { name ->
2900                         from ("$LIBRARY_STUB/${library(name)}") }
2901 
2902                     if (t.name == "linux") {
2903                         from(LIBRARY_STUB) { include "libavplugin*.so" }
2904                     }
2905                     else from ("$LIBRARY_STUB/${library("glib-lite")}")
2906                 }
2907                 
2908                 def libDest = targetProperties.libDest
2909                 into ("build/${sdkDirName}/rt/$libDest")
2910             }
2911 
2912             // Create the javafx.properties file
2913             final File javafxProperties = file("build/${sdkDirName}/rt/lib/javafx.properties")
2914             javafxProperties.delete()
2915             javafxProperties << "javafx.runtime.version=$RAW_VERSION";