changeset 4287:a8e240142848

iOS build: fetching/checking external tools only for closed build
author David Pulkrabek <david.pulkrabek@oracle.com>
date Mon, 15 Jul 2013 08:15:03 +0200
parents d60fdc098748
children f6c0aafef1a8
files buildSrc/ios.gradle
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/buildSrc/ios.gradle	Sat Jul 13 17:24:57 2013 -0700
+++ b/buildSrc/ios.gradle	Mon Jul 15 08:15:03 2013 +0200
@@ -25,9 +25,11 @@
 
 ext.IOS = [:]
 
-fetchExternalTools('IOS', 
-  ["ios-libs-05.tgz"], 
-  rootProject.CROSS_TOOLS_DIR, rootProject.IMPORT_CROSS_TOOLS)
+if (BUILD_CLOSED) {
+    fetchExternalTools('IOS', 
+      ["ios-libs-05.tgz"], 
+      rootProject.CROSS_TOOLS_DIR, rootProject.IMPORT_CROSS_TOOLS)
+}
 
 // TODO Check for presence of iOS tools
 IOS.canBuild = IS_MAC