176 } 177 propFile << "libs=" << results.toString().trim(); 178 }, 179 { properties -> 180 gtkCFlags.addAll(properties.getProperty("cflags").split(" ")) 181 gtkLFlags.addAll(properties.getProperty("libs").split(" ")) 182 } 183 ) 184 185 ARMV6HF.javafxPlatformProperties ="""javafx.platform=eglfb 186 directfb.glass.platform=Lens 187 directfb.glass.lens=dfb 188 directfb.prism.order=sw 189 directfb.com.sun.javafx.isEmbedded=true 190 directfb.com.sun.javafx.scene.control.skin.FXVK.cache=true 191 eglfb.glass.platform=Lens 192 eglfb.glass.lens=eglfb 193 eglfb.prism.order=es2 194 eglfb.prism.eglfb=true 195 eglfb.prism.lcdtext=false 196 eglfb.use.egl=true 197 eglfb.use.gles2=true 198 eglfb.embedded=eglfb 199 eglfb.com.sun.javafx.isEmbedded=true 200 eglfb.doNativeComposite=true 201 eglfb.com.sun.javafx.scene.control.skin.FXVK.cache=true 202 eglfb.prism.glDepthSize=0 203 fb.glass.platform=Lens 204 fb.glass.lens=fb 205 fb.prism.order=sw 206 fb.com.sun.javafx.isEmbedded=true 207 fb.glass.restrictWindowToScreen=true 208 fb.com.sun.javafx.scene.control.skin.FXVK.cache=true 209 eglx11.glass.platform=Lens 210 eglx11.glass.lens=eglx11 211 eglx11.prism.order=es2 212 eglx11.prism.eglx11=true 213 eglx11.prism.lcdtext=false 214 eglx11.use.egl=true 215 eglx11.use.gles2=true 216 eglx11.embedded=eglx11 217 eglx11.com.sun.javafx.isEmbedded=true 218 eglx11.com.sun.javafx.scene.control.skin.FXVK.cache=true 219 eglx11.prism.glDepthSize=0 220 gtk.glass.platform=gtk 221 gtk.prism.order=sw 222 gtk.com.sun.javafx.isEmbedded=true 223 gtk.com.sun.javafx.scene.control.skin.FXVK.cache=true""" 224 225 def pangoCCFlags = [extraCFlags, "-D_ENABLE_PANGO"]; 226 def pangoLinkFlags = [extraLFlags]; 227 setupTools("armv6hf_pango_tools", 228 { propFile -> 229 ByteArrayOutputStream results = new ByteArrayOutputStream(); 230 exec { 231 commandLine "$sdk/bin/pkg-config", "--cflags", "pangoft2" 232 standardOutput = results 233 } | 176 } 177 propFile << "libs=" << results.toString().trim(); 178 }, 179 { properties -> 180 gtkCFlags.addAll(properties.getProperty("cflags").split(" ")) 181 gtkLFlags.addAll(properties.getProperty("libs").split(" ")) 182 } 183 ) 184 185 ARMV6HF.javafxPlatformProperties ="""javafx.platform=eglfb 186 directfb.glass.platform=Lens 187 directfb.glass.lens=dfb 188 directfb.prism.order=sw 189 directfb.com.sun.javafx.isEmbedded=true 190 directfb.com.sun.javafx.scene.control.skin.FXVK.cache=true 191 eglfb.glass.platform=Lens 192 eglfb.glass.lens=eglfb 193 eglfb.prism.order=es2 194 eglfb.prism.eglfb=true 195 eglfb.prism.lcdtext=false 196 eglfb.prism.maxvram=128m 197 eglfb.prism.targetvram=112m 198 eglfb.use.egl=true 199 eglfb.use.gles2=true 200 eglfb.embedded=eglfb 201 eglfb.com.sun.javafx.isEmbedded=true 202 eglfb.doNativeComposite=true 203 eglfb.com.sun.javafx.scene.control.skin.FXVK.cache=true 204 eglfb.prism.glDepthSize=0 205 fb.glass.platform=Lens 206 fb.glass.lens=fb 207 fb.prism.order=sw 208 fb.com.sun.javafx.isEmbedded=true 209 fb.glass.restrictWindowToScreen=true 210 fb.com.sun.javafx.scene.control.skin.FXVK.cache=true 211 eglx11.glass.platform=Lens 212 eglx11.glass.lens=eglx11 213 eglx11.prism.order=es2 214 eglx11.prism.eglx11=true 215 eglx11.prism.lcdtext=false 216 eglx11.prism.maxvram=128m 217 eglx11.prism.targetvram=112m 218 eglx11.use.egl=true 219 eglx11.use.gles2=true 220 eglx11.embedded=eglx11 221 eglx11.com.sun.javafx.isEmbedded=true 222 eglx11.com.sun.javafx.scene.control.skin.FXVK.cache=true 223 eglx11.prism.glDepthSize=0 224 gtk.glass.platform=gtk 225 gtk.prism.order=sw 226 gtk.com.sun.javafx.isEmbedded=true 227 gtk.com.sun.javafx.scene.control.skin.FXVK.cache=true""" 228 229 def pangoCCFlags = [extraCFlags, "-D_ENABLE_PANGO"]; 230 def pangoLinkFlags = [extraLFlags]; 231 setupTools("armv6hf_pango_tools", 232 { propFile -> 233 ByteArrayOutputStream results = new ByteArrayOutputStream(); 234 exec { 235 commandLine "$sdk/bin/pkg-config", "--cflags", "pangoft2" 236 standardOutput = results 237 } |