jdk/make/gendata/GendataPolicyJars.gmk
author ctornqvi
Fri, 19 Aug 2016 18:20:22 +0200
changeset 40632 8cf7f396360e
parent 39504 96c700e62710
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     1
#
39504
96c700e62710 8003593: build-infra: Paths to optional platform-specific files should not be hardwired to src/closed
erikj
parents: 35241
diff changeset
     2
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     4
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    10
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    15
# accompanied this code).
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    16
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    20
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    23
# questions.
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    24
#
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    25
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    26
default: all
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    27
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    28
include $(SPEC)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    29
include MakeBase.gmk
33503
3a11763ae20a 8141333: Rename SetupArchive to SetupJarArchive
ihse
parents: 29394
diff changeset
    30
include JarArchive.gmk
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    31
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    32
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    33
################################################################################
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    34
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    35
US_EXPORT_POLICY_JAR_DST := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    36
    $(SUPPORT_OUTPUTDIR)/modules_libs/java.base/security/US_export_policy.jar
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    37
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    38
US_EXPORT_POLICY_JAR_LIMITED := \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    39
    $(SUPPORT_OUTPUTDIR)/jce/policy/limited/US_export_policy.jar
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    40
US_EXPORT_POLICY_JAR_UNLIMITED := \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    41
    $(SUPPORT_OUTPUTDIR)/jce/policy/unlimited/US_export_policy.jar
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    42
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    43
#
33503
3a11763ae20a 8141333: Rename SetupArchive to SetupJarArchive
ihse
parents: 29394
diff changeset
    44
# TODO fix so that SetupJarArchive does not write files into SRCS
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    45
# then we don't need this extra copying
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    46
#
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    47
# NOTE: We currently do not place restrictions on our limited export
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    48
# policy. This was not a typo. This means we are shipping the same file
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    49
# for both limited and unlimited US_export_policy.jar.  Only the local
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    50
# policy file currently has restrictions.
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    51
#
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    52
US_EXPORT_POLICY_JAR_SRC_DIR := \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    53
    $(JDK_TOPDIR)/make/data/cryptopolicy/unlimited
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    54
US_EXPORT_POLICY_JAR_TMP := \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    55
    $(SUPPORT_OUTPUTDIR)/jce/policy/unlimited/US_export_policy_jar.tmp
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    56
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    57
$(US_EXPORT_POLICY_JAR_TMP)/%: $(US_EXPORT_POLICY_JAR_SRC_DIR)/%
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    58
	$(install-file)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    59
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    60
US_EXPORT_POLICY_JAR_DEPS := \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    61
    $(US_EXPORT_POLICY_JAR_TMP)/default_US_export.policy
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    62
33503
3a11763ae20a 8141333: Rename SetupArchive to SetupJarArchive
ihse
parents: 29394
diff changeset
    63
$(eval $(call SetupJarArchive, BUILD_US_EXPORT_POLICY_JAR, \
29394
d812e63542e3 8074988: Reduce boilerplate in Setup* macro definitions
erikj
parents: 28520
diff changeset
    64
    DEPENDENCIES := $(US_EXPORT_POLICY_JAR_DEPS), \
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    65
    SRCS := $(US_EXPORT_POLICY_JAR_TMP), \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    66
    SUFFIXES := .policy, \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    67
    JAR := $(US_EXPORT_POLICY_JAR_UNLIMITED), \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    68
    EXTRA_MANIFEST_ATTR := Crypto-Strength: unlimited, \
33503
3a11763ae20a 8141333: Rename SetupArchive to SetupJarArchive
ihse
parents: 29394
diff changeset
    69
    SKIP_METAINF := true, \
3a11763ae20a 8141333: Rename SetupArchive to SetupJarArchive
ihse
parents: 29394
diff changeset
    70
))
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    71
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    72
$(US_EXPORT_POLICY_JAR_LIMITED): \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    73
    $(US_EXPORT_POLICY_JAR_UNLIMITED)
35241
075bbb8f2423 8146403: Windows build can be faster
erikj
parents: 33503
diff changeset
    74
	$(call LogInfo, Copying unlimited $(patsubst $(OUTPUT_ROOT)/%,%,$@))
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    75
	$(install-file)
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    76
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    77
TARGETS += $(US_EXPORT_POLICY_JAR_LIMITED) $(US_EXPORT_POLICY_JAR_UNLIMITED)
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    78
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    79
ifeq ($(UNLIMITED_CRYPTO), true)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    80
  $(US_EXPORT_POLICY_JAR_DST): $(US_EXPORT_POLICY_JAR_UNLIMITED)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    81
	$(install-file)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    82
else
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    83
  $(US_EXPORT_POLICY_JAR_DST): $(US_EXPORT_POLICY_JAR_LIMITED)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    84
	$(install-file)
35241
075bbb8f2423 8146403: Windows build can be faster
erikj
parents: 33503
diff changeset
    85
endif
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    86
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    87
POLICY_JARS += $(US_EXPORT_POLICY_JAR_DST)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    88
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    89
################################################################################
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    90
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    91
LOCAL_POLICY_JAR_DST := \
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    92
    $(SUPPORT_OUTPUTDIR)/modules_libs/java.base/security/local_policy.jar
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    93
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    94
LOCAL_POLICY_JAR_LIMITED := \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    95
    $(SUPPORT_OUTPUTDIR)/jce/policy/limited/local_policy.jar
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    96
LOCAL_POLICY_JAR_UNLIMITED := \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    97
    $(SUPPORT_OUTPUTDIR)/jce/policy/unlimited/local_policy.jar
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
    98
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
    99
