As part of Flatpak 1.10 changes regarding environment variables, the Flatpak SDK currently creates a `WebKitBuild/flatpak-env.json` variable to pass the needed environment variables to the webkit-bwrap wrapper. One such variable is WEBKIT_BUILD_DIR_BIND_MOUNT, which is used to bindmount the WebKitBuild/<PORT>/<CONFIG> directory into WebKitBuild/<CONFIG> inside the sanbox. While this has been working quite well when running *single* commands, this approach has some limitations. For example, running in parallel GTK and WPE MiniBrowsers. Each command would generate a different flatpak-env.json with its own config. Related revisions and bugs: * Initial flatpak-env.json patch: r271938 / bug220781 * Followup fix avoiding early deletion: r272018 / bug221070
Created attachment 419943 [details] Patch
Committed r272712: <https://commits.webkit.org/r272712> All reviewed patches have been landed. Closing bug and clearing flags on attachment 419943 [details].
<rdar://problem/74225666>