Search in sources :

Example 1 with IConfiguration

use of com.ibm.uma.IConfiguration in project openj9 by eclipse.

the class PlatformWindows method writeTweakedPhaseTargets.

/**
 * Write phase targets that
 * @param buffer
 */
private void writeTweakedPhaseTargets(StringBuffer buffer) {
    UMA uma = UMA.getUma();
    IConfiguration config = uma.getConfiguration();
    buffer.append("\n");
    buffer.append("export UMA_SINGLE_REBASE\n\n");
    for (int i = 0; i < config.numberOfPhases(); i++) {
        String phaseName = config.phaseName(i);
        buffer.append("phase_" + phaseName + ": UMA_SINGLE_REBASE=1\n");
        buffer.append("phase_" + phaseName + ": rebase\n");
        buffer.append("\n");
    }
    buffer.append("\n\n");
    buffer.append("all: UMA_SINGLE_REBASE=1\n");
    buffer.append("all: rebase\n");
    buffer.append("\n\n");
}
Also used : UMA(com.ibm.uma.UMA) IConfiguration(com.ibm.uma.IConfiguration)

Aggregations

IConfiguration (com.ibm.uma.IConfiguration)1 UMA (com.ibm.uma.UMA)1