30 # directly, rather than constructing a set of files to exclude from the
31 # set of all files. But initially we will stick with generating exclude lists
32 # as that is how the main build process already works.
33
34 include profile-includes.txt
35
36 ###############################################################################
37 # Per profile Jar lists
38 #
39 # These are the jar files to be built. In some builds these have to be
40 # imported (signed jars) rather than built.
41 #
42 # The incoming lists, eg PROFILE_1_JRE_JARS_FILES, are the jars to be
43 # included in this profile. They have the jar name relative to the lib
44 # directory. We have to turn these into targets by adding the
45 # $(IMAGES_OUTPUTDIR)/lib prefix
46 #
47 # Note that some jars may be optional depending on the type of build (jdk vs.
48 # openjdk) and the platform.
49 #
50 # WARNING: incoming lists are currently validated for linux only!
51 ###############################################################################
52
53 # These are jar files for which the contents vary depending on the profile
54 CUSTOM_JARS := rt.jar resources.jar
55 # This is used in Images.gmk
56 CUSTOM_PROFILE_JARS := $(addprefix $(IMAGES_OUTPUTDIR)/lib$(PROFILE)/, $(CUSTOM_JARS))
57
58 # These are the common jar files built for and included with this profile
59 # Filter out the custom jars and turn them into targets.
60
61 PROFILE_1_JARS := \
62 $(addprefix $(IMAGES_OUTPUTDIR)/lib/, $(filter-out $(CUSTOM_JARS), $(PROFILE_1_JRE_JAR_FILES)))
63
64 PROFILE_2_JARS := \
65 $(if $(PROFILE_2_JRE_JAR_FILES), $(addprefix $(IMAGES_OUTPUTDIR)/lib/, $(PROFILE_2_JRE_JAR_FILES))) \
66 $(PROFILE_1_JARS)
67
68 PROFILE_3_JARS := \
69 $(addprefix $(IMAGES_OUTPUTDIR)/lib/, $(PROFILE_3_JRE_JAR_FILES)) \
70 $(PROFILE_2_JARS)
|
30 # directly, rather than constructing a set of files to exclude from the
31 # set of all files. But initially we will stick with generating exclude lists
32 # as that is how the main build process already works.
33
34 include profile-includes.txt
35
36 ###############################################################################
37 # Per profile Jar lists
38 #
39 # These are the jar files to be built. In some builds these have to be
40 # imported (signed jars) rather than built.
41 #
42 # The incoming lists, eg PROFILE_1_JRE_JARS_FILES, are the jars to be
43 # included in this profile. They have the jar name relative to the lib
44 # directory. We have to turn these into targets by adding the
45 # $(IMAGES_OUTPUTDIR)/lib prefix
46 #
47 # Note that some jars may be optional depending on the type of build (jdk vs.
48 # openjdk) and the platform.
49 #
50 ###############################################################################
51
52 # These are jar files for which the contents vary depending on the profile
53 CUSTOM_JARS := rt.jar resources.jar
54 # This is used in Images.gmk
55 CUSTOM_PROFILE_JARS := $(addprefix $(IMAGES_OUTPUTDIR)/lib$(PROFILE)/, $(CUSTOM_JARS))
56
57 # These are the common jar files built for and included with this profile
58 # Filter out the custom jars and turn them into targets.
59
60 PROFILE_1_JARS := \
61 $(addprefix $(IMAGES_OUTPUTDIR)/lib/, $(filter-out $(CUSTOM_JARS), $(PROFILE_1_JRE_JAR_FILES)))
62
63 PROFILE_2_JARS := \
64 $(if $(PROFILE_2_JRE_JAR_FILES), $(addprefix $(IMAGES_OUTPUTDIR)/lib/, $(PROFILE_2_JRE_JAR_FILES))) \
65 $(PROFILE_1_JARS)
66
67 PROFILE_3_JARS := \
68 $(addprefix $(IMAGES_OUTPUTDIR)/lib/, $(PROFILE_3_JRE_JAR_FILES)) \
69 $(PROFILE_2_JARS)
|