Removed the BASE type as any type in the check of SupModuleList in getLibraryClasses()
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 24 Jan 2007 05:00:21 +0000 (05:00 +0000)
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 24 Jan 2007 05:00:21 +0000 (05:00 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2290 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Java/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java

index 78bea2a..36eda95 100644 (file)
@@ -613,8 +613,7 @@ public class SurfaceAreaQuery {
                        List archList = libraryClassList[i].getSupArchList();\r
             List moduleTypeList = libraryClassList[i].getSupModuleList();\r
                        if ((arch == null || contains(archList, arch))\r
-                && (moduleType == null || contains(moduleTypeList, moduleType)\r
-                    || contains(moduleTypeList, EdkDefinitions.MODULE_TYPE_BASE))) {\r
+                && (moduleType == null || contains(moduleTypeList, moduleType))) {\r
                 libraryClassName.add(libraryClassList[i].getKeyword());\r
                        }\r
         }\r