third_party/android_deps/fetch_all.py
def FindInDirectory(directory, filename_filter):
    """Find all files in a directory that matches a given filename filter."""
    files = []
    for root, _dirnames, filenames in os.walk(directory):
        matched_files = fnmatch.filter(filenames, filename_filter)
        files.extend((os.path.join(root, f) for f in matched_files))
    return files
Find all files in a directory that matches a given filename filter.
Find all files in a directory that matches a given filename filter.
Find all files in a directory that matches a given filename filter .
def FindInDirectory(directory, filename_filter):
    files = []
    for root, _dirnames, filenames in os.walk(directory):
        matched_files = fnmatch.filter(filenames, filename_filter)
        files.extend((os.path.join(root, f) for f in matched_files))
    return files
def FindInDirectory ( directory , filename_filter ) : files = [ ] for root , _dirnames , filenames in os . walk ( directory ) : matched_files = fnmatch . filter ( filenames , filename_filter ) files . extend ( ( os . path . join ( root , f ) for f in matched_files ) ) return files
Find all files in a directory that matches a given filename filter.
Find all files in a directory that matches a given filename filter .
"""Find all files in a directory that matches a given filename filter."""
directory
filename_filter