changeset 4729:0e546acf224f

7109885: security baseline for 7u2 or above is not set correctly Reviewed-by: ccheung, igor, ohair
author ngthomas
date Sun, 13 Nov 2011 21:39:57 -0800
parents be4a2f376e73
children 9621edd8118f
files make/common/shared/Sanity.gmk
diffstat 1 files changed, 25 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/shared/Sanity.gmk	Thu Dec 15 12:59:59 2011 -0800
+++ b/make/common/shared/Sanity.gmk	Sun Nov 13 21:39:57 2011 -0800
@@ -1608,6 +1608,31 @@
 	fi
 endif
 
+######################################################
+# SECURITY_BASELINE_170 test
+######################################################
+security_baseline_170:
+ifeq ($(PLATFORM), windows)
+	@if [ -z "$(SECURITY_BASELINE_170)" ]; then \
+	    $(ECHO) "WARNING: Your SECURITY_BASELINE_170 setting is empty.\n" \
+		"        Setting it to the default value of 1.7.0_01.\n" \
+		"        It is recommended to set SECURITY_BASELINE_170.\n" \
+		"" >> $(WARNING_FILE) ; \
+	fi
+endif
+
+######################################################
+# SECURITY_BASELINE_180 test
+######################################################
+security_baseline_180:
+ifeq ($(PLATFORM), windows)
+	@if [ -z "$(SECURITY_BASELINE_180)" ]; then \
+	    $(ECHO) "WARNING: Your SECURITY_BASELINE_180 setting is empty.\n" \
+		"        Setting it to the default value of 1.8.0.\n" \
+		"        It is recommended to set SECURITY_BASELINE_180.\n" \
+		"" >> $(WARNING_FILE) ; \
+	fi
+endif
 
 ######################################################
 # this should be the last rule in any target's sanity rule.