platform_build_soong/cmd
Jingwen Chen 164e0867fc bp2build: add a simple UI to report migration progress.
Sample output:

[bp2build] cc_library_headers: 5 targets
[bp2build] cc_object: 5 targets
[bp2build] filegroup: 4 targets
[bp2build] genrule: 4 targets
[bp2build] sh_binary: 1 targets
[bp2build] Generated 19 total BUILD targets from 39270 Android.bp modules.

This CL adds an additional CodegenMetrics return value to
GenerateBazelTargets calls, which are called from bp2build, queryview,
and their tests. For this UI, we only want to use it for bp2build, and
not queryview or tests, since it's not useful for the former, and can
pollute the CLI for the latter.

Test: build/bazel/scripts/milestone-2/demo.sh
Change-Id: Ic84307a1ed1a25e360c9b23459e5449d932bc2e7
2021-02-19 09:30:11 -05:00
..
dep_fixer Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
diff_target_files Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
extract_apks Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
extract_jar_packages Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
extract_linker Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
fileslist Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
host_bionic_inject Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
javac_wrapper Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
merge_zips Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
multiproduct_kati Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
path_interposer Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
pom2bp Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
pom2mk Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
sbox Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
soong_build bp2build: add a simple UI to report migration progress. 2021-02-19 09:30:11 -05:00
soong_env Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
soong_ui Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
zip2zip Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
zipsync Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00