make/Bundles.gmk
changeset 44724 8efb5c82a573
parent 43051 6b8a8764b1fe
child 45096 6e9ec4d965f2
equal deleted inserted replaced
44628:513c3026b94f 44724:8efb5c82a573
   181   JDK_BUNDLE_FILES := \
   181   JDK_BUNDLE_FILES := \
   182       $(filter-out \
   182       $(filter-out \
   183           $(JDK_SYMBOLS_EXCLUDE_PATTERN) \
   183           $(JDK_SYMBOLS_EXCLUDE_PATTERN) \
   184           $(JDK_EXTRA_EXCLUDES) \
   184           $(JDK_EXTRA_EXCLUDES) \
   185           $(SYMBOLS_EXCLUDE_PATTERN) \
   185           $(SYMBOLS_EXCLUDE_PATTERN) \
   186           $(JDK_IMAGE_HOMEDIR)/demo/% $(JDK_IMAGE_HOMEDIR)/sample/% \
       
   187           , \
   186           , \
   188           $(ALL_JDK_FILES) \
   187           $(ALL_JDK_FILES) \
   189       )
       
   190   DEMOS_BUNDLE_FILES := \
       
   191       $(filter-out \
       
   192           $(JDK_SYMBOLS_EXCLUDE_PATTERN) \
       
   193           $(SYMBOLS_EXCLUDE_PATTERN) \
       
   194           , \
       
   195           $(filter \
       
   196                $(JDK_IMAGE_HOMEDIR)/demo/% $(JDK_IMAGE_HOMEDIR)/sample/% \
       
   197                $(JDK_IMAGE_HOMEDIR)/release \
       
   198                , \
       
   199                $(ALL_JDK_FILES) \
       
   200           ) \
       
   201       )
   188       )
   202   JDK_SYMBOLS_BUNDLE_FILES := \
   189   JDK_SYMBOLS_BUNDLE_FILES := \
   203       $(filter \
   190       $(filter \
   204           $(JDK_SYMBOLS_EXCLUDE_PATTERN) \
   191           $(JDK_SYMBOLS_EXCLUDE_PATTERN) \
   205           $(SYMBOLS_EXCLUDE_PATTERN) \
   192           $(SYMBOLS_EXCLUDE_PATTERN) \
   206           , \
   193           , \
   207           $(filter-out \
   194           $(filter-out \
   208               $(JDK_IMAGE_HOMEDIR)/demo/% $(JDK_IMAGE_HOMEDIR)/sample/% \
   195               $(JDK_IMAGE_HOMEDIR)/demo/% \
   209               , \
   196               , \
   210               $(ALL_JDK_FILES) \
   197               $(ALL_JDK_FILES) \
   211           ) \
   198           ) \
   212       ) \
   199       ) \
   213       $(call CacheFind, $(SYMBOLS_IMAGE_DIR))
   200       $(call CacheFind, $(SYMBOLS_IMAGE_DIR))
   269       UNZIP_DEBUGINFO := true, \
   256       UNZIP_DEBUGINFO := true, \
   270   ))
   257   ))
   271 
   258 
   272   PRODUCT_TARGETS += $(BUILD_JRE_SYMBOLS_BUNDLE)
   259   PRODUCT_TARGETS += $(BUILD_JRE_SYMBOLS_BUNDLE)
   273 
   260 
   274   $(eval $(call SetupBundleFile, BUILD_DEMOS_BUNDLE, \
       
   275       BUNDLE_NAME := $(DEMOS_BUNDLE_NAME), \
       
   276       FILES := $(DEMOS_BUNDLE_FILES), \
       
   277       BASE_DIRS := $(JDK_IMAGE_DIR), \
       
   278       SUBDIR := $(JDK_BUNDLE_SUBDIR), \
       
   279   ))
       
   280 
       
   281   PRODUCT_TARGETS += $(BUILD_DEMOS_BUNDLE)
       
   282 endif
   261 endif
   283 
   262 
   284 ################################################################################
   263 ################################################################################
   285 
   264 
   286 ifneq ($(filter profiles-bundles, $(MAKECMDGOALS)), )
   265 ifneq ($(filter profiles-bundles, $(MAKECMDGOALS)), )