parameters: (self)
docstring: This function inspects the task_generator for its dependencies and
          if include_spec_dependencies has been specified to include modules that
          are specified in the spec and are potentially part of the project.
docstring_summary: This function inspects the task_generator for its dependencies and
          if include_spec_dependencies has been specified to include modules that
          are specified in the spec and are potentially part of the project.
docstring_tokens: This function inspects the task_generator for its dependencies and if include_spec_dependencies has been specified to include modules that are specified in the spec and are potentially part of the project .
function: def process_dependencies(self):
          """
          This function inspects the task_generator for its dependencies and
          if include_spec_dependencies has been specified to include modules that
          are specified in the spec and are potentially part of the project.
          """
          ctx = self.bld
  
          if ctx.is_build_monolithic(ctx.platform, ctx.config):
              self.dependencies = []
              return
  
          self.dependencies = get_dependencies_recursively_for_task_gen(ctx, self.executable_task_gen)
          self.dependencies.update(get_spec_dependencies(ctx, self.spec, self.gem_types))
  
          # get_dependencies_recursively_for_task_gen will not pick up all the
          # gems so if we want all libs add all the gems to the
          # dependencies as well
          if self.include_all_libs:
              for gem in GemManager.GetInstance(ctx).gems:
                  for module in gem.modules:
                      # Modules that should be excluded by the build config are getting added here.
                      # The modules list of supported build configs and platforms are not 
                      # available here. Using a try/except as a workaround.
                      try:
                          gem_module_task_gen = ctx.get_tgen_by_name(module.target_name)
                      except:
                          Logs.warn('[WARN] Unable to locate task generator for Gem module {}'.format(module.target_name))
                      else:
                          self.dependencies.update(get_dependencies_recursively_for_task_gen(ctx, gem_module_task_gen))
function_tokens: def process_dependencies ( self ) : ctx = self . bld if ctx . is_build_monolithic ( ctx . platform , ctx . config ) : self . dependencies = [ ] return self . dependencies = get_dependencies_recursively_for_task_gen ( ctx , self . executable_task_gen ) self . dependencies . update ( get_spec_dependencies ( ctx , self . spec , self . gem_types ) ) # get_dependencies_recursively_for_task_gen will not pick up all the # gems so if we want all libs add all the gems to the # dependencies as well if self . include_all_libs : for gem in GemManager . GetInstance ( ctx ) . gems : for module in gem . modules : # Modules that should be excluded by the build config are getting added here. # The modules list of supported build configs and platforms are not  # available here. Using a try/except as a workaround. try : gem_module_task_gen = ctx . get_tgen_by_name ( module . target_name ) except : Logs . warn ( '[WARN] Unable to locate task generator for Gem module {}' . format ( module . target_name ) ) else : self . dependencies . update ( get_dependencies_recursively_for_task_gen ( ctx , gem_module_task_gen ) )