]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/GenBuild/org/tianocore/build/autogen/AutoGen.java
Adding new Logger instead of Ant's.
[mirror_edk2.git] / Tools / Source / GenBuild / org / tianocore / build / autogen / AutoGen.java
index cf83a871c5c262563d4d50f223eff1fc568dca6b..d867593244e93dc06efd7fd525de598818c523ed 100644 (file)
@@ -118,6 +118,8 @@ public class AutoGen {
     private List<String> exitBootServiceList = new ArrayList<String>();\r
 \r
     private SurfaceAreaQuery saq = null;\r
+    \r
+    private ModuleIdentification parentId = null;\r
 \r
     /**\r
       Construct function\r
@@ -133,12 +135,13 @@ public class AutoGen {
       @param arch\r
                  Target architecture.\r
     **/\r
-    public AutoGen(String fvDir, String outputPath, ModuleIdentification moduleId, String arch, SurfaceAreaQuery saq) {\r
+    public AutoGen(String fvDir, String outputPath, ModuleIdentification moduleId, String arch, SurfaceAreaQuery saq, ModuleIdentification parentId) {\r
         this.outputPath = outputPath;\r
         this.moduleId = moduleId;\r
         this.arch = arch;\r
         this.fvDir = fvDir;\r
         this.saq = saq;\r
+        this.parentId = parentId;\r
     }\r
 \r
     /**\r
@@ -496,7 +499,8 @@ public class AutoGen {
                                                  arch, \r
                                                  false, \r
                                                  null,\r
-                                                 pcdDriverType);\r
+                                                 pcdDriverType, \r
+                                                 parentId);\r
         \r
         this.myPcdAutogen.execute();\r
         if (this.myPcdAutogen != null) {\r
@@ -653,7 +657,8 @@ public class AutoGen {
                                                  arch,\r
                                                  true,\r
                                                  saq.getModulePcdEntryNameArray(),\r
-                                                 pcdDriverType);\r
+                                                 pcdDriverType, \r
+                                                 parentId);\r
         this.myPcdAutogen.execute();\r
         if (this.myPcdAutogen != null) {\r
             fileBuffer.append(ToolDefinitions.LINE_SEPARATOR);\r