DescriptionRequire build directories exist for some GN commands.
Some GN commands just query the state of the build. They generally take the
build directory as a first argument. But this is easy to forget and GN will
auto-create these directories if they don't exist. So I end up with directories
named "base/*" because I was trying to list all targets in base but forgot the
build argument.
This patch requires that the build directory contain a build.ninja file for
the "querying" commands to prevent this case.
Committed: https://crrev.com/4dd3ef06036b5b7bfc430ee4a5013856cfe8d872
Cr-Commit-Position: refs/heads/master@{#294071}
Patch Set 1 #Patch Set 2 : file path literal #
Messages
Total messages: 11 (4 generated)
|