parameters: (self, resources, bundle_deps)
docstring: Writes Makefile code for 'mac_bundle_resources'.
docstring_summary: Writes Makefile code for 'mac_bundle_resources'.
docstring_tokens: Writes Makefile code for mac_bundle_resources .
function: def WriteMacBundleResources(self, resources, bundle_deps):
      """Writes Makefile code for 'mac_bundle_resources'."""
      self.WriteLn('### Generated for mac_bundle_resources')
  
      for output, res in gyp.xcode_emulation.GetMacBundleResources(
          generator_default_variables['PRODUCT_DIR'], self.xcode_settings,
          map(Sourceify, map(self.Absolutify, resources))):
        _, ext = os.path.splitext(output)
        if ext != '.xcassets':
          # Make does not supports '.xcassets' emulation.
          self.WriteDoCmd([output], [res], 'mac_tool,,,copy-bundle-resource',
                          part_of_all=True)
          bundle_deps.append(output)
function_tokens: def WriteMacBundleResources ( self , resources , bundle_deps ) : self . WriteLn ( '### Generated for mac_bundle_resources' ) for output , res in gyp . xcode_emulation . GetMacBundleResources ( generator_default_variables [ 'PRODUCT_DIR' ] , self . xcode_settings , map ( Sourceify , map ( self . Absolutify , resources ) ) ) : _ , ext = os . path . splitext ( output ) if ext != '.xcassets' : # Make does not supports '.xcassets' emulation. self . WriteDoCmd ( [ output ] , [ res ] , 'mac_tool,,,copy-bundle-resource' , part_of_all = True ) bundle_deps . append ( output )