parameters: (self)
docstring: boo applications honor the **use** keyword::
docstring_summary: boo applications honor the **use** keyword::
docstring_tokens: boo applications honor the ** use ** keyword ::
function: def use_boo(self):
  	""""
  	boo applications honor the **use** keyword::
  	"""
  	dep_names = self.to_list(getattr(self, 'use', []))
  	for dep_name in dep_names:
  		dep_task_gen = self.bld.get_tgen_by_name(dep_name)
  		if not dep_task_gen:
  			continue
  		dep_task_gen.post()
  		dep_task = getattr(dep_task_gen, 'boo_task', None)
  		if not dep_task:
  			# Try a cs task:
  			dep_task = getattr(dep_task_gen, 'cs_task', None)
  			if not dep_task:
  				# Try a link task:
  				dep_task = getattr(dep_task, 'link_task', None)
  				if not dep_task:
  					# Abort ...
  					continue
  		self.boo_task.set_run_after(dep_task) # order
  		self.boo_task.dep_nodes.extend(dep_task.outputs) # dependency
  		self.boo_task.env.append_value('BOO_FLAGS', '-reference:%s' % dep_task.outputs[0].abspath())
function_tokens: def use_boo ( self ) : dep_names = self . to_list ( getattr ( self , 'use' , [ ] ) ) for dep_name in dep_names : dep_task_gen = self . bld . get_tgen_by_name ( dep_name ) if not dep_task_gen : continue dep_task_gen . post ( ) dep_task = getattr ( dep_task_gen , 'boo_task' , None ) if not dep_task : # Try a cs task: dep_task = getattr ( dep_task_gen , 'cs_task' , None ) if not dep_task : # Try a link task: dep_task = getattr ( dep_task , 'link_task' , None ) if not dep_task : # Abort ... continue self . boo_task . set_run_after ( dep_task ) # order self . boo_task . dep_nodes . extend ( dep_task . outputs ) # dependency self . boo_task . env . append_value ( 'BOO_FLAGS' , '-reference:%s' % dep_task . outputs [ 0 ] . abspath ( ) )