changeset 7741:5a01462684c5

RT-38236: [Build] bad warning checking CONF
author kcr
date Wed, 20 Aug 2014 10:20:55 -0700
parents b4ea24b29cf6
children 4160fbf6be5f
files build.gradle
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build.gradle	Wed Aug 20 10:20:55 2014 -0700
+++ b/build.gradle	Wed Aug 20 10:20:55 2014 -0700
@@ -740,7 +740,9 @@
 
 
 // Verify that CONF is something useful
-if (CONF != "Release" && CONF != "Debug") logger.warn("Unknown configuration CONF='$CONF'. Treating as 'Release'")
+if (CONF != "Release" && CONF != "Debug" && CONF != "DebugNative") {
+    logger.warn("Unknown configuration CONF='$CONF'. Treating as 'Release'")
+}
 
 // If the number of compile threads is less than 1 then we have a problem!
 if (Integer.parseInt(NUM_COMPILE_THREADS.toString()) < 1) {
@@ -799,6 +801,7 @@
 logger.quiet("jdk version: ${jdkVersion}")
 logger.quiet("jdk build number: ${jdkBuildNumber}")
 logger.quiet("minimum java build number: ${jfxBuildJdkBuildnumMin}")
+logger.quiet("CONF: $CONF")
 logger.quiet("NUM_COMPILE_THREADS: $NUM_COMPILE_THREADS")
 logger.quiet("COMPILE_TARGETS: $COMPILE_TARGETS")
 logger.quiet("COMPILE_FLAGS_FILES: $COMPILE_FLAGS_FILES")