312 JCOV_TARGETS += $(BUILD_JCOV_BUNDLE) |
312 JCOV_TARGETS += $(BUILD_JCOV_BUNDLE) |
313 endif |
313 endif |
314 |
314 |
315 ################################################################################ |
315 ################################################################################ |
316 |
316 |
|
317 ifneq ($(filter static-libs-bundles, $(MAKECMDGOALS)), ) |
|
318 STATIC_LIBS_BUNDLE_FILES := $(call FindFiles, $(STATIC_LIBS_IMAGE_DIR)) |
|
319 |
|
320 ifeq ($(OPENJDK_TARGET_OS)-$(DEBUG_LEVEL), macosx-release) |
|
321 STATIC_LIBS_BUNDLE_SUBDIR := $(JDK_MACOSX_CONTENTS_SUBDIR)/Home |
|
322 else |
|
323 STATIC_LIBS_BUNDLE_SUBDIR := $(JDK_BUNDLE_SUBDIR) |
|
324 endif |
|
325 |
|
326 $(eval $(call SetupBundleFile, BUILD_STATIC_LIBS_BUNDLE, \ |
|
327 BUNDLE_NAME := $(STATIC_LIBS_BUNDLE_NAME), \ |
|
328 FILES := $(STATIC_LIBS_BUNDLE_FILES), \ |
|
329 BASE_DIRS := $(STATIC_LIBS_IMAGE_DIR), \ |
|
330 SUBDIR := $(STATIC_LIBS_BUNDLE_SUBDIR), \ |
|
331 )) |
|
332 |
|
333 STATIC_LIBS_TARGETS += $(BUILD_STATIC_LIBS_BUNDLE) |
|
334 endif |
|
335 |
|
336 ################################################################################ |
|
337 |
317 # Hook to include the corresponding custom file, if present. |
338 # Hook to include the corresponding custom file, if present. |
318 $(eval $(call IncludeCustomExtension, Bundles.gmk)) |
339 $(eval $(call IncludeCustomExtension, Bundles.gmk)) |
319 |
340 |
320 ################################################################################ |
341 ################################################################################ |
321 |
342 |
322 product-bundles: $(PRODUCT_TARGETS) |
343 product-bundles: $(PRODUCT_TARGETS) |
323 legacy-bundles: $(LEGACY_TARGETS) |
344 legacy-bundles: $(LEGACY_TARGETS) |
324 test-bundles: $(TEST_TARGETS) |
345 test-bundles: $(TEST_TARGETS) |
325 docs-bundles: $(DOCS_TARGETS) |
346 docs-bundles: $(DOCS_TARGETS) |
|
347 static-libs-bundles: $(STATIC_LIBS_TARGETS) |
326 jcov-bundles: $(JCOV_TARGETS) |
348 jcov-bundles: $(JCOV_TARGETS) |
327 |
349 |
328 .PHONY: all default product-bundles test-bundles docs-bundles jcov-bundles |
350 .PHONY: all default product-bundles test-bundles docs-bundles \ |
|
351 static-libs-bundles jcov-bundles |