Skip to content

crashpad: update mini_chromium-win_helper patch #27077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marsh226
Copy link

@marsh226 marsh226 commented Apr 1, 2025

Summary

Changes to recipe: crashpad/cci.20220219

Motivation

Integrating the improvement from chromium/mini_chromium@aa56c39 into the mini_chromium win_helper.py patch to fix Windows build failures.

Details

(Copy-paste from chromium/mini_chromium@aa56c39):
On a system with only the Visual Studio Build Tools workload installed
(version 2022/17.13.0), but not Enterprise, Professional, or Community,
vswhere -latest -property installationPath was not returning anything,
resulting in this script failing with “Exception: Visual Studio
installation dir not found” during gn gen.

Evidently, vswhere by default only looks for
Microsoft.VisualStudio.Product.{Enterprise,Professional,Community}, but
not BuildTools. BuildTools alone (with a suitable SDK) should be
sufficient for Crashpad development. Specifying -products * should
allow vswhere to find the products it was previously able to locate, and
also Microsoft.VisualStudio.Product.BuildTools.


@CLAassistant
Copy link

CLAassistant commented Apr 1, 2025

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants