summaryrefslogtreecommitdiff
path: root/Tools/Java/Source
diff options
context:
space:
mode:
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-24 05:00:21 +0000
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-24 05:00:21 +0000
commit2b955487b6cc942de2aaf162c82917be17e2699e (patch)
tree528a53f4ced7bc519f18239d98b301bda1f663f4 /Tools/Java/Source
parentf0a3fde1603e1b28350240ae796a708e5351a9f1 (diff)
downloadedk2-2b955487b6cc942de2aaf162c82917be17e2699e.zip
edk2-2b955487b6cc942de2aaf162c82917be17e2699e.tar.gz
edk2-2b955487b6cc942de2aaf162c82917be17e2699e.tar.bz2
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
Diffstat (limited to 'Tools/Java/Source')
-rw-r--r--Tools/Java/Source/GenBuild/org/tianocore/build/global/SurfaceAreaQuery.java3
1 files changed, 1 insertions, 2 deletions
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 78bea2a..36eda95 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());
}
}