DescriptionGN: 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
Committed: https://crrev.com/ab689a4f50c56521396eeab8deb9f8c6945d3c88
Cr-Commit-Position: refs/heads/master@{#326942}
Patch Set 1 #
Total comments: 2
Patch Set 2 : reformat #Messages
Total messages: 8 (2 generated)
|