make/gensrc/GensrcCommonLangtools.gmk
changeset 54380 e297c7bb6469
parent 52804 28094715ae71
equal deleted inserted replaced
54379:40a7e2fc9beb 54380:e297c7bb6469
     1 #
     1 #
     2 # Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
     2 # Copyright (c) 2014, 2019, 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
    62 # Param 1 - Variable to add targets to
    62 # Param 1 - Variable to add targets to
    63 # Param 2 - Extra properties files to process
    63 # Param 2 - Extra properties files to process
    64 define SetupCompileProperties
    64 define SetupCompileProperties
    65   # Lookup the properties that need to be compiled into resource bundles.
    65   # Lookup the properties that need to be compiled into resource bundles.
    66   PROPSOURCES := $2 \
    66   PROPSOURCES := $2 \
    67       $$(shell $(FIND) $(TOPDIR)/src/$(MODULE)/share/classes -name "*.properties")
    67       $$(call FindFiles, $(TOPDIR)/src/$(MODULE)/share/classes, *.properties)
    68 
    68 
    69   # Filter out any excluded translations
    69   # Filter out any excluded translations
    70   PROPSOURCES := $$(call FilterExcludedTranslations, $$(PROPSOURCES), .properties)
    70   PROPSOURCES := $$(call FilterExcludedTranslations, $$(PROPSOURCES), .properties)
    71 
    71 
    72   # Convert .../src/<module>/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties
    72   # Convert .../src/<module>/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties