Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GN: Generate phony rules for unique executables.
Prior to this CL, if there were multiple targets ina GN build with the name 'unit_tests', we would not generate a top-level phony ninja target for them; you would have to specify either the full path to the output or the label name. This is confusing for things like 'browser_tests' and 'unit_tests', where in Chromium we might have multiple targets with that name, but only one of those is an executable (at least in the default toolchain). This CL adds logic to handle that case (so that 'unit_tests' does work). R=brettw@chromium.org BUG=480042 Review URL: https://codereview.chromium.org/1101323005 Cr-Commit-Position: refs/heads/master@{#326942}
- Loading branch information