Is this only broken with clang? I would've expected that a gn msvc component build is just as broken, it's just that we have no try bot in that config.
What do you mean with "publicly depends"? Nothing but gpu should depend on that target, right?
Bruce recently helped me with a link conflict issue and he clearly know the arcane arts of linkers so +BruceDawson
Will
source_set("test_support") {
[...]
deps = [
"//gpu/ipc/common:ipc_common_sources",
]
}Thanks Bruce. I'll probably delve into that tomorrow. It's clear from the rsp file why I'm getting duplicate symbols.I guess what I'm asking for is helping to debug why gn/ninja is including both the cc file's .obj, and a .lib that contains the same. Is there a way of inspecting the deps that will indicate why both the "dep-on-source_set method" and the "dep-on-library" strategy are being used in the same target?