makefiles/CreateJars.gmk

Print this page
rev 7998 : [mq]: 8024332


  63 
  64 ##########################################################################################
  65 
  66 $(eval $(call SetupArchive,BUILD_DNS_JAR,,\
  67                 SRCS:=$(JDK_OUTPUTDIR)/classes,\
  68                 INCLUDES:=sun/net/spi/nameservice/dns,\
  69                 EXTRA_FILES:=META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor,\
  70                 JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/dnsns.jar,\
  71                 SKIP_METAINF:=true))
  72 
  73 
  74 ##########################################################################################
  75 
  76 LOCALEDATA_INCLUDE_LOCALES := ar be bg ca cs da de el es et fi fr ga hi hr hu in is it \
  77                               iw ja ko lt lv mk ms mt nl no pl pt ro ru sk sl sq sr sv \
  78                               th tr uk vi zh
  79 
  80 LOCALEDATA_INCLUDES := $(addprefix sun/text/resources/,$(LOCALEDATA_INCLUDE_LOCALES)) \
  81                        $(addprefix sun/util/resources/,$(LOCALEDATA_INCLUDE_LOCALES))
  82 
  83 # For non-US English locale data
  84 
  85 LOCALEDATA_INCLUDES += \
  86                 sun/text/resources/en/FormatData_en_AU.class \
  87                 sun/text/resources/en/FormatData_en_CA.class \
  88                 sun/text/resources/en/FormatData_en_GB.class \
  89                 sun/text/resources/en/FormatData_en_IE.class \
  90                 sun/text/resources/en/FormatData_en_IN.class \
  91                 sun/text/resources/en/FormatData_en_MT.class \
  92                 sun/text/resources/en/FormatData_en_NZ.class \
  93                 sun/text/resources/en/FormatData_en_PH.class \
  94                 sun/text/resources/en/FormatData_en_SG.class \
  95                 sun/text/resources/en/FormatData_en_ZA.class \
  96                 sun/util/resources/en/CalendarData_en_GB.class \
  97                 sun/util/resources/en/CalendarData_en_IE.class \
  98                 sun/util/resources/en/CalendarData_en_MT.class \
  99                 sun/util/resources/en/CurrencyNames_en_AU.class \
 100                 sun/util/resources/en/CurrencyNames_en_CA.class \
 101                 sun/util/resources/en/CurrencyNames_en_GB.class \
 102                 sun/util/resources/en/CurrencyNames_en_IE.class \
 103                 sun/util/resources/en/CurrencyNames_en_IN.class \
 104                 sun/util/resources/en/CurrencyNames_en_MT.class \
 105                 sun/util/resources/en/CurrencyNames_en_NZ.class \
 106                 sun/util/resources/en/CurrencyNames_en_PH.class \
 107                 sun/util/resources/en/CurrencyNames_en_SG.class \
 108                 sun/util/resources/en/CurrencyNames_en_ZA.class \
 109                 sun/util/resources/en/LocaleNames_en_MT.class \
 110                 sun/util/resources/en/LocaleNames_en_PH.class \
 111                 sun/util/resources/en/LocaleNames_en_SG.class \
 112                 sun/util/resources/en/TimeZoneNames_en_CA.class \
 113                 sun/util/resources/en/TimeZoneNames_en_GB.class \
 114                 sun/util/resources/en/TimeZoneNames_en_IE.class
 115 
 116 $(eval $(call SetupArchive,BUILD_LOCALEDATA_JAR,,\
 117                 SRCS:=$(JDK_OUTPUTDIR)/classes,\
 118                 SUFFIXES:=.class _dict _th,\
 119                 INCLUDES:=$(LOCALEDATA_INCLUDES),\
 120                 EXCLUDES:=sun/text/resources/th/BreakIteratorRules_th.class,\
 121                 JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/localedata.jar,\
 122                 SKIP_METAINF:=true))
 123 
 124 ##########################################################################################
 125 #
 126 # Different variants of rt.jar are built based on the current profile. The output
 127 # directory is augmented with the profile name so that the final jar file and all the
 128 # intermediary list files will be in directory. This has the form lib$PROFILE rather than
 129 # lib/$PROFILE so that it won't get copied as part of the image generation process.
 130 # Each profile customizes the RT_JAR_EXCLUDES variable.
 131 #
 132 ##########################################################################################
 133 
 134 # Full JRE exclude list for rt.jar and resources.jar
 135 # This value should exclude types destined for jars other than rt.jar and resources.jar.




  63 
  64 ##########################################################################################
  65 
  66 $(eval $(call SetupArchive,BUILD_DNS_JAR,,\
  67                 SRCS:=$(JDK_OUTPUTDIR)/classes,\
  68                 INCLUDES:=sun/net/spi/nameservice/dns,\
  69                 EXTRA_FILES:=META-INF/services/sun.net.spi.nameservice.NameServiceDescriptor,\
  70                 JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/dnsns.jar,\
  71                 SKIP_METAINF:=true))
  72 
  73 
  74 ##########################################################################################
  75 
  76 LOCALEDATA_INCLUDE_LOCALES := ar be bg ca cs da de el es et fi fr ga hi hr hu in is it \
  77                               iw ja ko lt lv mk ms mt nl no pl pt ro ru sk sl sq sr sv \
  78                               th tr uk vi zh
  79 
  80 LOCALEDATA_INCLUDES := $(addprefix sun/text/resources/,$(LOCALEDATA_INCLUDE_LOCALES)) \
  81                        $(addprefix sun/util/resources/,$(LOCALEDATA_INCLUDE_LOCALES))
  82 

































  83 $(eval $(call SetupArchive,BUILD_LOCALEDATA_JAR,,\
  84                 SRCS:=$(JDK_OUTPUTDIR)/classes,\
  85                 SUFFIXES:=.class _dict _th,\
  86                 INCLUDES:=$(LOCALEDATA_INCLUDES),\
  87                 EXCLUDES:=sun/text/resources/th/BreakIteratorRules_th.class,\
  88                 JAR:=$(IMAGES_OUTPUTDIR)/lib/ext/localedata.jar,\
  89                 SKIP_METAINF:=true))
  90 
  91 ##########################################################################################
  92 #
  93 # Different variants of rt.jar are built based on the current profile. The output
  94 # directory is augmented with the profile name so that the final jar file and all the
  95 # intermediary list files will be in directory. This has the form lib$PROFILE rather than
  96 # lib/$PROFILE so that it won't get copied as part of the image generation process.
  97 # Each profile customizes the RT_JAR_EXCLUDES variable.
  98 #
  99 ##########################################################################################
 100 
 101 # Full JRE exclude list for rt.jar and resources.jar
 102 # This value should exclude types destined for jars other than rt.jar and resources.jar.