Repository navigation
chore: cleanup includes of Win32 headers - #52713
Conversation
dba79a5 to
3766313
Compare
|
Heads up: Windows CI builds moved to new runners on Monday and the old ones have now been removed. This branch predates that, so its Windows build jobs still point at the old runners and will sit queued forever if CI runs again. Rebasing on |
3766313 to
6dc0ee5
Compare
|
No Release Notes |
|
I was unable to backport this PR to "42-x-y" cleanly; |
|
I was unable to backport this PR to "44-x-y" cleanly; |
|
I was unable to backport this PR to "43-x-y" cleanly; |
|
@VerteDinde has manually backported this PR to "44-x-y", please check out #52929 |
chore: cleanup includes of Win32 headers (#52713) * chore: cleanup includes of Win32 headers * chore: work around leaky defines in libuv (cherry picked from commit 3237b00) Co-authored-by: David Sanders <[email protected]>
|
@VerteDinde has manually backported this PR to "43-x-y", please check out #52945 |
chore: cleanup includes of Win32 headers (#52713) * chore: cleanup includes of Win32 headers * chore: work around leaky defines in libuv (cherry picked from commit 3237b00) Co-authored-by: David Sanders <[email protected]>
|
@VerteDinde has manually backported this PR to "42-x-y", please check out #52991 |
chore: cleanup includes of Win32 headers (#52713) * chore: cleanup includes of Win32 headers * chore: work around leaky defines in libuv (cherry picked from commit 3237b00) Co-authored-by: David Sanders <[email protected]>
Description of Change
Cleans up includes so we don't need
// NOLINT(build/include_order)and the hacks around theStrCatmacro. The main issue was we shouldn't be including<atlbase.h>directly, but ratherbase/win/atl.h(same withpropvarutil.h), as per the presubmit error in Chromium: "Do not #include shlwapi.h, atlbase.h, propvarutil.h or sphelper.h directly since they pollute code with StrCat macro. Instead, include matching header from base/win. See http://crbug.com/856536"The introduction of
shell/common/uv_includes.his to counter the leaking of theRB_BLACKandRB_REDmacros from libuv (not a part of the public API, just an internal implementation detail), which conflicts with a Windows header.Checklist
Release Notes
Notes: none