6960333: Add make level ALLOW_DOWNLOADS=true option jdk6-b20
authorohair
Thu Jun 10 14:32:58 2010 -0700 (2 years ago)
changeset 4849efd83dd6b5
parent 479089ab6753d9
child 498890516b8822
6960333: Add make level ALLOW_DOWNLOADS=true option
Reviewed-by: darcy, jjg
make/Makefile
--- a/make/Makefile Wed Jun 09 15:21:52 2010 -0700
+++ b/make/Makefile Thu Jun 10 14:32:58 2010 -0700
@@ -64,6 +64,11 @@ else
ANT_OPTIONS += -Djavac.source=$(JAVAC_SOURCE_ARG)
endif
endif
+
+# If downloads are allowed
+ifeq ($(ALLOW_DOWNLOADS),true)
+ ANT_OPTIONS += -Dallow.downloads=true
+endif
# Figure out the platform we are using
_SYSTEM_UNAME := $(shell uname)