]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/MigrationTools/org/tianocore/migration/ModuleInfo.java
re
[mirror_edk2.git] / Tools / Source / MigrationTools / org / tianocore / migration / ModuleInfo.java
index 19c0dfedd11c1edd205e99919ff802d48a627881..b6cd6330d4a979fb0f6956bed2b747c9df0560a4 100644 (file)
@@ -15,6 +15,8 @@ package org.tianocore.migration;
 import java.io.*;\r
 import java.util.*;\r
 \r
+import org.tianocore.ModuleSurfaceAreaDocument;\r
+\r
 /*\r
     Class ModuleInfo is built for scanning the source files, it contains all the needed\r
 information and all the temporary data.\r
@@ -22,9 +24,14 @@ information and all the temporary data.
 public final class ModuleInfo {\r
     ModuleInfo(String modulepath) throws Exception {\r
         this.modulepath = modulepath;\r
+        this.temppath = MigrationTool.getTempDir(this.modulepath);\r
     }\r
 \r
     public final String modulepath;\r
+    public final String temppath;\r
+    \r
+    //private MsaOwner msaowner = new MsaWriter(this);\r
+    //public ModuleSurfaceAreaDocument msadoc = ModuleSurfaceAreaDocument.Factory.newInstance();\r
     \r
     public String modulename = null;\r
     public String guidvalue = null;\r
@@ -34,6 +41,8 @@ public final class ModuleInfo {
     public final Set<String> localmodulesources = new HashSet<String>();        //contains both .c and .h\r
     public final Set<String> preprocessedccodes = new HashSet<String>();\r
     public final Set<String> msaorinf = new HashSet<String>();                //only a little, hash may be too big for this\r
+    public final Set<String> infincludes = new HashSet<String>();\r
+    public final Set<String> infsources = new HashSet<String>();\r
     \r
     public final Set<String> hashfuncc = new HashSet<String>();\r
     public final Set<String> hashfuncd = new HashSet<String>();\r
@@ -41,6 +50,7 @@ public final class ModuleInfo {
     public final Set<String> hashnonlocalmacro = new HashSet<String>();\r
     public final Set<String> hashEFIcall = new HashSet<String>();\r
     public final Set<String> hashr8only = new HashSet<String>();\r
+    public final Set<String> hashmacro = new HashSet<String>();\r
     \r
     public final Set<String> hashrequiredr9libs = new HashSet<String>();    // hashrequiredr9libs is now all added in SourceFileReplacer \r
     public final Set<String> guid = new HashSet<String>();\r