< prev index next >

make/gensrc/Gensrc-jdk.jlink.gmk

Print this page
@  rev 53690 : 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
|  Reviewed-by: alanb, mchung, erikj
~
o  rev 53378 : 8214796: V3: Create a jlink plugin for stripping debug info symbols from native libraries
|  Reviewed-by: alanb, mandy
~
o  rev 53375 : 8214796: Create a jlink plugin for stripping debug info symbols from native libraries
|  Reviewed-by: alanb, mandy
~

@@ -22,17 +22,21 @@
 # or visit www.oracle.com if you need additional information or have any
 # questions.
 #
 
 include GensrcCommonJdk.gmk
+include GensrcProperties.gmk
+include Modules.gmk
 
 ################################################################################
 
-include GensrcProperties.gmk
+# Use wildcard so as to avoid getting non-existing directories back
+JLINK_RESOURCES_DIRS := $(wildcard $(addsuffix /jdk/tools/jlink/resources, \
+    $(call FindModuleSrcDirs, jdk.jlink)))
 
 $(eval $(call SetupCompileProperties, JLINK_PROPERTIES, \
-    SRC_DIRS := $(TOPDIR)/src/jdk.jlink/share/classes/jdk/tools/jlink/resources, \
+    SRC_DIRS := $(JLINK_RESOURCES_DIRS), \
     CLASS := ListResourceBundle, \
 ))
 
 $(eval $(call SetupCompileProperties, JMOD_PROPERTIES, \
     SRC_DIRS := $(TOPDIR)/src/jdk.jlink/share/classes/jdk/tools/jmod/resources, \
< prev index next >