mirror of https://github.com/acidanthera/audk.git
Added DllPath attribute
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1631 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a0783edc77
commit
e4b5a8c3be
|
@ -46,6 +46,7 @@ public class VfrCompilerTask extends Task implements EfiDefine {
|
|||
private FileArg vfrFile = new FileArg();
|
||||
private IncludePath includepathList = new IncludePath();
|
||||
private FileArg outPutDir = new FileArg(" -od ", ".");
|
||||
private String dllPath = "";
|
||||
|
||||
/**
|
||||
get class member of createList file
|
||||
|
@ -153,6 +154,10 @@ public class VfrCompilerTask extends Task implements EfiDefine {
|
|||
this.processerArg.setArg(" -ppflag ", processerArg);
|
||||
}
|
||||
|
||||
public void setDllPath(String dllPath) {
|
||||
this.dllPath = dllPath;
|
||||
}
|
||||
|
||||
/**
|
||||
The standard execute method of ANT task.
|
||||
**/
|
||||
|
@ -191,6 +196,7 @@ public class VfrCompilerTask extends Task implements EfiDefine {
|
|||
runner.setAntRun(project);
|
||||
runner.setCommandline(commandLine.getCommandline());
|
||||
runner.setWorkingDirectory(new File(outPutDir.getValue()));
|
||||
runner.setEnvironment(new String[]{"PATH", dllPath});
|
||||
|
||||
EdkLog.log(this, EdkLog.EDK_VERBOSE, Commandline.toString(commandLine.getCommandline()));
|
||||
EdkLog.log(this, vfrFile.toFileList());
|
||||
|
|
Loading…
Reference in New Issue