diff make/CompileDemos.gmk @ 13471:31ba5abc1e41

8146403: Windows build can be faster Reviewed-by: ihse
author erikj
date Sat, 16 Jan 2016 13:01:44 +0100
parents dc90094c0d66
children f82971b324f6
line wrap: on
line diff
--- a/make/CompileDemos.gmk	Sat Jan 16 00:18:33 2016 +0000
+++ b/make/CompileDemos.gmk	Sat Jan 16 13:01:44 2016 +0100
@@ -38,7 +38,8 @@
 include ZipArchive.gmk
 
 # Prepare the find cache.
-$(eval $(call FillCacheFind, $(JDK_TOPDIR)/src))
+$(eval $(call FillCacheFind, $(wildcard $(JDK_TOPDIR)/src/demo \
+    $(JDK_TOPDIR)/src/*/demo)))
 
 # Append demo goals to this variable.
 TARGETS =