This directory contains tools to compare build artifacts from two separate build invocations as a way of gauging build correctness and debugging potential problems with build systems under development.
Use of these tools requires a multistep process:
$ m libc
$ ./collect.py out/combined-aosp_flame.ninja \ out/target/product/flame/obj/libc.so \ /tmp/legacyFiles
$ USE_BAZEL_ANALYSIS=1 m libc
$ ./collect.py out/combined-aosp_flame.ninja \ out/target/product/flame/obj/libc.so \ /tmp/newFiles
$ ./difftool.py /tmp/legacyFiles \ out/target/product/flame/obj/libc.so \ /tmp/newFiles \ out/target/product/flame/obj/libc.so
Use ./collect.py -h
or ./difftool.py -h
for full usage information of these subtools.