tools/cygprofile/cyglog_to_orderfile.py
def GetObjectFilenames(obj_dir):
  """Returns all a list of .o files in a given directory tree."""
  obj_files = []
  # Scan _obj_dir recursively for .o files.
  for (dirpath, _, filenames) in os.walk(obj_dir):
    for file_name in filenames:
      if file_name.endswith('.o'):
        obj_files.append(os.path.join(dirpath, file_name))
  return obj_files
Returns all a list of .o files in a given directory tree.
Returns all a list of .o files in a given directory tree.
Returns all a list of . o files in a given directory tree .
def GetObjectFilenames(obj_dir):
  obj_files = []
  for (dirpath, _, filenames) in os.walk(obj_dir):
    for file_name in filenames:
      if file_name.endswith('.o'):
        obj_files.append(os.path.join(dirpath, file_name))
  return obj_files
def GetObjectFilenames ( obj_dir ) : obj_files = [ ] for ( dirpath , _ , filenames ) in os . walk ( obj_dir ) : for file_name in filenames : if file_name . endswith ( '.o' ) : obj_files . append ( os . path . join ( dirpath , file_name ) ) return obj_files
Returns all a list of .o files in a given directory tree.
Returns all a list of . o files in a given directory tree .
"""Returns all a list of .o files in a given directory tree.""" # Scan _obj_dir recursively for .o files.
obj_dir