(target_dict)
return bool(target_dict['type'] != 'none' or
              target_dict.get('actions') or target_dict.get('rules'))
Returns true if the target type is such that it needs to be built.
Returns true if the target type is such that it needs to be built.
Returns true if the target type is such that it needs to be built .
def _DoesTargetTypeRequireBuild(target_dict):
  """Returns true if the target type is such that it needs to be built."""
  # If a 'none' target has rules or actions we assume it requires a build.
  return bool(target_dict['type'] != 'none' or
              target_dict.get('actions') or target_dict.get('rules'))
def _DoesTargetTypeRequireBuild ( target_dict ) : # If a 'none' target has rules or actions we assume it requires a build. return bool ( target_dict [ 'type' ] != 'none' or target_dict . get ( 'actions' ) or target_dict . get ( 'rules' ) )