fx bazel2gn

針對在兩者中雙重建構的目標,同步處理 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 原始碼