annotate make/gensrc/GensrcCLDR.gmk @ 49718:6a6ee36037ac

8189784: Parsing with Java 9 AKST timezone returns the SystemV variant of the timezone Reviewed-by: erikj, sherman
author naoto
date Wed, 11 Apr 2018 09:14:47 -0700
parents 72e3ae9a25eb
children
rev   line source
naoto@13583 1 #
naoto@49718 2 # Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
naoto@13583 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
naoto@13583 4 #
naoto@13583 5 # This code is free software; you can redistribute it and/or modify it
naoto@13583 6 # under the terms of the GNU General Public License version 2 only, as
naoto@13583 7 # published by the Free Software Foundation. Oracle designates this
naoto@13583 8 # particular file as subject to the "Classpath" exception as provided
naoto@13583 9 # by Oracle in the LICENSE file that accompanied this code.
naoto@13583 10 #
naoto@13583 11 # This code is distributed in the hope that it will be useful, but WITHOUT
naoto@13583 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
naoto@13583 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
naoto@13583 14 # version 2 for more details (a copy is included in the LICENSE file that
naoto@13583 15 # accompanied this code).
naoto@13583 16 #
naoto@13583 17 # You should have received a copy of the GNU General Public License version
naoto@13583 18 # 2 along with this work; if not, write to the Free Software Foundation,
naoto@13583 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
naoto@13583 20 #
naoto@13583 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
naoto@13583 22 # or visit www.oracle.com if you need additional information or have any
naoto@13583 23 # questions.
naoto@13583 24 #
naoto@13583 25
rgoel@38747 26 CLDRVERSION := 29.0.0
erikj@47217 27 CLDRSRCDIR := $(TOPDIR)/src/jdk.localedata/share/classes/sun/util/cldr/resources/common
naoto@13583 28
naoto@31263 29 GENSRC_BASEDIR := $(SUPPORT_OUTPUTDIR)/gensrc/java.base
chegar@27565 30 GENSRC_DIR := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.localedata
naoto@13583 31
erikj@31428 32 CLDR_BASEMETAINFO_FILE := $(GENSRC_BASEDIR)/sun/util/cldr/CLDRBaseLocaleDataMetaInfo.java
erikj@36243 33 CLDR_METAINFO_FILE := $(GENSRC_DIR)/sun/util/resources/cldr/provider/CLDRLocaleDataMetaInfo.java
naoto@31263 34
naoto@31263 35 CLDR_BASE_LOCALES := "en-US"
naoto@31263 36
naoto@49718 37 ZONENAME_TEMPLATE := $(TOPDIR)/src/java.base/share/classes/java/time/format/ZoneName.java.template
naoto@49718 38
naoto@31263 39 $(CLDR_BASEMETAINFO_FILE): $(wildcard $(CLDRSRCDIR)/common/dtd/*.dtd) \
naoto@31263 40 $(wildcard $(CLDRSRCDIR)/common/main/en*.xml) \
naoto@31263 41 $(wildcard $(CLDRSRCDIR)/common/supplemental/*.xml) \
naoto@49718 42 $(ZONENAME_TEMPLATE) \
naoto@31263 43 $(BUILD_TOOLS_JDK)
naoto@31263 44 $(MKDIR) -p $(GENSRC_BASEDIR)
naoto@49718 45 $(TOOL_CLDRCONVERTER) -base $(CLDRSRCDIR) \
naoto@49718 46 -baselocales $(CLDR_BASE_LOCALES) \
naoto@49718 47 -o $(GENSRC_BASEDIR) \
naoto@49718 48 -basemodule \
naoto@49718 49 -zntempfile $(ZONENAME_TEMPLATE)
naoto@13583 50
naoto@13583 51 $(CLDR_METAINFO_FILE): $(wildcard $(CLDRSRCDIR)/common/dtd/*.dtd) \
ihse@20547 52 $(wildcard $(CLDRSRCDIR)/common/main/*.xml) \
chegar@25859 53 $(wildcard $(CLDRSRCDIR)/common/supplemental/*.xml) \
chegar@25859 54 $(BUILD_TOOLS_JDK)
chegar@25859 55 $(MKDIR) -p $(GENSRC_DIR)
naoto@49718 56 $(TOOL_CLDRCONVERTER) -base $(CLDRSRCDIR) \
naoto@49718 57 -baselocales $(CLDR_BASE_LOCALES) \
naoto@49718 58 -o $(GENSRC_DIR)
naoto@13583 59
naoto@31263 60 GENSRC_JAVA_BASE += $(CLDR_BASEMETAINFO_FILE)
naoto@31263 61 GENSRC_JDK_LOCALEDATA += $(CLDR_METAINFO_FILE)