Update third_party/sdl2 submodule to latest. (#2657)
Tested running on Windows and building (partially) on Linux. May need a direct (non-SSH) Linux session to test there.
diff --git a/SUBMODULE_VERSIONS b/SUBMODULE_VERSIONS
index f291e40..fd84d04 100644
--- a/SUBMODULE_VERSIONS
+++ b/SUBMODULE_VERSIONS
@@ -9,7 +9,7 @@
67f3ccebee84f3488b46a8d3ac005178c52ff264 third_party/mlir-emitc
80d452484c5409444b0ec19383faa84bb7a4d351 third_party/pybind11
9f53ba413e6fc879236dcaa3e008915973d67a4f third_party/ruy
-b73f111094da3e380a1774b56b15f16c90ae8e23 third_party/sdl2
+a1390ed39ec77ecfb574bc6fcd5bfc5e3adbdea9 third_party/sdl2
f8bf11a0253a32375c32cad92c841237b96696c0 third_party/spirv_headers
57eb48aed36160c4876bc8310d9ca84d42ee9e2a third_party/swiftshader
63b8670dae816422d73dde511566a4cbd329ca18 third_party/tensorflow
diff --git a/build_tools/third_party/sdl2/BUILD.overlay b/build_tools/third_party/sdl2/BUILD.overlay
index 951160a..ba663f0 100644
--- a/build_tools/third_party/sdl2/BUILD.overlay
+++ b/build_tools/third_party/sdl2/BUILD.overlay
@@ -26,8 +26,15 @@
"src/render/direct3d*/**",
"src/render/SDL_d3d*",
"src/haptic/windows/**",
+ "src/locale/windows/**",
+ "src/locale/winrt/**",
+ # Ignore Android and Emscripten locales
+ "src/locale/android/**",
+ "src/locale/emscripten/**",
# Remove support for QNX
"src/video/qnx/**",
+ # No dbus -> don't try to compile this file
+ "src/core/linux/SDL_fcitx.c",
]
sdl_sources = select({
@@ -42,6 +49,9 @@
# Ignore Linux/Unix
"src/core/linux/**",
"src/core/unix/**",
+ # Ignore Android and Emscripten locales
+ "src/locale/android/**",
+ "src/locale/emscripten/**",
# Ignore thread (exclude for thread/windows)
"src/thread/**",
# Remove support for QNX
@@ -86,6 +96,7 @@
"include/SDL_keyboard.h",
"include/SDL_keycode.h",
"include/SDL_loadso.h",
+ "include/SDL_locale.h",
"include/SDL_log.h",
"include/SDL_main.h",
"include/SDL_messagebox.h",
diff --git a/iree/samples/vulkan/BUILD b/iree/samples/vulkan/BUILD
index b684de7..8278b40 100644
--- a/iree/samples/vulkan/BUILD
+++ b/iree/samples/vulkan/BUILD
@@ -57,6 +57,7 @@
"//iree/vm:bytecode_module",
"//iree/vm:ref_cc",
"@com_google_absl//absl/base:core_headers",
+ "@com_google_absl//absl/types:span",
"@dear_imgui",
"@dear_imgui//:imgui_sdl_vulkan",
"@iree_vulkan_headers//:vulkan_headers_no_prototypes",
diff --git a/third_party/sdl2 b/third_party/sdl2
index b73f111..a1390ed 160000
--- a/third_party/sdl2
+++ b/third_party/sdl2
@@ -1 +1 @@
-Subproject commit b73f111094da3e380a1774b56b15f16c90ae8e23
+Subproject commit a1390ed39ec77ecfb574bc6fcd5bfc5e3adbdea9