目录

DISCLAIMER: This is not an official Google product.

What does this do?

This is a tool that traces the build commands used to compile source code, and creates a graph of the dependencies between files and the compiler flags used to produce outputs. It can then generate equivalent build files in another build system such as Bazel or Ninja.

What could it be used for?

  • Automatically convert a project from one build system to another.
    • Compile a library statically even if the original build system doesn’t support it.
    • Easier cross-compilation.
  • Verify all #include’d headers are coming from the place you expect. Eg. the sysroot when doing hermetic builds.
  • Easier integration with code indexers such as Kythe.

Current status

This project is still in very early stages. It’s a proof of concept that works on some packages, but don’t expect it to work perfectly on everything.

关于
205.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号