parameters: (self, ci, traverse_groups = False)
docstring: get_required_libraries_for_component(component_info) -> iter
  
          Given a Library component info descriptor, return an iterator over all
          of the directly required libraries for linking with this component. If
          traverse_groups is True, then library and target groups will be
          traversed to include their required libraries.
docstring_summary: get_required_libraries_for_component(component_info) -> iter
docstring_tokens: get_required_libraries_for_component ( component_info ) - > iter
function: def get_required_libraries_for_component(self, ci, traverse_groups = False):
          """
          get_required_libraries_for_component(component_info) -> iter
  
          Given a Library component info descriptor, return an iterator over all
          of the directly required libraries for linking with this component. If
          traverse_groups is True, then library and target groups will be
          traversed to include their required libraries.
          """
  
          assert ci.type_name in ('Library', 'OptionalLibrary', 'LibraryGroup', 'TargetGroup')
  
          for name in ci.required_libraries:
              # Get the dependency info.
              dep = self.component_info_map[name]
  
              # If it is a library, yield it.
              if dep.type_name == 'Library' or dep.type_name == 'OptionalLibrary':
                  yield dep
                  continue
  
              # Otherwise if it is a group, yield or traverse depending on what
              # was requested.
              if dep.type_name in ('LibraryGroup', 'TargetGroup'):
                  if not traverse_groups:
                      yield dep
                      continue
  
                  for res in self.get_required_libraries_for_component(dep, True):
                      yield res
function_tokens: def get_required_libraries_for_component ( self , ci , traverse_groups = False ) : assert ci . type_name in ( 'Library' , 'OptionalLibrary' , 'LibraryGroup' , 'TargetGroup' ) for name in ci . required_libraries : # Get the dependency info. dep = self . component_info_map [ name ] # If it is a library, yield it. if dep . type_name == 'Library' or dep . type_name == 'OptionalLibrary' : yield dep continue # Otherwise if it is a group, yield or traverse depending on what # was requested. if dep . type_name in ( 'LibraryGroup' , 'TargetGroup' ) : if not traverse_groups : yield dep continue for res in self . get_required_libraries_for_component ( dep , True ) : yield res