8175165: Don't process JceSecurity.java.template if crypto sources is not present
Reviewed-by: erikj
This commit is contained in:
parent
12ca4e48e7
commit
0d93c1d68e
@ -116,6 +116,7 @@ else
|
|||||||
JCE_DEFAULT_POLICY = limited
|
JCE_DEFAULT_POLICY = limited
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(wildcard $(JDK_TOPDIR)/src/java.base/share/classes/javax/crypto/JceSecurity.java.template), )
|
||||||
$(eval $(call SetupTextFileProcessing, BUILD_JCESECURITY_JAVA, \
|
$(eval $(call SetupTextFileProcessing, BUILD_JCESECURITY_JAVA, \
|
||||||
SOURCE_FILES := $(JDK_TOPDIR)/src/java.base/share/classes/javax/crypto/JceSecurity.java.template, \
|
SOURCE_FILES := $(JDK_TOPDIR)/src/java.base/share/classes/javax/crypto/JceSecurity.java.template, \
|
||||||
OUTPUT_FILE := $(SUPPORT_OUTPUTDIR)/gensrc/java.base/javax/crypto/JceSecurity.java, \
|
OUTPUT_FILE := $(SUPPORT_OUTPUTDIR)/gensrc/java.base/javax/crypto/JceSecurity.java, \
|
||||||
@ -124,3 +125,4 @@ $(eval $(call SetupTextFileProcessing, BUILD_JCESECURITY_JAVA, \
|
|||||||
))
|
))
|
||||||
|
|
||||||
GENSRC_JAVA_BASE += $(BUILD_JCESECURITY_JAVA)
|
GENSRC_JAVA_BASE += $(BUILD_JCESECURITY_JAVA)
|
||||||
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user