diff -r 61e442695048 -r 56ca125c973b make/Bundles.gmk --- a/make/Bundles.gmk Thu Nov 29 13:17:14 2018 -0800 +++ b/make/Bundles.gmk Thu Nov 29 06:34:46 2018 -0800 @@ -262,6 +262,21 @@ ################################################################################ +ifneq ($(filter jcov-bundles, $(MAKECMDGOALS)), ) + JCOV_BUNDLE_FILES := $(call CacheFind, $(JCOV_IMAGE_DIR)) + + $(eval $(call SetupBundleFile, BUILD_JCOV_BUNDLE, \ + BUNDLE_NAME := $(JCOV_BUNDLE_NAME), \ + FILES := $(JCOV_BUNDLE_FILES), \ + BASE_DIRS := $(JCOV_IMAGE_DIR), \ + SUBDIR := $(JDK_BUNDLE_SUBDIR), \ + )) + + JCOV_TARGETS += $(BUILD_JCOV_BUNDLE) +endif + +################################################################################ + # Hook to include the corresponding custom file, if present. $(eval $(call IncludeCustomExtension, Bundles.gmk)) @@ -270,5 +285,6 @@ product-bundles: $(PRODUCT_TARGETS) test-bundles: $(TEST_TARGETS) docs-bundles: $(DOCS_TARGETS) +jcov-bundles: $(JCOV_TARGETS) -.PHONY: all default product-bundles test-bundles docs-bundles +.PHONY: all default product-bundles test-bundles docs-bundles jcov-bundles