annotate make/gendata/GendataFontConfig.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 72e3ae9a25eb
children 008f416a79cb
rev   line source
erikj@12892 1 #
erikj@39504 2 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
erikj@12892 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
erikj@12892 4 #
erikj@12892 5 # This code is free software; you can redistribute it and/or modify it
erikj@12892 6 # under the terms of the GNU General Public License version 2 only, as
erikj@12892 7 # published by the Free Software Foundation. Oracle designates this
erikj@12892 8 # particular file as subject to the "Classpath" exception as provided
erikj@12892 9 # by Oracle in the LICENSE file that accompanied this code.
erikj@12892 10 #
erikj@12892 11 # This code is distributed in the hope that it will be useful, but WITHOUT
erikj@12892 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
erikj@12892 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
erikj@12892 14 # version 2 for more details (a copy is included in the LICENSE file that
erikj@12892 15 # accompanied this code).
erikj@12892 16 #
erikj@12892 17 # You should have received a copy of the GNU General Public License version
erikj@12892 18 # 2 along with this work; if not, write to the Free Software Foundation,
erikj@12892 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
erikj@12892 20 #
erikj@12892 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
erikj@12892 22 # or visit www.oracle.com if you need additional information or have any
erikj@12892 23 # questions.
erikj@12892 24 #
erikj@12892 25
ihse@47314 26 $(eval $(call IncludeCustomExtension, gendata/GendataFontConfig.gmk))
erikj@39504 27
chegar@27565 28 GENDATA_FONT_CONFIG_DST := $(SUPPORT_OUTPUTDIR)/modules_libs/$(MODULE)
erikj@12892 29
erikj@47217 30 GENDATA_FONT_CONFIG_DATA_DIR ?= $(TOPDIR)/make/data/fontconfig
erikj@12892 31
erikj@23021 32 GENDATA_FONT_CONFIG_SRC_FILES := \
erikj@23021 33 $(wildcard $(GENDATA_FONT_CONFIG_DATA_DIR)/$(OPENJDK_TARGET_OS).*)
erikj@12892 34
erikj@12892 35
ihse@20547 36 $(GENDATA_FONT_CONFIG_DST)/%.src: \
erikj@23021 37 $(GENDATA_FONT_CONFIG_DATA_DIR)/$(OPENJDK_TARGET_OS).%
erikj@16636 38 $(call install-file)
erikj@12892 39
ihse@20547 40 $(GENDATA_FONT_CONFIG_DST)/%.bfc: \
erikj@23021 41 $(GENDATA_FONT_CONFIG_DATA_DIR)/$(OPENJDK_TARGET_OS).%.properties \
chegar@27565 42 $(BUILD_TOOLS_JDK)
erikj@12892 43 $(MKDIR) -p $(@D)
ohair@13702 44 $(RM) $@
erikj@12892 45 $(TOOL_COMPILEFONTCONFIG) $< $@
erikj@13164 46 $(CHMOD) 444 $@
erikj@12892 47
erikj@12892 48
erikj@23021 49 GENDATA_FONT_CONFIGS := $(patsubst $(GENDATA_FONT_CONFIG_DATA_DIR)/$(OPENJDK_TARGET_OS).%, \
erikj@23021 50 $(GENDATA_FONT_CONFIG_DST)/%.src, $(GENDATA_FONT_CONFIG_SRC_FILES))
erikj@23021 51 GENDATA_BFONT_CONFIGS := $(patsubst $(GENDATA_FONT_CONFIG_DATA_DIR)/$(OPENJDK_TARGET_OS).%.properties, \
erikj@23021 52 $(GENDATA_FONT_CONFIG_DST)/%.bfc, $(GENDATA_FONT_CONFIG_SRC_FILES))
erikj@12892 53
chegar@27565 54 TARGETS := $(GENDATA_FONT_CONFIGS) $(GENDATA_BFONT_CONFIGS)