INNER CODE UNIT · Python

main

toyota-connected/ivi-homescreen · scripts/gen_sbom.py:90

def main():
    parser = argparse.ArgumentParser(description=__doc__)
    parser.add_argument("--output", default="-", help="output path, or - for stdout")
    parser.add_argument(
        "--engine-version",
        help="Flutter engine commit this build links, when known. The engine is "
        "fetched at build time rather than pinned in-tree, so it can only be "
        "named by whoever ran the build.",
    )
    parser.add_argument(
        "--repo-root", default=None, help="defaults to this script's repository"
    )
    args = parser.parse_args()

    root = Path(args.repo_root) if args.repo_root else Path(__file__).resolve().parent.parent

    unknown = [p for p, _ in submodules(root) if p not in LICENSES]
    if unknown:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…