annotate make/ExplodedImageOptimize.gmk @ 49578:7c82bb507446

8190333: sun/security/ssl/X509KeyManager/PreferredKey.java failed with "Failed to get the preferable key aliases" Reviewed-by: mullan
author amjiang
date Tue, 10 Apr 2018 18:16:12 -0700
parents 7c2c5a03a45f
children 3f32076a43a6
rev   line source
erikj@41171 1 #
erikj@41171 2 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
erikj@41171 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
erikj@41171 4 #
erikj@41171 5 # This code is free software; you can redistribute it and/or modify it
erikj@41171 6 # under the terms of the GNU General Public License version 2 only, as
erikj@41171 7 # published by the Free Software Foundation. Oracle designates this
erikj@41171 8 # particular file as subject to the "Classpath" exception as provided
erikj@41171 9 # by Oracle in the LICENSE file that accompanied this code.
erikj@41171 10 #
erikj@41171 11 # This code is distributed in the hope that it will be useful, but WITHOUT
erikj@41171 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
erikj@41171 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
erikj@41171 14 # version 2 for more details (a copy is included in the LICENSE file that
erikj@41171 15 # accompanied this code).
erikj@41171 16 #
erikj@41171 17 # You should have received a copy of the GNU General Public License version
erikj@41171 18 # 2 along with this work; if not, write to the Free Software Foundation,
erikj@41171 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
erikj@41171 20 #
erikj@41171 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
erikj@41171 22 # or visit www.oracle.com if you need additional information or have any
erikj@41171 23 # questions.
erikj@41171 24 #
erikj@41171 25
erikj@41171 26 # Runs a tool on the exploded image to improve performance
erikj@41171 27
erikj@41171 28 default: all
erikj@41171 29
erikj@41171 30 include $(SPEC)
erikj@41171 31 include MakeBase.gmk
erikj@47217 32 include $(TOPDIR)/make/ModuleTools.gmk
erikj@41171 33
erikj@41171 34 ################################################################################
erikj@41171 35
erikj@41171 36 PACKAGES_ATTRIBUTE_TARGET := $(JDK_OUTPUTDIR)/_packages_attribute.done
erikj@41171 37 ALL_MODULEINFO_CLASSES := $(wildcard $(JDK_OUTPUTDIR)/modules/*/module_info.class)
erikj@41171 38
erikj@41171 39 $(PACKAGES_ATTRIBUTE_TARGET): $(ALL_MODULEINFO_CLASSES) $(BUILD_JIGSAW_CLASSES)
erikj@41171 40 $(call LogInfo, Optimizing the exploded image)
erikj@41171 41 $(TOOL_ADD_PACKAGES_ATTRIBUTE) $(JDK_OUTPUTDIR)
erikj@41659 42 $(TOUCH) $@
erikj@41171 43
erikj@41171 44 TARGETS := $(PACKAGES_ATTRIBUTE_TARGET)
erikj@41171 45
erikj@41171 46 ################################################################################
erikj@41171 47
erikj@41171 48 all: $(TARGETS)
erikj@41171 49
erikj@41171 50 .PHONY: all default