6960333: Add make level ALLOW_DOWNLOADS=true option jdk6-b20
authorohair
Thu Jun 10 14:32:34 2010 -0700 (2 years ago)
changeset 46d3984577cb78
parent 45abcb3bcd7353
child 47fa2f1b0af2c4
6960333: Add make level ALLOW_DOWNLOADS=true option
Reviewed-by: darcy, jjg
make/Makefile
--- a/make/Makefile Wed Jun 09 15:19:33 2010 -0700
+++ b/make/Makefile Thu Jun 10 14:32:34 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)