gn /
gn /
e94fcff80395a904c60eef1ed05cbd7dc7953dbd GN: use the correct directory for self-invocation.
GN writes a Ninja command to re-invoke GN when a build file changes. Previously
this hardcoded the build directory. But if the user renames the build
directory, Ninja will think the files are out of date but GN will keep
regenerating files in another directory.
This changes the directory to "." because Ninja will invoke all commands with
the build directory as the current one.
BUG=639965
Review-Url: https://codereview.chromium.org/2389133003
Cr-Original-Commit-Position: refs/heads/master@{#422995}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eceed2e7c13045dcabfa07e7b7d7b4cd2807a0ec
1 file changed
tree: 60f029db496296de44e6aba9aec04b0c93643581
- tools/