| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| BUILD.bazel | D | 03-May-2024 | 1.9 KiB | 74 | 66 | |
| README.md | D | 03-May-2024 | 1.1 KiB | 49 | 33 | |
| bp2build_module_dep_infos.py | D | 03-May-2024 | 5.1 KiB | 168 | 117 | |
| bp2build_progress.py | D | 03-May-2024 | 17.1 KiB | 531 | 410 | |
| bp2build_progress_test.py | D | 03-May-2024 | 16.5 KiB | 415 | 349 | |
| dependency_analysis.py | D | 03-May-2024 | 14 KiB | 467 | 332 | |
| dependency_analysis_test.py | D | 03-May-2024 | 17.5 KiB | 559 | 436 | |
| queryview_xml.py | D | 03-May-2024 | 1.9 KiB | 64 | 40 | |
| soong_module_json.py | D | 03-May-2024 | 1.5 KiB | 62 | 38 |
README.md
1# bp2build progress graphs 2 3This directory contains tools to generate reports and .png graphs of the 4bp2build conversion progress, for any module. 5 6This tool relies on `json-module-graph` and `bp2build` to be buildable targets 7for this branch. 8 9## Prerequisites 10 11* `/usr/bin/dot`: turning dot graphviz files into .pngs 12 13Tip: `--use_queryview=true` runs `bp2build_progress.py` with queryview. 14 15## Instructions 16 17# Generate the report for a module, e.g. adbd 18 19```sh 20b run //build/bazel/scripts/bp2build_progress:bp2build_progress \ 21 -- report -m <module-name> 22``` 23 24or: 25 26```sh 27b run //build/bazel/scripts/bp2build_progress:bp2build_progress \ 28 -- report -m <module-name> --use-queryview 29``` 30 31When running in report mode, you can also write results to a proto with the flag 32`--proto-file` 33 34# Generate the report for a module, e.g. adbd 35 36```sh 37b run //build/bazel/scripts/bp2build_progress:bp2build_progress \ 38 -- graph -m adbd > /tmp/graph.in && \ 39 dot -Tpng -o /tmp/graph.png /tmp/graph.in 40``` 41 42or: 43 44```sh 45b run //build/bazel/scripts/bp2build_progress:bp2build_progress \ 46 -- graph -m adbd --use-queryview > /tmp/graph.in && \ 47 dot -Tpng -o /tmp/graph.png /tmp/graph.in 48``` 49