#
33503
3a11763ae20a 8141333: Rename SetupArchive to SetupJarArchive
ihse
parents: 29394
diff changeset
   100
# TODO fix so that SetupJarArchive does not write files into SRCS
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   101
# then we don't need this extra copying
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   102
#
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   103
LOCAL_POLICY_JAR_LIMITED_TMP := \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   104
    $(SUPPORT_OUTPUTDIR)/jce/policy/limited/local_policy_jar.tmp
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   105
LOCAL_POLICY_JAR_UNLIMITED_TMP := \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   106
    $(SUPPORT_OUTPUTDIR)/jce/policy/unlimited/local_policy_jar.tmp
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   107
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   108
$(LOCAL_POLICY_JAR_LIMITED_TMP)/%: \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   109
    $(JDK_TOPDIR)/make/data/cryptopolicy/limited/%
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   110
	$(install-file)
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   111
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   112
$(LOCAL_POLICY_JAR_UNLIMITED_TMP)/%: \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   113
    $(JDK_TOPDIR)/make/data/cryptopolicy/unlimited/%
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   114
	$(install-file)
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   115
33503
3a11763ae20a 8141333: Rename SetupArchive to SetupJarArchive
ihse
parents: 29394
diff changeset
   116
$(eval $(call SetupJarArchive, BUILD_LOCAL_POLICY_JAR_LIMITED, \
29394
d812e63542e3 8074988: Reduce boilerplate in Setup* macro definitions
erikj
parents: 28520
diff changeset
   117
    DEPENDENCIES := $(LOCAL_POLICY_JAR_LIMITED_TMP)/exempt_local.policy \
d812e63542e3 8074988: Reduce boilerplate in Setup* macro definitions
erikj
parents: 28520
diff changeset
   118
        $(LOCAL_POLICY_JAR_LIMITED_TMP)/default_local.policy, \
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   119
    SRCS := $(LOCAL_POLICY_JAR_LIMITED_TMP), \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   120
    SUFFIXES := .policy, \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   121
    JAR := $(LOCAL_POLICY_JAR_LIMITED), \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   122
    EXTRA_MANIFEST_ATTR := Crypto-Strength: limited, \
33503
3a11763ae20a 8141333: Rename SetupArchive to SetupJarArchive
ihse
parents: 29394
diff changeset
   123
    SKIP_METAINF := true, \
3a11763ae20a 8141333: Rename SetupArchive to SetupJarArchive
ihse
parents: 29394
diff changeset
   124
))
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   125
33503
3a11763ae20a 8141333: Rename SetupArchive to SetupJarArchive
ihse
parents: 29394
diff changeset
   126
$(eval $(call SetupJarArchive, BUILD_LOCAL_POLICY_JAR_UNLIMITED, \
29394
d812e63542e3 8074988: Reduce boilerplate in Setup* macro definitions
erikj
parents: 28520
diff changeset
   127
    DEPENDENCIES := $(LOCAL_POLICY_JAR_UNLIMITED_TMP)/default_local.policy, \
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   128
    SRCS := $(LOCAL_POLICY_JAR_UNLIMITED_TMP), \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   129
    SUFFIXES := .policy, \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   130
    JAR := $(LOCAL_POLICY_JAR_UNLIMITED), \
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   131
    EXTRA_MANIFEST_ATTR := Crypto-Strength: unlimited, \
33503
3a11763ae20a 8141333: Rename SetupArchive to SetupJarArchive
ihse
parents: 29394
diff changeset
   132
    SKIP_METAINF := true, \
3a11763ae20a 8141333: Rename SetupArchive to SetupJarArchive
ihse
parents: 29394
diff changeset
   133
))
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   134
28520
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   135
TARGETS += $(LOCAL_POLICY_JAR_LIMITED) $(LOCAL_POLICY_JAR_UNLIMITED)
178ac8a1fbde 8068748: missing US_export_policy.jar in jdk9-b44 is causing compilation errors building jdk9 source code
erikj
parents: 27565
diff changeset
   136
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   137
ifeq ($(UNLIMITED_CRYPTO), true)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   138
  $(LOCAL_POLICY_JAR_DST): $(LOCAL_POLICY_JAR_UNLIMITED)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   139
	$(install-file)
39504
96c700e62710 8003593: build-infra: Paths to optional platform-specific files should not be hardwired to src/closed
erikj
parents: 35241
diff changeset
   140
else
27565
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   141
  $(LOCAL_POLICY_JAR_DST): $(LOCAL_POLICY_JAR_LIMITED)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   142
	$(install-file)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   143
endif
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   144
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   145
POLICY_JARS += $(LOCAL_POLICY_JAR_DST)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   146
TARGETS += $(POLICY_JARS)
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   147
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   148
################################################################################
729f9700483a 8049367: Modular Run-Time Images
chegar
parents:
diff changeset
   149
39504
96c700e62710 8003593: build-infra: Paths to optional platform-specific files should not be hardwired to src/closed
erikj
parents: 35241
diff changeset
   150
$(eval $(call IncludeCustomExtension, jdk, gendata/GendataPolicyJars.gmk))