changeset 4832:134420afe9c2

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 e1f4b4b4b96e
children 6f594239e9dc
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 Oct 27 13:54:42 2011 -0700
+++ 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.