diff -r d287dfac1304 -r 3a9b7a1f9197 make/Bundles.gmk --- a/make/Bundles.gmk Thu Mar 15 10:01:56 2018 +0100 +++ b/make/Bundles.gmk Mon Jun 11 12:10:55 2018 +0200 @@ -146,22 +146,13 @@ # correct base directories. ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release) JDK_IMAGE_DIR := $(JDK_MACOSX_BUNDLE_DIR) - JRE_IMAGE_DIR := $(JRE_MACOSX_BUNDLE_DIR) JDK_IMAGE_HOMEDIR := $(JDK_MACOSX_CONTENTS_DIR)/Home - JRE_IMAGE_HOMEDIR := $(JRE_MACOSX_CONTENTS_DIR)/Home JDK_BUNDLE_SUBDIR := - JRE_BUNDLE_SUBDIR := else JDK_IMAGE_HOMEDIR := $(JDK_IMAGE_DIR) - JRE_IMAGE_HOMEDIR := $(JRE_IMAGE_DIR) JDK_BUNDLE_SUBDIR := jdk-$(VERSION_NUMBER) - JRE_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER) - JRE_COMPACT1_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER)-compact1 - JRE_COMPACT2_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER)-compact2 - JRE_COMPACT3_BUNDLE_SUBDIR := jre-$(VERSION_NUMBER)-compact3 ifneq ($(DEBUG_LEVEL), release) JDK_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR)/$(DEBUG_LEVEL) - JRE_BUNDLE_SUBDIR := $(JRE_BUNDLE_SUBDIR)/$(DEBUG_LEVEL) endif endif @@ -207,26 +198,6 @@ TEST_DEMOS_BUNDLE_FILES := $(filter $(JDK_IMAGE_HOMEDIR)/demo/%, $(ALL_JDK_FILES)) - ALL_JRE_FILES := $(call CacheFind, $(JRE_IMAGE_DIR)) - - # Create special filter rules when dealing with unzipped .dSYM directories on - # macosx - ifeq ($(OPENJDK_TARGET_OS), macosx) - ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), false) - JRE_SYMBOLS_EXCLUDE_PATTERN := $(addprefix %, \ - $(call containing, .dSYM/, $(patsubst $(JRE_IMAGE_DIR)/%, %, $(ALL_JRE_FILES)))) - endif - endif - - JRE_BUNDLE_FILES := $(filter-out \ - $(JRE_SYMBOLS_EXCLUDE_PATTERN) \ - $(SYMBOLS_EXCLUDE_PATTERN), \ - $(ALL_JRE_FILES)) - JRE_SYMBOLS_BUNDLE_FILES := $(filter \ - $(JRE_SYMBOLS_EXCLUDE_PATTERN) \ - $(SYMBOLS_EXCLUDE_PATTERN), \ - $(ALL_JRE_FILES)) - $(eval $(call SetupBundleFile, BUILD_JDK_BUNDLE, \ BUNDLE_NAME := $(JDK_BUNDLE_NAME), \ FILES := $(JDK_BUNDLE_FILES), \ @@ -237,15 +208,6 @@ PRODUCT_TARGETS += $(BUILD_JDK_BUNDLE) - $(eval $(call SetupBundleFile, BUILD_JRE_BUNDLE, \ - BUNDLE_NAME := $(JRE_BUNDLE_NAME), \ - FILES := $(JRE_BUNDLE_FILES), \ - BASE_DIRS := $(JRE_IMAGE_DIR), \ - SUBDIR := $(JRE_BUNDLE_SUBDIR), \ - )) - - PRODUCT_TARGETS += $(BUILD_JRE_BUNDLE) - $(eval $(call SetupBundleFile, BUILD_JDK_SYMBOLS_BUNDLE, \ BUNDLE_NAME := $(JDK_SYMBOLS_BUNDLE_NAME), \ FILES := $(JDK_SYMBOLS_BUNDLE_FILES), \ @@ -256,16 +218,6 @@ PRODUCT_TARGETS += $(BUILD_JDK_SYMBOLS_BUNDLE) - $(eval $(call SetupBundleFile, BUILD_JRE_SYMBOLS_BUNDLE, \ - BUNDLE_NAME := $(JRE_SYMBOLS_BUNDLE_NAME), \ - FILES := $(JRE_SYMBOLS_BUNDLE_FILES), \ - BASE_DIRS := $(JRE_IMAGE_DIR), \ - SUBDIR := $(JRE_BUNDLE_SUBDIR), \ - UNZIP_DEBUGINFO := true, \ - )) - - PRODUCT_TARGETS += $(BUILD_JRE_SYMBOLS_BUNDLE) - # The demo bundle is only created to support client tests. Ideally it should # be built with the main test bundle, but since the prerequisites match # better with the product build, it makes more sense to keep it there for now. @@ -281,35 +233,6 @@ ################################################################################ -ifneq ($(filter profiles-bundles, $(MAKECMDGOALS)), ) - ifeq ($(OPENJDK_TARGET_OS), macosx) - $(error Creating compact profiles bundles on macosx is unsupported) - endif - - define GenerateCompactProfilesBundles - ALL_JRE_COMPACT$1_FILES := $$(call CacheFind, $$(JRE_COMPACT$1_IMAGE_DIR)) - - JRE_COMPACT$1_BUNDLE_FILES := $$(filter-out \ - $$(SYMBOLS_EXCLUDE_PATTERN), \ - $$(ALL_JRE_COMPACT$1_FILES)) - - $$(eval $$(call SetupBundleFile, BUILD_JRE_COMPACT$1_BUNDLE, \ - BUNDLE_NAME := $$(JRE_COMPACT$1_BUNDLE_NAME), \ - FILES := $$(JRE_COMPACT$1_BUNDLE_FILES), \ - BASE_DIRS := $$(JRE_COMPACT$1_IMAGE_DIR), \ - SUBDIR := $$(JRE_COMPACT$1_BUNDLE_SUBDIR), \ - )) - - PROFILES_TARGETS += $$(BUILD_JRE_COMPACT$1_BUNDLE) - endef - - $(eval $(call GenerateCompactProfilesBundles,1)) - $(eval $(call GenerateCompactProfilesBundles,2)) - $(eval $(call GenerateCompactProfilesBundles,3)) -endif - -################################################################################ - ifneq ($(filter test-bundles, $(MAKECMDGOALS)), ) TEST_BUNDLE_FILES := $(call CacheFind, $(TEST_IMAGE_DIR)) @@ -345,8 +268,7 @@ ################################################################################ product-bundles: $(PRODUCT_TARGETS) -profiles-bundles: $(PROFILES_TARGETS) test-bundles: $(TEST_TARGETS) docs-bundles: $(DOCS_TARGETS) -.PHONY: all default product-bundles profiles-bundles test-bundles docs-bundles +.PHONY: all default product-bundles test-bundles docs-bundles