Removed the workaround code
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 12 Jan 2007 02:02:11 +0000 (02:02 +0000)
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 12 Jan 2007 02:02:11 +0000 (02:02 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2224 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Java/Source/GenBuild/org/tianocore/build/autogen/AutogenLibOrder.java

index 8fb1be5..4cf8c3c 100644 (file)
@@ -226,15 +226,11 @@ public class AutogenLibOrder {
             if (libInstanceConsumedBy.get(libInstanceList[i]).size() > 0 && libInstanceList[i].hasConstructor()) {\r
                 EdkLog.log(EdkLog.EDK_ERROR, libInstanceList[i].getName()\r
                            + " with constructor has a circular dependency!");\r
-                // throw new AutoGenException("Circular dependency in library instances is found!");\r
+                throw new AutoGenException("Circular dependency in library instances is found!");\r
             }\r
 \r
             if (!orderList.contains(libInstanceList[i])) {\r
-                if (libInstanceList[i].getName().equals("UefiBootServicesTableLib")) {\r
-                    orderList.addFirst(libInstanceList[i]);\r
-                } else {\r
-                    orderList.add(libInstanceList[i]);\r
-                }\r
+                orderList.add(libInstanceList[i]);\r
             }\r
         }\r
         return orderList;\r