DescriptionImprove GN duplicate name error.
Improve messaging when two targets generate the same output.
Previous message:
ERROR Duplicate rules for libfoo.so.TOC
New message:
ERROR at //BUILD.gn:24:1: Duplicate output file.
shared_library("b456") {
^-----------------------
Two or more targets generate the same output:
libfoo.so.TOC
This is normally the result of either overriding the output name or
having two shared libraries or executables in different directories
with the same name (since all such targets will be written to the root
output directory).
Collisions:
//:b456
//:a123
See //BUILD.gn:21:1: Collision.
shared_library("a123") {
^-----------------------
Committed: https://crrev.com/bfd2deab3b5c8dea29671662116081a3878687a4
Cr-Commit-Position: refs/heads/master@{#349521}
Patch Set 1 #
Messages
Total messages: 10 (4 generated)
|