changeset 17121:f12c83ece7ab

8179867: JDK9 b167: demos exist in JDK bundles Reviewed-by: ihse
author erikj
date Wed, 10 May 2017 18:27:48 +0200
parents 81ae2abfb49f
children a3af889e7f65
files make/CompileDemos.gmk
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/CompileDemos.gmk	Wed May 10 12:36:14 2017 +0100
+++ b/make/CompileDemos.gmk	Wed May 10 18:27:48 2017 +0200
@@ -291,9 +291,21 @@
 
 ################################################################################
 
+ifneq ($(filter images, $(MAKECMDGOALS)), )
+  $(eval $(call SetupCopyFiles, COPY_TO_TEST_IMAGE, \
+      SRC := $(SUPPORT_OUTPUTDIR)/demos/image, \
+      DEST := $(TEST_IMAGE_DIR)/jdk/demos, \
+      FILES := $(call DoubleDollar, $(call CacheFind, $(SUPPORT_OUTPUTDIR)/demos/image)), \
+  ))
+
+  IMAGES_TARGETS := $(COPY_TO_TEST_IMAGE)
+endif
+
+################################################################################
 # Hook to include the corresponding custom file, if present.
 $(eval $(call IncludeCustomExtension, jdk, CompileDemos.gmk))
 
 all: $(TARGETS)
+images: $(IMAGES_TARGETS)
 
 .PHONY: all