Lines Matching refs:library
18 files: Set of "library/filename.o" files mentioned in the dependencies file.
19 items: Map from library or group names to item maps.
20 Each item has a "type" ("library" or "group" or "system_symbols").
21 A library or group item can have an optional set of "files" (as in the files attribute).
23 A group item also has a "library" name unless it is a group of system symbols.
25 with standard-library system symbol names.
26 libraries: Set of library names mentioned in the dependencies file.
27 file_to_item: Map from a symbol (ushoe.o) to library or group (shoesize)
49 sys.exit("Error:%d: \"library: \" without name" % _line_number)
51 sys.exit("Error:%d: invalid library name %s" % (_line_number, name))
94 def _IsLibrary(item): return item and item["type"] == "library"
96 def _IsLibraryGroup(item): return item and "library" in item
111 "library or library group %s") % (_line_number, dep))
115 if library_name: items[dep]["library"] = library_name
152 if line.startswith("library: "):
153 current_type = "library"
157 sys.exit("Error:%d: library definition using duplicate name %s" % (_line_number, name))
159 item = items[name] = {"type": "library", "name": name}
173 library_name = item.get("library")
179 if current_type == "library":
183 line = _ReadDeps(deps_file, item, item.get("library"))
188 sys.exit("Error:%d: deps before any library or group" % _line_number)