(self, spec, extra_sources, prebuild,
                              mac_bundle_depends)
return stamp
Write out the Actions, Rules, and Copies steps.  Return a path
    representing the outputs of these steps.
Write out the Actions, Rules, and Copies steps.  Return a path
    representing the outputs of these steps.
Write out the Actions Rules and Copies steps . Return a path representing the outputs of these steps .
def WriteActionsRulesCopies(self, spec, extra_sources, prebuild,
                              mac_bundle_depends):
    """Write out the Actions, Rules, and Copies steps.  Return a path
    representing the outputs of these steps."""
    outputs = []
    if self.is_mac_bundle:
      mac_bundle_resources = spec.get('mac_bundle_resources', [])[:]
    else:
      mac_bundle_resources = []
    extra_mac_bundle_resources = []

    if 'actions' in spec:
      outputs += self.WriteActions(spec['actions'], extra_sources, prebuild,
                                   extra_mac_bundle_resources)
    if 'rules' in spec:
      outputs += self.WriteRules(spec['rules'], extra_sources, prebuild,
                                 mac_bundle_resources,
                                 extra_mac_bundle_resources)
    if 'copies' in spec:
      outputs += self.WriteCopies(spec['copies'], prebuild, mac_bundle_depends)

    if 'sources' in spec and self.flavor == 'win':
      outputs += self.WriteWinIdlFiles(spec, prebuild)

    stamp = self.WriteCollapsedDependencies('actions_rules_copies', outputs)

    if self.is_mac_bundle:
      xcassets = self.WriteMacBundleResources(
          extra_mac_bundle_resources + mac_bundle_resources, mac_bundle_depends)
      partial_info_plist = self.WriteMacXCassets(xcassets, mac_bundle_depends)
      self.WriteMacInfoPlist(partial_info_plist, mac_bundle_depends)

    return stamp
def WriteActionsRulesCopies ( self , spec , extra_sources , prebuild , mac_bundle_depends ) : outputs = [ ] if self . is_mac_bundle : mac_bundle_resources = spec . get ( 'mac_bundle_resources' , [ ] ) [ : ] else : mac_bundle_resources = [ ] extra_mac_bundle_resources = [ ] if 'actions' in spec : outputs += self . WriteActions ( spec [ 'actions' ] , extra_sources , prebuild , extra_mac_bundle_resources ) if 'rules' in spec : outputs += self . WriteRules ( spec [ 'rules' ] , extra_sources , prebuild , mac_bundle_resources , extra_mac_bundle_resources ) if 'copies' in spec : outputs += self . WriteCopies ( spec [ 'copies' ] , prebuild , mac_bundle_depends ) if 'sources' in spec and self . flavor == 'win' : outputs += self . WriteWinIdlFiles ( spec , prebuild ) stamp = self . WriteCollapsedDependencies ( 'actions_rules_copies' , outputs ) if self . is_mac_bundle : xcassets = self . WriteMacBundleResources ( extra_mac_bundle_resources + mac_bundle_resources , mac_bundle_depends ) partial_info_plist = self . WriteMacXCassets ( xcassets , mac_bundle_depends ) self . WriteMacInfoPlist ( partial_info_plist , mac_bundle_depends ) return stamp