fx bazel2gn

Syncs BUILD.gn and BUILD.bazel for targets that are dual-building in both.

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 source code