fix: add C++/WinRT headers

This commit is contained in:
Keeley Hammond
2026-01-30 14:52:33 -08:00
parent 7d4f91a135
commit b431ec4b97

View File

@@ -706,6 +706,13 @@ source_set("electron_lib") {
"//sandbox/win:sandbox",
"//third_party/crashpad/crashpad/handler",
]
# Use the pre-generated C++/WinRT headers from //third_party/nearby instead
# of the SDK's cppwinrt headers, which may be incomplete. This is needed for
# the MSIX auto-updater which uses Windows.ApplicationModel APIs.
include_dirs += [
"//third_party/nearby/src/internal/platform/implementation/windows/generated",
]
}
if (enable_plugins) {