native_client_sdk/src/tools/create_nmf.py
def StageDependencies(self, destination_dir):
    """Copies over the dependencies into a given destination directory

    Each library will be put into a subdirectory that corresponds to the arch.

    Args:
      destination_dir: The destination directory for staging the dependencies
    """
    assert self.needed is not None
    for arch_file in self.needed.values():
      source = arch_file.path
      destination = os.path.join(destination_dir, arch_file.url)

      if (os.path.normcase(os.path.realpath(source)) ==
          os.path.normcase(os.path.realpath(destination))):
        continue

      # make sure target dir exists
      MakeDir(os.path.dirname(destination))

      Trace('copy: %s -> %s' % (source, destination))
      shutil.copy2(source, destination)
Copies over the dependencies into a given destination directory

    Each library will be put into a subdirectory that corresponds to the arch.

    Args:
      destination_dir: The destination directory for staging the dependencies
    
Copies over the dependencies into a given destination directory
Each library will be put into a subdirectory that corresponds to the arch.
Copies over the dependencies into a given destination directory Each library will be put into a subdirectory that corresponds to the arch .
def StageDependencies(self, destination_dir):
    assert self.needed is not None
    for arch_file in self.needed.values():
      source = arch_file.path
      destination = os.path.join(destination_dir, arch_file.url)
      if (os.path.normcase(os.path.realpath(source)) ==
          os.path.normcase(os.path.realpath(destination))):
        continue
      MakeDir(os.path.dirname(destination))
      Trace('copy: %s -> %s' % (source, destination))
      shutil.copy2(source, destination)
def StageDependencies ( self , destination_dir ) : assert self . needed is not None for arch_file in self . needed . values ( ) : source = arch_file . path destination = os . path . join ( destination_dir , arch_file . url ) if ( os . path . normcase ( os . path . realpath ( source ) ) == os . path . normcase ( os . path . realpath ( destination ) ) ) : continue MakeDir ( os . path . dirname ( destination ) ) Trace ( 'copy: %s -> %s' % ( source , destination ) ) shutil . copy2 ( source , destination )
Copies over the dependencies into a given destination directory
Each library will be put into a subdirectory that corresponds to the arch.
Copies over the dependencies into a given destination directory Each library will be put into a subdirectory that corresponds to the arch .
"""Copies over the dependencies into a given destination directory

    Each library will be put into a subdirectory that corresponds to the arch.

    Args:
      destination_dir: The destination directory for staging the dependencies
    """ # make sure target dir exists
self
destination_dir
The destination directory for staging the dependencies
The destination directory for staging the dependencies