You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 36ed224bac
Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
1 year ago
..
BUILD.bazel Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
README.md Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
bp2build_module_dep_infos.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
bp2build_progress.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
bp2build_progress_test.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
dependency_analysis.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
dependency_analysis_test.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
queryview_xml.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago
soong_module_json.py Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a) 1 year ago

README.md

bp2build progress graphs

This directory contains tools to generate reports and .png graphs of the bp2build conversion progress, for any module.

This tool relies on json-module-graph and bp2build to be buildable targets for this branch.

Prerequisites

  • /usr/bin/dot: turning dot graphviz files into .pngs

Tip: --use_queryview=true runs bp2build_progress.py with queryview.

Instructions

Generate the report for a module, e.g. adbd

b run //build/bazel/scripts/bp2build_progress:bp2build_progress \
  -- report -m <module-name>

or:

b run //build/bazel/scripts/bp2build_progress:bp2build_progress \
  -- report -m <module-name> --use-queryview

When running in report mode, you can also write results to a proto with the flag --proto-file

Generate the report for a module, e.g. adbd

b run //build/bazel/scripts/bp2build_progress:bp2build_progress \
  -- graph -m adbd > /tmp/graph.in && \
  dot -Tpng -o /tmp/graph.png /tmp/graph.in

or:

b run //build/bazel/scripts/bp2build_progress:bp2build_progress \
  -- graph -m adbd --use-queryview > /tmp/graph.in && \
  dot -Tpng -o /tmp/graph.png /tmp/graph.in