Godot Engine – Multi-platform 2D and 3D game engine
[Windows] Remove custom UIAutomationCore import library.
Pāvels Nadtočajevsa51ca60c39b4
diff --git a/platform/windows/SCsub b/platform/windows/SCsubindex 71316b783ef..42bc0bcc57a 100644--- a/platform/windows/SCsub+++ b/platform/windows/SCsub@@ -108,9 +108,6 @@ env_winrt.add_source_files(sources, tts_sources)sources += res_obj-if env["accesskit"] and not env.msvc:- sources += env.DEFLIB("uiautomationcore")-if env["library_type"] == "static_library":prog = env.add_library("#bin/godot", sources, PROGSUFFIX=env["PROGSUFFIX"])elif env["library_type"] == "shared_library":diff --git a/platform/windows/detect.py b/platform/windows/detect.pyindex e9f1775acd2..a0af70fbc19 100644--- a/platform/windows/detect.py+++ b/platform/windows/detect.py@@ -484,7 +484,6 @@ def configure_msvc(env: "SConsEnvironment"):env.Append(LIBPATH=[env["accesskit_sdk_path"] + "/lib/windows/x86/msvc/static"])LIBS += ["accesskit",- "uiautomationcore","runtimeobject","propsys","oleaut32",@@ -911,7 +910,6 @@ def configure_mingw(env: "SConsEnvironment"):env.Append(LIBS=["accesskit",- "uiautomationcore." + env["arch"],"runtimeobject","propsys","oleaut32",@@ -1001,37 +999,6 @@ def configure_mingw(env: "SConsEnvironment"):env.Append(CPPDEFINES=["MINGW_ENABLED", ("MINGW_HAS_SECURE_API", 1)])- # dlltool- env["DEF"] = get_detected(env, "dlltool")- env["DEFCOM"] = "$DEF $DEFFLAGS -d $SOURCE -l $TARGET"- env["DEFCOMSTR"] = "$CXXCOMSTR"- env["DEFPREFIX"] = "$LIBPREFIX"- env["DEFSUFFIX"] = ".${__env__['arch']}$LIBSUFFIX"- env["DEFSRCSUFFIX"] = ".${__env__['arch']}.def"- DEF_ALIASES = {- "x86_32": "i386",- "x86_64": "i386:x86-64",- "arm32": "arm",- "arm64": "arm64",- }- env.Append(DEFFLAGS=["-m", DEF_ALIASES[env["arch"]]])- if env["arch"] == "x86_32":- env.Append(DEFFLAGS=["-k"])- else:- env.Append(DEFFLAGS=["--no-leading-underscore"])-- env.Append(- BUILDERS={- "DEFLIB": env.Builder(- action=env.Run("$DEFCOM", "$DEFCOMSTR"),- prefix="$DEFPREFIX",- suffix="$DEFSUFFIX",- src_suffix="$DEFSRCSUFFIX",- emitter=methods.redirect_emitter,- )- }- )-def configure(env: "SConsEnvironment"):# Validate arch.diff --git a/platform/windows/uiautomationcore.arm32.def b/platform/windows/uiautomationcore.arm32.defdeleted file mode 100644index a83dd7cc7aa..00000000000--- a/platform/windows/uiautomationcore.arm32.def+++ /dev/null@@ -1,115 +0,0 @@-;-; Definition file of UIAutomationCore.DLL-; Automatic generated by gendef-; written by Kai Tietz 2008-;-LIBRARY "UIAutomationCore.DLL"-EXPORTS-DllGetActivationFactory-DllCanUnloadNow-DllGetClassObject-DockPattern_SetDockPosition-ExpandCollapsePattern_Collapse-ExpandCollapsePattern_Expand-GridPattern_GetItem-IgnoreLeaksInCurrentlyTrackedMemory-InitializeChannelBasedConnectionForProviderProxy-InvokePattern_Invoke-IsIgnoringLeaks-ItemContainerPattern_FindItemByProperty-LegacyIAccessiblePattern_DoDefaultAction-LegacyIAccessiblePattern_GetIAccessible-LegacyIAccessiblePattern_Select-LegacyIAccessiblePattern_SetValue-MultipleViewPattern_GetViewName-MultipleViewPattern_SetCurrentView-PostTestCheckForLeaks-RangeValuePattern_SetValue-ScrollItemPattern_ScrollIntoView-ScrollPattern_Scroll-ScrollPattern_SetScrollPercent-SelectionItemPattern_AddToSelection-SelectionItemPattern_RemoveFromSelection-SelectionItemPattern_Select-StartIgnoringLeaks-StopIgnoringLeaks-SynchronizedInputPattern_Cancel-SynchronizedInputPattern_StartListening-TextPattern_GetSelection-TextPattern_GetVisibleRanges-TextPattern_RangeFromChild-TextPattern_RangeFromPoint-TextPattern_get_DocumentRange-TextPattern_get_SupportedTextSelection-TextRange_AddToSelection-TextRange_Clone-TextRange_Compare-TextRange_CompareEndpoints-TextRange_ExpandToEnclosingUnit-TextRange_FindAttribute-TextRange_FindText-TextRange_GetAttributeValue-TextRange_GetBoundingRectangles-TextRange_GetChildren-TextRange_GetEnclosingElement-TextRange_GetText-TextRange_Move-TextRange_MoveEndpointByRange-TextRange_MoveEndpointByUnit-TextRange_RemoveFromSelection-TextRange_ScrollIntoView-TextRange_Select-TogglePattern_Toggle-TransformPattern_Move-TransformPattern_Resize-TransformPattern_Rotate-UiaAddEvent-UiaClientsAreListening-UiaDisconnectAllProviders-UiaDisconnectProvider-UiaEventAddWindow-UiaEventRemoveWindow-UiaFind-UiaGetErrorDescription-UiaGetPatternProvider-UiaGetPropertyValue-UiaGetReservedMixedAttributeValue-UiaGetReservedNotSupportedValue-UiaGetRootNode-UiaGetRuntimeId-UiaGetUpdatedCache-UiaHPatternObjectFromVariant-UiaHTextRangeFromVariant-UiaHUiaNodeFromVariant-UiaHasServerSideProvider-UiaHostProviderFromHwnd-UiaIAccessibleFromProvider-UiaLookupId-UiaNavigate-UiaNodeFromFocus-UiaNodeFromHandle-UiaNodeFromPoint-UiaNodeFromProvider-UiaNodeRelease-UiaPatternRelease-UiaProviderForNonClient-UiaProviderFromIAccessible-UiaRaiseActiveTextPositionChangedEvent-UiaRaiseAsyncContentLoadedEvent-UiaRaiseAutomationEvent-UiaRaiseAutomationPropertyChangedEvent-UiaRaiseChangesEvent-UiaRaiseNotificationEvent-UiaRaiseStructureChangedEvent-UiaRaiseTextEditTextChangedEvent-UiaRegisterProviderCallback-UiaRemoveEvent-UiaReturnRawElementProvider-UiaSetFocus-UiaTextRangeRelease-UpdateErrorLoggingCallback-ValuePattern_SetValue-VirtualizedItemPattern_Realize-WindowPattern_Close-WindowPattern_SetWindowVisualState-WindowPattern_WaitForInputIdlediff --git a/platform/windows/uiautomationcore.arm64.def b/platform/windows/uiautomationcore.arm64.defdeleted file mode 100644index a83dd7cc7aa..00000000000--- a/platform/windows/uiautomationcore.arm64.def+++ /dev/null@@ -1,115 +0,0 @@-;-; Definition file of UIAutomationCore.DLL-; Automatic generated by gendef-; written by Kai Tietz 2008-;-LIBRARY "UIAutomationCore.DLL"-EXPORTS-DllGetActivationFactory-DllCanUnloadNow-DllGetClassObject-DockPattern_SetDockPosition-ExpandCollapsePattern_Collapse-ExpandCollapsePattern_Expand-GridPattern_GetItem-IgnoreLeaksInCurrentlyTrackedMemory-InitializeChannelBasedConnectionForProviderProxy-InvokePattern_Invoke-IsIgnoringLeaks-ItemContainerPattern_FindItemByProperty-LegacyIAccessiblePattern_DoDefaultAction-LegacyIAccessiblePattern_GetIAccessible-LegacyIAccessiblePattern_Select-LegacyIAccessiblePattern_SetValue-MultipleViewPattern_GetViewName-MultipleViewPattern_SetCurrentView-PostTestCheckForLeaks-RangeValuePattern_SetValue-ScrollItemPattern_ScrollIntoView-ScrollPattern_Scroll-ScrollPattern_SetScrollPercent-SelectionItemPattern_AddToSelection-SelectionItemPattern_RemoveFromSelection-SelectionItemPattern_Select-StartIgnoringLeaks-StopIgnoringLeaks-SynchronizedInputPattern_Cancel-SynchronizedInputPattern_StartListening-TextPattern_GetSelection-TextPattern_GetVisibleRanges-TextPattern_RangeFromChild-TextPattern_RangeFromPoint-TextPattern_get_DocumentRange-TextPattern_get_SupportedTextSelection-TextRange_AddToSelection-TextRange_Clone-TextRange_Compare-TextRange_CompareEndpoints-TextRange_ExpandToEnclosingUnit-TextRange_FindAttribute-TextRange_FindText-TextRange_GetAttributeValue-TextRange_GetBoundingRectangles-TextRange_GetChildren-TextRange_GetEnclosingElement-TextRange_GetText-TextRange_Move-TextRange_MoveEndpointByRange-TextRange_MoveEndpointByUnit-TextRange_RemoveFromSelection-TextRange_ScrollIntoView-TextRange_Select-TogglePattern_Toggle-TransformPattern_Move-TransformPattern_Resize-TransformPattern_Rotate-UiaAddEvent-UiaClientsAreListening-UiaDisconnectAllProviders-UiaDisconnectProvider-UiaEventAddWindow-UiaEventRemoveWindow-UiaFind-UiaGetErrorDescription-UiaGetPatternProvider-UiaGetPropertyValue-UiaGetReservedMixedAttributeValue-UiaGetReservedNotSupportedValue-UiaGetRootNode-UiaGetRuntimeId-UiaGetUpdatedCache-UiaHPatternObjectFromVariant-UiaHTextRangeFromVariant-UiaHUiaNodeFromVariant-UiaHasServerSideProvider-UiaHostProviderFromHwnd-UiaIAccessibleFromProvider-UiaLookupId-UiaNavigate-UiaNodeFromFocus-UiaNodeFromHandle-UiaNodeFromPoint-UiaNodeFromProvider-UiaNodeRelease-UiaPatternRelease-UiaProviderForNonClient-UiaProviderFromIAccessible-UiaRaiseActiveTextPositionChangedEvent-UiaRaiseAsyncContentLoadedEvent-UiaRaiseAutomationEvent-UiaRaiseAutomationPropertyChangedEvent-UiaRaiseChangesEvent-UiaRaiseNotificationEvent-UiaRaiseStructureChangedEvent-UiaRaiseTextEditTextChangedEvent-UiaRegisterProviderCallback-UiaRemoveEvent-UiaReturnRawElementProvider-UiaSetFocus-UiaTextRangeRelease-UpdateErrorLoggingCallback-ValuePattern_SetValue-VirtualizedItemPattern_Realize-WindowPattern_Close-WindowPattern_SetWindowVisualState-WindowPattern_WaitForInputIdlediff --git a/platform/windows/uiautomationcore.x86_32.def b/platform/windows/uiautomationcore.x86_32.defdeleted file mode 100644index fce8c03fb1e..00000000000--- a/platform/windows/uiautomationcore.x86_32.def+++ /dev/null@@ -1,115 +0,0 @@-;-; Definition file of UIAutomationCore.DLL-; Automatic generated by gendef-; written by Kai Tietz 2008-;-LIBRARY "UIAutomationCore.DLL"-EXPORTS-DllGetActivationFactory@8-DllCanUnloadNow-DllGetClassObject@12-DockPattern_SetDockPosition@8-ExpandCollapsePattern_Collapse@4-ExpandCollapsePattern_Expand@4-GridPattern_GetItem@16-IgnoreLeaksInCurrentlyTrackedMemory-InitializeChannelBasedConnectionForProviderProxy@12-InvokePattern_Invoke@4-IsIgnoringLeaks-ItemContainerPattern_FindItemByProperty@32-LegacyIAccessiblePattern_DoDefaultAction@4-LegacyIAccessiblePattern_GetIAccessible@8-LegacyIAccessiblePattern_Select@8-LegacyIAccessiblePattern_SetValue@8-MultipleViewPattern_GetViewName@12-MultipleViewPattern_SetCurrentView@8-PostTestCheckForLeaks@8-RangeValuePattern_SetValue@12-ScrollItemPattern_ScrollIntoView@4-ScrollPattern_Scroll@12-ScrollPattern_SetScrollPercent@20-SelectionItemPattern_AddToSelection@4-SelectionItemPattern_RemoveFromSelection@4-SelectionItemPattern_Select@4-StartIgnoringLeaks@4-StopIgnoringLeaks-SynchronizedInputPattern_Cancel@4-SynchronizedInputPattern_StartListening@8-TextPattern_GetSelection@8-TextPattern_GetVisibleRanges@8-TextPattern_RangeFromChild@12-TextPattern_RangeFromPoint@24-TextPattern_get_DocumentRange@8-TextPattern_get_SupportedTextSelection@8-TextRange_AddToSelection@4-TextRange_Clone@8-TextRange_Compare@12-TextRange_CompareEndpoints@20-TextRange_ExpandToEnclosingUnit@8-TextRange_FindAttribute@32-TextRange_FindText@20-TextRange_GetAttributeValue@12-TextRange_GetBoundingRectangles@8-TextRange_GetChildren@8-TextRange_GetEnclosingElement@8-TextRange_GetText@12-TextRange_Move@16-TextRange_MoveEndpointByRange@16-TextRange_MoveEndpointByUnit@20-TextRange_RemoveFromSelection@4-TextRange_ScrollIntoView@8-TextRange_Select@4-TogglePattern_Toggle@4-TransformPattern_Move@20-TransformPattern_Resize@20-TransformPattern_Rotate@12-UiaAddEvent@32-UiaClientsAreListening-UiaDisconnectAllProviders-UiaDisconnectProvider@4-UiaEventAddWindow@8-UiaEventRemoveWindow@8-UiaFind@24-UiaGetErrorDescription@4-UiaGetPatternProvider@12-UiaGetPropertyValue@12-UiaGetReservedMixedAttributeValue@4-UiaGetReservedNotSupportedValue@4-UiaGetRootNode@4-UiaGetRuntimeId@8-UiaGetUpdatedCache@24-UiaHPatternObjectFromVariant@8-UiaHTextRangeFromVariant@8-UiaHUiaNodeFromVariant@8-UiaHasServerSideProvider@4-UiaHostProviderFromHwnd@8-UiaIAccessibleFromProvider@16-UiaLookupId@8-UiaNavigate@24-UiaNodeFromFocus@12-UiaNodeFromHandle@8-UiaNodeFromPoint@28-UiaNodeFromProvider@8-UiaNodeRelease@4-UiaPatternRelease@4-UiaProviderForNonClient@16-UiaProviderFromIAccessible@16-UiaRaiseActiveTextPositionChangedEvent@8-UiaRaiseAsyncContentLoadedEvent@16-UiaRaiseAutomationEvent@8-UiaRaiseAutomationPropertyChangedEvent@40-UiaRaiseChangesEvent@12-UiaRaiseNotificationEvent@20-UiaRaiseStructureChangedEvent@16-UiaRaiseTextEditTextChangedEvent@12-UiaRegisterProviderCallback@4-UiaRemoveEvent@4-UiaReturnRawElementProvider@16-UiaSetFocus@4-UiaTextRangeRelease@4-UpdateErrorLoggingCallback@4-ValuePattern_SetValue@8-VirtualizedItemPattern_Realize@4-WindowPattern_Close@4-WindowPattern_SetWindowVisualState@8-WindowPattern_WaitForInputIdle@12diff --git a/platform/windows/uiautomationcore.x86_64.def b/platform/windows/uiautomationcore.x86_64.defdeleted file mode 100644index a83dd7cc7aa..00000000000--- a/platform/windows/uiautomationcore.x86_64.def+++ /dev/null@@ -1,115 +0,0 @@-;-; Definition file of UIAutomationCore.DLL-; Automatic generated by gendef-; written by Kai Tietz 2008-;-LIBRARY "UIAutomationCore.DLL"-EXPORTS-DllGetActivationFactory-DllCanUnloadNow-DllGetClassObject-DockPattern_SetDockPosition-ExpandCollapsePattern_Collapse-ExpandCollapsePattern_Expand-GridPattern_GetItem-IgnoreLeaksInCurrentlyTrackedMemory-InitializeChannelBasedConnectionForProviderProxy-InvokePattern_Invoke-IsIgnoringLeaks-ItemContainerPattern_FindItemByProperty-LegacyIAccessiblePattern_DoDefaultAction-LegacyIAccessiblePattern_GetIAccessible-LegacyIAccessiblePattern_Select-LegacyIAccessiblePattern_SetValue-MultipleViewPattern_GetViewName-MultipleViewPattern_SetCurrentView-PostTestCheckForLeaks-RangeValuePattern_SetValue-ScrollItemPattern_ScrollIntoView-ScrollPattern_Scroll-ScrollPattern_SetScrollPercent-SelectionItemPattern_AddToSelection-SelectionItemPattern_RemoveFromSelection-SelectionItemPattern_Select-StartIgnoringLeaks-StopIgnoringLeaks-SynchronizedInputPattern_Cancel-SynchronizedInputPattern_StartListening-TextPattern_GetSelection-TextPattern_GetVisibleRanges-TextPattern_RangeFromChild-TextPattern_RangeFromPoint-TextPattern_get_DocumentRange-TextPattern_get_SupportedTextSelection-TextRange_AddToSelection-TextRange_Clone-TextRange_Compare-TextRange_CompareEndpoints-TextRange_ExpandToEnclosingUnit-TextRange_FindAttribute-TextRange_FindText-TextRange_GetAttributeValue-TextRange_GetBoundingRectangles-TextRange_GetChildren-TextRange_GetEnclosingElement-TextRange_GetText-TextRange_Move-TextRange_MoveEndpointByRange-TextRange_MoveEndpointByUnit-TextRange_RemoveFromSelection-TextRange_ScrollIntoView-TextRange_Select-TogglePattern_Toggle-TransformPattern_Move-TransformPattern_Resize-TransformPattern_Rotate-UiaAddEvent-UiaClientsAreListening-UiaDisconnectAllProviders-UiaDisconnectProvider-UiaEventAddWindow-UiaEventRemoveWindow-UiaFind-UiaGetErrorDescription-UiaGetPatternProvider-UiaGetPropertyValue-UiaGetReservedMixedAttributeValue-UiaGetReservedNotSupportedValue-UiaGetRootNode-UiaGetRuntimeId-UiaGetUpdatedCache-UiaHPatternObjectFromVariant-UiaHTextRangeFromVariant-UiaHUiaNodeFromVariant-UiaHasServerSideProvider-UiaHostProviderFromHwnd-UiaIAccessibleFromProvider-UiaLookupId-UiaNavigate-UiaNodeFromFocus-UiaNodeFromHandle-UiaNodeFromPoint-UiaNodeFromProvider-UiaNodeRelease-UiaPatternRelease-UiaProviderForNonClient-UiaProviderFromIAccessible-UiaRaiseActiveTextPositionChangedEvent-UiaRaiseAsyncContentLoadedEvent-UiaRaiseAutomationEvent-UiaRaiseAutomationPropertyChangedEvent-UiaRaiseChangesEvent-UiaRaiseNotificationEvent-UiaRaiseStructureChangedEvent-UiaRaiseTextEditTextChangedEvent-UiaRegisterProviderCallback-UiaRemoveEvent-UiaReturnRawElementProvider-UiaSetFocus-UiaTextRangeRelease-UpdateErrorLoggingCallback-ValuePattern_SetValue-VirtualizedItemPattern_Realize-WindowPattern_Close-WindowPattern_SetWindowVisualState-WindowPattern_WaitForInputIdle