198 // Define some common values
199 var common = getJibProfilesCommon(input);
200 // Generate the profiles part of the configuration
201 data.profiles = getJibProfilesProfiles(input, common);
202 // Generate the dependencies part of the configuration
203 data.dependencies = getJibProfilesDependencies(input, common);
204
205 return data;
206 };
207
208 /**
209 * Generates some common values
210 *
211 * @param input External data to use for generating the configuration
212 * @returns Common values
213 */
214 var getJibProfilesCommon = function (input) {
215 var common = {
216 dependencies: ["boot_jdk", "gnumake", "jtreg"],
217 configure_args: ["--with-default-make-target=all"],
218 configure_args_32bit: ["--with-target-bits=32", "--with-jvm-variants=client,server"],
219 configure_args_debug: ["--enable-debug"],
220 configure_args_slowdebug: ["--with-debug-level=slowdebug"],
221 organization: "jpg.infra.builddeps"
222 };
223
224 return common;
225 };
226
227 /**
228 * Generates the profiles part of the configuration.
229 *
230 * @param input External data to use for generating the configuration
231 * @param common The common values
232 * @returns {{}} Profiles part of the configuration
233 */
234 var getJibProfilesProfiles = function (input, common) {
235 var profiles = {};
236
237 // Main SE profiles
238 var mainProfiles = {
|
198 // Define some common values
199 var common = getJibProfilesCommon(input);
200 // Generate the profiles part of the configuration
201 data.profiles = getJibProfilesProfiles(input, common);
202 // Generate the dependencies part of the configuration
203 data.dependencies = getJibProfilesDependencies(input, common);
204
205 return data;
206 };
207
208 /**
209 * Generates some common values
210 *
211 * @param input External data to use for generating the configuration
212 * @returns Common values
213 */
214 var getJibProfilesCommon = function (input) {
215 var common = {
216 dependencies: ["boot_jdk", "gnumake", "jtreg"],
217 configure_args: ["--with-default-make-target=all"],
218 configure_args_32bit: ["--with-target-bits=32", "--with-jvm-variants=server"],
219 configure_args_debug: ["--enable-debug"],
220 configure_args_slowdebug: ["--with-debug-level=slowdebug"],
221 organization: "jpg.infra.builddeps"
222 };
223
224 return common;
225 };
226
227 /**
228 * Generates the profiles part of the configuration.
229 *
230 * @param input External data to use for generating the configuration
231 * @param common The common values
232 * @returns {{}} Profiles part of the configuration
233 */
234 var getJibProfilesProfiles = function (input, common) {
235 var profiles = {};
236
237 // Main SE profiles
238 var mainProfiles = {
|