Lines Matching +full:directory +full:- +full:to +full:- +full:scan
3 # SPDX-License-Identifier: Apache-2.0
14 # SBOMConfig contains settings that will be passed along to the various
23 # location of build directory
26 # location of SPDX document output directory
36 # create Cmake file-based API directories and query file
38 # 1) build_dir: build directory
40 # check that query dir exists as a directory, or else create it
44 log.err(f'cmake api query directory {cmakeApiDirPath} exists and is not a directory')
46 # directory exists, we're good
48 # create the directory
51 # check that codemodel-v2 exists as a file, or else create it
52 queryFilePath = os.path.join(cmakeApiDirPath, "codemodel-v2")
55 log.err(f'cmake api query file {queryFilePath} exists and is not a directory')
72 log.wrn(f"config: requested to analyze includes but not to generate SDK SPDX document;")
92 # scan each document from walker
128 writeSPDX(os.path.join(cfg.spdxDir, "modules-deps.spdx"), w.docModulesExtRefs)
130 log.err("SPDX writer failed for modules-deps document; bailing")