5 #print "Gen Lib Order \n", libOrder.libInfo
17 for (libName
, libDep
) in libOrder
.libInfo
.items():
19 # print "N: ", libName
21 # print "L: ", len(libDep)
24 if libDep
!= None and len(libDep
) == 0:
25 if len(orderedLibs
) == 0:
28 orderedLibs
= orderedLibs
+ ";" + libName
30 libOrder
.libInfo
[libName
] = None
34 if currentLib
!= None:
35 # print "delete lib ", currentLib
37 del libOrder
.libInfo
[currentLib
]
39 for (libName
, libDep
) in libOrder
.libInfo
.items():
41 libDep
.remove(currentLib
)
47 #orderedLibs = orderedLibs + "]"