make/gendata/GendataBlacklistedCerts.gmk
author chagedorn
Thu, 12 Sep 2019 12:23:25 +0200
changeset 58104 46e11f978852
parent 55215 29ab1f3bd353
child 58908 73bb9c4002cc
permissions -rw-r--r--
8220416: Comparison of klass pointers is not optimized any more Summary: Enables dead klass pointer optimization (since JDK-6964458) again. Reviewed-by: roland, thartmann
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
25397
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
     1
#
39504
96c700e62710 8003593: build-infra: Paths to optional platform-specific files should not be hardwired to src/closed
erikj
parents: 27565
diff changeset
     2
# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
25397
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
     4
#
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    10
#
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    15
# accompanied this code).
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    16
#
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    20
#
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    23
# questions.
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    24
#
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    25
47314
743814386712 8188814: Simplify IncludeCustomExtension
ihse
parents: 47217
diff changeset
    26
$(eval $(call IncludeCustomExtension, gendata/GendataBlacklistedCerts.gmk))
39504
96c700e62710 8003593: build-infra: Paths to optional platform-specific files should not be hardwired to src/closed
erikj
parents: 27565
diff changeset
    27
47217
72e3ae9a25eb 8187444: Forest Consolidation: Make build work
erikj
parents: 47216
diff changeset
    28
GENDATA_BLACKLISTED_CERTS_SRC += $(TOPDIR)/make/data/blacklistedcertsconverter/blacklisted.certs.pem
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25397
diff changeset
    29
GENDATA_BLACKLISTED_CERTS := $(SUPPORT_OUTPUTDIR)/modules_libs/$(MODULE)/security/blacklisted.certs
25397
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    30
55215
29ab1f3bd353 8193255: Root Certificates should be stored in text format and assembled at build time
weijun
parents: 47314
diff changeset
    31
$(GENDATA_BLACKLISTED_CERTS): $(BUILD_TOOLS_JDK) $(GENDATA_BLACKLISTED_CERTS_SRC)
39504
96c700e62710 8003593: build-infra: Paths to optional platform-specific files should not be hardwired to src/closed
erikj
parents: 27565
diff changeset
    32
	$(call LogInfo, Generating blacklisted certs)
96c700e62710 8003593: build-infra: Paths to optional platform-specific files should not be hardwired to src/closed
erikj
parents: 27565
diff changeset
    33
	$(call MakeDir, $(@D))
25397
26482834c5bc 8047765: Generate blacklist.certs in build
weijun
parents:
diff changeset
    34
	($(CAT) $(GENDATA_BLACKLISTED_CERTS_SRC) | $(TOOL_BLACKLISTED_CERTS) > $@) || exit 1
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25397
diff changeset
    35
729f9700483a 8049367: Modular Run-Time Images
chegar
parents: 25397
diff changeset
    36
TARGETS += $(GENDATA_BLACKLISTED_CERTS)