gn
是 根据.gn
文件生存ninja
所需的文件.
gn位置
: depot_tools/gn
,是个脚本,跳去执行python脚本
base_dir=$(dirname "$0")
PYTHONDONTWRITEBYTECODE=1 exec python "$base_dir/gn.py" "$@"
($0)
Expands to the name of the shell or shell script. This is set at shell initialization. If Bash is invoked with a file of commands (see Shell Scripts),$0
is set to the name of that file. If Bash is started with the -c optio