X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=Tools%2FSource%2FGenBuild%2Forg%2Ftianocore%2Fbuild%2Fpcd%2Faction%2FCollectPCDAction.java;h=37f74713d6a8241348049a3a3b9837d46f62c565;hp=8c91b2fe16372b64e9a6612d6ae0cb793770809c;hb=e39bb31c575b0b2f19965c12c9ca5fdefb4de685;hpb=91e2ca2406aeee8920bd11a15ba64456795de1e8 diff --git a/Tools/Source/GenBuild/org/tianocore/build/pcd/action/CollectPCDAction.java b/Tools/Source/GenBuild/org/tianocore/build/pcd/action/CollectPCDAction.java index 8c91b2fe16..37f74713d6 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/pcd/action/CollectPCDAction.java +++ b/Tools/Source/GenBuild/org/tianocore/build/pcd/action/CollectPCDAction.java @@ -2037,28 +2037,13 @@ public class CollectPCDAction { } - //map.put("FrameworkPlatformDescription", fpdDocInstance); - //SurfaceAreaQuery.setDoc(map); MappcdBuildDef = GlobalData.getFpdModuleSaXmlObject(CollectPCDAction.xmlObjectName); Set pcdBuildKeySet = pcdBuildDef.keySet(); Iterator item = pcdBuildKeySet.iterator(); while (item.hasNext()){ - FpdModuleIdentification id = (FpdModuleIdentification)item.next(); - try { - allModules.add(new ModuleInfo(id, id.getModule().getModuleType(),pcdBuildDef.get(id))); - } catch (Exception e){ - System.out.println(e.getMessage()); - //EdkLog.log(EdkLog.EDK_INFO,e.getMessage()); - } - - - } -// //modules = SurfaceAreaQuery.getFpdModuleSAs(); -// for (index = 0; index < modules.length; index ++) { -// //SurfaceAreaQuery.setDoc(GlobalData.getDoc(modules[index].getModuleName())); -// allModules.add(new ModuleInfo(modules[index], -// ModuleTypeDef.Enum.forString(SurfaceAreaQuery.getModuleType()))); -// } + FpdModuleIdentification id = (FpdModuleIdentification)item.next(); + allModules.add(new ModuleInfo(id, id.getModule().getModuleType(),pcdBuildDef.get(id))); + } return allModules; }