< prev index next >

make/gensrc/Gensrc-java.base.gmk

Print this page
rev 13975 : 8153118: Remove sun.misc.resources
Reviewed-by:


  38 ################################################################################
  39 
  40 include GensrcProperties.gmk
  41 
  42 $(eval $(call SetupCompileProperties, LIST_RESOURCE_BUNDLE, \
  43     SRC_DIRS := $(JDK_TOPDIR)/src/java.base/share/classes/sun/launcher/resources, \
  44     CLASS := ListResourceBundle, \
  45 ))
  46 
  47 $(eval $(call SetupCompileProperties, SUN_UTIL, \
  48     SRC_DIRS := $(JDK_TOPDIR)/src/java.base/share/classes/sun/util/resources, \
  49     CLASS := sun.util.resources.LocaleNamesBundle, \
  50 ))
  51 
  52 GENSRC_JAVA_BASE += $(LIST_RESOURCE_BUNDLE) $(SUN_UTIL)
  53 
  54 # Some resources bundles are already present as java files but still need to be
  55 # copied to zh_HK locale.
  56 $(eval $(call SetupCopy-zh_HK,COPY_ZH_HK, \
  57     $(addprefix $(JDK_TOPDIR)/src/java.base/share/classes/, \
  58         sun/misc/resources/Messages_zh_TW.java \
  59         sun/security/util/AuthResources_zh_TW.java \
  60         sun/security/util/Resources_zh_TW.java)))
  61 
  62 GENSRC_JAVA_BASE += $(COPY_ZH_HK)
  63 
  64 ################################################################################
  65 
  66 java.base: $(GENSRC_JAVA_BASE)
  67 
  68 all: java.base
  69 
  70 .PHONY: all java.base


  38 ################################################################################
  39 
  40 include GensrcProperties.gmk
  41 
  42 $(eval $(call SetupCompileProperties, LIST_RESOURCE_BUNDLE, \
  43     SRC_DIRS := $(JDK_TOPDIR)/src/java.base/share/classes/sun/launcher/resources, \
  44     CLASS := ListResourceBundle, \
  45 ))
  46 
  47 $(eval $(call SetupCompileProperties, SUN_UTIL, \
  48     SRC_DIRS := $(JDK_TOPDIR)/src/java.base/share/classes/sun/util/resources, \
  49     CLASS := sun.util.resources.LocaleNamesBundle, \
  50 ))
  51 
  52 GENSRC_JAVA_BASE += $(LIST_RESOURCE_BUNDLE) $(SUN_UTIL)
  53 
  54 # Some resources bundles are already present as java files but still need to be
  55 # copied to zh_HK locale.
  56 $(eval $(call SetupCopy-zh_HK,COPY_ZH_HK, \
  57     $(addprefix $(JDK_TOPDIR)/src/java.base/share/classes/, \

  58         sun/security/util/AuthResources_zh_TW.java \
  59         sun/security/util/Resources_zh_TW.java)))
  60 
  61 GENSRC_JAVA_BASE += $(COPY_ZH_HK)
  62 
  63 ################################################################################
  64 
  65 java.base: $(GENSRC_JAVA_BASE)
  66 
  67 all: java.base
  68 
  69 .PHONY: all java.base
< prev index next >