Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(514)

Issue 2736613005: osmesa: drop workaround for VS2013 allocator shim (Closed)

Created:
3 years, 9 months ago by krasin1
Modified:
3 years, 9 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

osmesa: 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. This only removes the shim from osmesa, but not clearkeycdmadapter. BUG=617732 TBR=kbr@chromium.org Review-Url: https://codereview.chromium.org/2736613005 Cr-Commit-Position: refs/heads/master@{#455245} Committed: https://chromium.googlesource.com/chromium/src/+/efcd0c614acac68022267a2eb1af6519353906fb

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -5 lines) Patch
M third_party/mesa/BUILD.gn View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
krasin1
3 years, 9 months ago (2017-03-07 19:20:56 UTC) #3
Primiano Tucci (use gerrit)
LGTM from my side. kbr seems OOO. I think should be fine to TBR him ...
3 years, 9 months ago (2017-03-07 20:17:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2736613005/1
3 years, 9 months ago (2017-03-07 20:31:17 UTC) #10
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 22:15:54 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/efcd0c614acac68022267a2eb1af...

Powered by Google App Engine
This is Rietveld 408576698