Descriptionosmesa, cdmadapter: drop workaround for VS2013 allocator shim
This is a partial revert of crrev.com/1616793003 .
crrev.com/1616793003 introduced a workaround to the clearkeycdmadapter
and osmesa libs to deal with a breakage on windows. The breakage was
because in the days of MSVS2013 and gyp the win shim was working by:
1. removing the dependency to libcrt from any target that would depend
directly or indirectly on //base.
2. giving them a replacement shim which did redefine allocator syms.
However, all this was working only in the case that the target
was ending up linking //base, which is the case for *almost* any target
in chrome. It was known to break if we had a case of a target depending
on //base only via a shared library dependency (so depending on, but not
linking, //base).
In such case only 1 would happen but not 2, leading to a build failure
on win, as highlighted in the commit message of crrev.com/1616793003 .
We estimated this to be very rare in the codebase, and effectively did
affect only osmesa and cdmadaptr, so we added a workaround there.
Now that both gyp and MSVS2013 are no more, we can go back to the
more sensible case where only the root executable (chrome, or whatever
else executable linking base) is the only thing defining the allocator
symbols. No workaround should be needed anymore.
BUG=617732
Patch Set 1 #Patch Set 2 : add nogncheck around trivial base includes from headers used by the cdm adapter #
Messages
Total messages: 18 (11 generated)
|