diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-27 05:29:27 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-27 05:29:27 +0000 |
commit | e4b5a8c3be730753b271101a79d615203c63fc58 (patch) | |
tree | 727559052b1152ce8747ad2dacfd63b38946d702 /Tools/Source | |
parent | a0783edc77ae576d8032461935362f43293bc467 (diff) | |
download | edk2-e4b5a8c3be730753b271101a79d615203c63fc58.zip edk2-e4b5a8c3be730753b271101a79d615203c63fc58.tar.gz edk2-e4b5a8c3be730753b271101a79d615203c63fc58.tar.bz2 |
Added DllPath attribute
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1631 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Source')
-rw-r--r-- | Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/VfrCompilerTask.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/VfrCompilerTask.java b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/VfrCompilerTask.java index 13b855c..5897bd2 100644 --- a/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/VfrCompilerTask.java +++ b/Tools/Source/FrameworkTasks/org/tianocore/framework/tasks/VfrCompilerTask.java @@ -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());
|