for (int i = 0; i < inputs.size(); i++) {
depInfo = depGen2.getDependencySourceInfo(Path.fromOSString(inputs.get(i)), config, tool, makeGen.getBuildWorkingDir());
if (depInfo instanceof IManagedDependencyCalculator) {
IManagedDependencyCalculator depCalc = (IManagedDependencyCalculator) depInfo;
IPath[] depPaths = depCalc.getDependencies();
if (depPaths != null) {
for (int j = 0; j < depPaths.length; j++) {
if (!depPaths[j].isAbsolute()) {
// Convert from project relative to
// build directory relative
IPath absolutePath = project.getLocation().append(depPaths[j]);
depPaths[j] = ManagedBuildManager.calculateRelativePath(makeGen.getTopBuildDir(), absolutePath);
}
myCommandDependencies.add(depPaths[j].toString());
}
}
IPath[] targetPaths = depCalc.getAdditionalTargets();
if (targetPaths != null) {
for (int j = 0; j < targetPaths.length; j++) {
myAdditionalTargets.add(targetPaths[j].toString());
}
}