From: jwang36 Date: Wed, 24 Jan 2007 05:00:21 +0000 (+0000) Subject: Removed the BASE type as any type in the check of SupModuleList in getLibraryClasses() X-Git-Tag: edk2-stable201903~23587 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=2b955487b6cc942de2aaf162c82917be17e2699e Removed the BASE type as any type in the check of SupModuleList in getLibraryClasses() git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2290 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/Tools/Java/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java b/Tools/Java/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java index 78bea2a434..36eda95c3f 100644 --- a/Tools/Java/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java +++ b/Tools/Java/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java @@ -613,8 +613,7 @@ public class SurfaceAreaQuery { List archList = libraryClassList[i].getSupArchList(); List moduleTypeList = libraryClassList[i].getSupModuleList(); if ((arch == null || contains(archList, arch)) - && (moduleType == null || contains(moduleTypeList, moduleType) - || contains(moduleTypeList, EdkDefinitions.MODULE_TYPE_BASE))) { + && (moduleType == null || contains(moduleTypeList, moduleType))) { libraryClassName.add(libraryClassList[i].getKeyword()); } }