Allow building the tray subsystem without the video subsystem

Fixes https://github.com/libsdl-org/SDL/issues/13235
This commit is contained in:
Sam Lantinga
2025-08-27 07:34:18 -07:00
parent 943d0f67ba
commit da6e9bbf7c
18 changed files with 219 additions and 263 deletions

View File

@@ -540,6 +540,9 @@
/* Enable dialog subsystem */
#cmakedefine SDL_DIALOG_DUMMY 1
/* Enable tray subsystem */
#cmakedefine SDL_TRAY_DUMMY 1
/* Enable assembly routines */
#cmakedefine SDL_ALTIVEC_BLITTERS 1

View File

@@ -208,6 +208,9 @@
#define SDL_CAMERA_DRIVER_ANDROID 1
#endif /* SDL_CAMERA_DISABLED */
/* Enable tray subsystem */
#define SDL_TRAY_DUMMY 1
/* Enable nl_langinfo and high-res file times on version 26 and higher. */
#if __ANDROID_API__ >= 26
#define HAVE_NL_LANGINFO 1

View File

@@ -223,4 +223,7 @@
/* Enable dialog subsystem */
#define SDL_DIALOG_DUMMY 1
/* Enable tray subsystem */
#define SDL_TRAY_DUMMY 1
#endif /* SDL_build_config_ios_h_ */

View File

@@ -98,4 +98,7 @@ typedef unsigned int uintptr_t;
/* Enable dialog subsystem */
#define SDL_DIALOG_DUMMY 1
/* Enable tray subsystem */
#define SDL_TRAY_DUMMY 1
#endif /* SDL_build_config_minimal_h_ */

View File

@@ -220,4 +220,7 @@
/* Enable dialog subsystem */
#define SDL_DIALOG_DUMMY 1
/* Enable tray subsystem */
#define SDL_TRAY_DUMMY 1
#endif /* SDL_build_config_wingdk_h_ */