Lines Matching full:directory
28 # The tools/ directory adopts a different build system, and produces .cmd
38 directory: The work directory where the objects were built.
46 directory_help = ('specify the output directory used for the OP-TEE build '
47 '(defaults to the working directory)')
48 parser.add_argument('-d', '--directory', type=str, default='.',
67 'If nothing is specified, the current directory is searched')
73 os.path.abspath(args.directory),
76 args.paths if len(args.paths) > 0 else [args.directory])
79 def cmdfiles_in_dir(directory): argument
80 """Generate the iterator of .cmd files found under the directory.
82 Walk under the given directory, and yield every .cmd file found.
85 directory: The directory to search for .cmd files.
92 exclude_dirs = [os.path.join(directory, d) for d in _EXCLUDE_DIRS]
94 for dirpath, dirnames, filenames in os.walk(directory, topdown=True):
163 root_directory: The directory that was searched for .cmd files. Usually
164 used directly in the "directory" entry in compile_commands.json.
187 'directory': root_directory,
194 """Walks through the directory and finds and parses .cmd files."""
195 log_level, directory, output, ar, paths = parse_arguments()
205 # If 'path' is a directory, handle all .cmd files under it.
223 entry = process_line(directory, result.group(1),