| 481 | # Updated to trunk@47077 |
| 482 | class SearchedLibGenerator (generators.Generator): |
| 483 | def __init__ (self, id = 'SearchedLibGenerator', composing = False, source_types = [], target_types_and_names = ['SEARCHED_LIB'], requirements = []): |
| 484 | # TODO: the comment below looks strange. There are no requirements! |
| 485 | # The requirements cause the generators to be tried *only* when we're building |
| 486 | # lib target and there's 'search' feature. This seems ugly --- all we want |
| 487 | # is make sure SearchedLibGenerator is not invoked deep in transformation |
| 488 | # search. |
| 489 | generators.Generator.__init__ (self, id, composing, source_types, target_types_and_names, requirements) |
| 490 | |
| 491 | def run(self, project, name, prop_set, sources): |
| 492 | |