Removed the BASE type as any type in the check of SupModuleList in getLibraryClasses()
[mirror_edk2.git] / Tools / Java / Source / GenBuild / org / tianocore / build / global / SurfaceAreaQuery.java
index 78bea2a43492777e2a827c77d171e51348c21dd0..36eda95c3f4791cdb8b695da2d4432db13e475bd 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