comparison 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
comparison
equal deleted inserted replaced
1:54690d217e7d 2:5f408e393194
1 # 1 #
2 # Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. 2 # Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights reserved.
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 # 4 #
5 # This code is free software; you can redistribute it and/or modify it 5 # This code is free software; you can redistribute it and/or modify it
6 # under the terms of the GNU General Public License version 2 only, as 6 # under the terms of the GNU General Public License version 2 only, as
7 # published by the Free Software Foundation. Oracle designates this 7 # published by the Free Software Foundation. Oracle designates this
32 CLDR_BASEMETAINFO_FILE := $(GENSRC_BASEDIR)/sun/util/cldr/CLDRBaseLocaleDataMetaInfo.java 32 CLDR_BASEMETAINFO_FILE := $(GENSRC_BASEDIR)/sun/util/cldr/CLDRBaseLocaleDataMetaInfo.java
33 CLDR_METAINFO_FILE := $(GENSRC_DIR)/sun/util/resources/cldr/provider/CLDRLocaleDataMetaInfo.java 33 CLDR_METAINFO_FILE := $(GENSRC_DIR)/sun/util/resources/cldr/provider/CLDRLocaleDataMetaInfo.java
34 34
35 CLDR_BASE_LOCALES := "en-US" 35 CLDR_BASE_LOCALES := "en-US"
36 36
37 ZONENAME_TEMPLATE := $(TOPDIR)/src/java.base/share/classes/java/time/format/ZoneName.java.template
38
37 $(CLDR_BASEMETAINFO_FILE): $(wildcard $(CLDRSRCDIR)/common/dtd/*.dtd) \ 39 $(CLDR_BASEMETAINFO_FILE): $(wildcard $(CLDRSRCDIR)/common/dtd/*.dtd) \
38 $(wildcard $(CLDRSRCDIR)/common/main/en*.xml) \ 40 $(wildcard $(CLDRSRCDIR)/common/main/en*.xml) \
39 $(wildcard $(CLDRSRCDIR)/common/supplemental/*.xml) \ 41 $(wildcard $(CLDRSRCDIR)/common/supplemental/*.xml) \
42 $(ZONENAME_TEMPLATE) \
40 $(BUILD_TOOLS_JDK) 43 $(BUILD_TOOLS_JDK)
41 $(MKDIR) -p $(GENSRC_BASEDIR) 44 $(MKDIR) -p $(GENSRC_BASEDIR)
42 $(TOOL_CLDRCONVERTER) -base $(CLDRSRCDIR) -baselocales $(CLDR_BASE_LOCALES) -basemodule -o $(GENSRC_BASEDIR) 45 $(TOOL_CLDRCONVERTER) -base $(CLDRSRCDIR) \
46 -baselocales $(CLDR_BASE_LOCALES) \
47 -o $(GENSRC_BASEDIR) \
48 -basemodule \
49 -zntempfile $(ZONENAME_TEMPLATE)
43 50
44 $(CLDR_METAINFO_FILE): $(wildcard $(CLDRSRCDIR)/common/dtd/*.dtd) \ 51 $(CLDR_METAINFO_FILE): $(wildcard $(CLDRSRCDIR)/common/dtd/*.dtd) \
45 $(wildcard $(CLDRSRCDIR)/common/main/*.xml) \ 52 $(wildcard $(CLDRSRCDIR)/common/main/*.xml) \
46 $(wildcard $(CLDRSRCDIR)/common/supplemental/*.xml) \ 53 $(wildcard $(CLDRSRCDIR)/common/supplemental/*.xml) \
47 $(BUILD_TOOLS_JDK) 54 $(BUILD_TOOLS_JDK)
48 $(MKDIR) -p $(GENSRC_DIR) 55 $(MKDIR) -p $(GENSRC_DIR)
49 $(TOOL_CLDRCONVERTER) -base $(CLDRSRCDIR) -baselocales $(CLDR_BASE_LOCALES) -o $(GENSRC_DIR) 56 $(TOOL_CLDRCONVERTER) -base $(CLDRSRCDIR) \
57 -baselocales $(CLDR_BASE_LOCALES) \
58 -o $(GENSRC_DIR)
50 59
51 GENSRC_JAVA_BASE += $(CLDR_BASEMETAINFO_FILE) 60 GENSRC_JAVA_BASE += $(CLDR_BASEMETAINFO_FILE)
52 GENSRC_JDK_LOCALEDATA += $(CLDR_METAINFO_FILE) 61 GENSRC_JDK_LOCALEDATA += $(CLDR_METAINFO_FILE)