fx bazel2gn

针对同时在 gn 和 Bazel 中构建的目标同步 BUILD.gn 和 BUILD.bazel。

usage: fx bazel2gn [-d|--directory <path/to/dir>]... [-h|--help] [--no-build]

  -h|--help       Print out this message.
  -d|--directory  Directory to sync, repeatable.
  --no-build      Skip building required dependencies.

Updates BUILD.gn listed in this script based on the BUILD.bazel files in
their directories.

bazel2gn 源代码