Skip to content

Update GLFW library/wrapper names #38589

@stuartmorgan-g

Description

@stuartmorgan-g

Currently the Windows and Linux GLFW embedding libraries and associated wrapper directory aren't using a suffix. This makes things confusing/difficult when we look at switching over to using the real, non-GLFW implementations, as we will be doing shortly for Windows.

To prepare for this, we need to:

  • Add a copy of the libraries with _glfw suffixes (wrappers are already added)
  • Add those versions to the recipes that post artifacts
  • Update flutter_tool to get those versions instead (and make the corresponding changes to FDE examples)
  • Stop posting the un-suffixed Linux version in the recipe
  • Remove the unsuffixed Linux version from the build, remove the _win32 suffix from the Windows library, remove the directory_suffix from publish_wrapper_windows, and remove publish_wrapper_unprefixed (actually unsuffixed; it was misnamed). This will have the effect of switch the recipes for Windows that aren't explicitly using _glfw artifacts from GLFW to Win32, except for the header
  • Switch the primary header included in windows-x64-flutter.zip

Doing it this way should prevent any breaking changes that have to be simultaneously landed between the recipe repo and the engine repo.

Metadata

Metadata

Labels

a: desktopRunning on desktope: glfwGLFW desktop embeddingengineflutter/engine related. See also e: labels.platform-linuxBuilding on or for Linux specificallyplatform-windowsBuilding on or for Windows specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions