parameters: (self, input_dex_or_zip, zippath, dex)
docstring: Adds a dex file to the output.
  
      Args:
        input_dex_or_zip: the input file written to the manifest
        zippath: the zip path written to the manifest or None if the input file
            is not a .zip .
        dex: the dex file to be added
  
      Returns:
        None.
docstring_summary: Adds a dex file to the output.
docstring_tokens: Adds a dex file to the output .
function: def AddDex(self, input_dex_or_zip, zippath, dex):
      """Adds a dex file to the output.
  
      Args:
        input_dex_or_zip: the input file written to the manifest
        zippath: the zip path written to the manifest or None if the input file
            is not a .zip .
        dex: the dex file to be added
  
      Returns:
        None.
      """
  
      fs_checksum = self.Checksum(dex)
      if fs_checksum in self.checksums:
        return
  
      self.checksums.add(fs_checksum)
      zip_dex = "incremental_classes%d.dex" % self.output_dex_counter
      self.output_dex_counter += 1
      self.manifest_lines.append("%s %s %s %s" %(
          input_dex_or_zip, zippath if zippath else "-", zip_dex, fs_checksum))
function_tokens: def AddDex ( self , input_dex_or_zip , zippath , dex ) : fs_checksum = self . Checksum ( dex ) if fs_checksum in self . checksums : return self . checksums . add ( fs_checksum ) zip_dex = "incremental_classes%d.dex" % self . output_dex_counter self . output_dex_counter += 1 self . manifest_lines . append ( "%s %s %s %s" % ( input_dex_or_zip , zippath if zippath else "-" , zip_dex , fs_checksum ) )