make/gensrc/Gensrc-jdk.localedata.gmk
author ccheung
Fri, 29 Sep 2017 10:11:01 -0700
changeset 47564 25ef5e64fd71
parent 47217 72e3ae9a25eb
child 47314 743814386712
permissions -rw-r--r--
8138600: eliminate the need of ModuleLoaderMap.dat for CDS Summary: removed the code which generates the ModuleLoaderMap.dat and the code which references it Reviewed-by: mchung, jiangli
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26632
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     1
#
33669
1082bb5cff16 8142383: Use named arguments for SetupCompileProperties in jdk
ihse
parents: 27088
diff changeset
     2
# Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
26632
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     4
#
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    10
#
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    15
# accompanied this code).
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    16
#
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    20
#
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    23
# questions.
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    24
#
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    25
47217
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    26
include GensrcCommonJdk.gmk
26632
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    27
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    28
# Hook to include the corresponding custom file, if present.
47217
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    29
$(eval $(call IncludeCustomExtension, , gensrc/Gensrc-jdk.localedata.gmk))
26632
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    30
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    31
include GensrcLocaleData.gmk
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    32
include GensrcCLDR.gmk
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    33
27088
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    34
################################################################################
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    35
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    36
include GensrcProperties.gmk
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    37
33669
1082bb5cff16 8142383: Use named arguments for SetupCompileProperties in jdk
ihse
parents: 27088
diff changeset
    38
$(eval $(call SetupCompileProperties, COMPILE_PROPERTIES, \
47217
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    39
    SRC_DIRS := $(TOPDIR)/src/jdk.localedata/share/classes/sun/util/resources, \
33669
1082bb5cff16 8142383: Use named arguments for SetupCompileProperties in jdk
ihse
parents: 27088
diff changeset
    40
    CLASS := sun.util.resources.LocaleNamesBundle, \
1082bb5cff16 8142383: Use named arguments for SetupCompileProperties in jdk
ihse
parents: 27088
diff changeset
    41
))
27088
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    42
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    43
# Skip generating zh_HK from zh_TW for this module.
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    44
GENSRC_JDK_LOCALEDATA += $(filter-out %_zh_HK.java, $(COMPILE_PROPERTIES))
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    45
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    46
################################################################################
ea6446a9121b 8055191: Split GensrcProperties.gmk into separate modules
erikj
parents: 26632
diff changeset
    47
26632
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    48
jdk.localedata: $(GENSRC_JDK_LOCALEDATA)
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    49
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    50
all: jdk.localedata
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    51
f87ab7e0bf39 8058509: CLDRLocaleDataMetaInfo should be in jdk.localedata
naoto
parents:
diff changeset
    52
.PHONY: all jdk.localedata