haikuwebkit/Tools/MiniBrowser
Philippe Normand f0838d1000 [WPE][GTK] SVN_REVISION drifting away if bots don't re-run cmake
https://bugs.webkit.org/show_bug.cgi?id=228290

Patch by Philippe Normand <pnormand@igalia.com> on 2021-07-28
Reviewed by Michael Catanzaro.

.:

The CMake configure_file() is now used only tarball builds for files requiring information
about the build revision. For developer builds a custom target now takes care of keeping
those files up-to-date.

* Source/cmake/OptionsGTK.cmake:
* Source/cmake/OptionsWPE.cmake:

Source/JavaScriptCore:

* PlatformGTK.cmake: Expand ${BUILD_REVISION} with apply-build-revision-to-files.py for
non-tarball builds, or let CMake do it for tarball builds.
* javascriptcoregtk.pc.in: Switch revision var to ${} format, so that we can choose to
either let CMake expand it or do it ourselves.

Source/WebKit:

* PlatformGTK.cmake: Expand ${BUILD_REVISION} with apply-build-revision-to-files.py for
non-tarball builds, or let CMake do it for tarball builds.
* PlatformWPE.cmake: Ditto.
* UIProcess/API/glib/WebKitProtocolHandler.cpp:
(WebKit::WebKitProtocolHandler::handleGPU): Use generated BuildRevision.h header
* gtk/webkit2gtk-web-extension.pc.in: Switch revision var to ${} format, so that we can choose to
either let CMake expand it or do it ourselves.
* gtk/webkit2gtk.pc.in: Ditto.

Tools:

* MiniBrowser/gtk/main.c:
(main): Use generated BuildRevision.h header.
* glib/apply-build-revision-to-files.py: Added.
(main):

Canonical link: https://commits.webkit.org/240026@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-07-28 15:01:50 +00:00
..
Configurations MiniBrowser xcconfig should include ccache.xcconfig conditionally 2021-07-21 23:18:44 +00:00
MiniBrowser.xcodeproj Unreviewed, reverting r273503. 2021-02-25 23:52:23 +00:00
gtk [WPE][GTK] SVN_REVISION drifting away if bots don't re-run cmake 2021-07-28 15:01:50 +00:00
mac Unreviewed, reverting r277605. 2021-05-18 01:33:52 +00:00
playstation [PlayStation] Fix PlayStation port 2021-05-18 17:33:17 +00:00
win Remove <wtf/Optional.h> 2021-06-02 06:45:51 +00:00
wpe [WPE][GTK] SVN_REVISION drifting away if bots don't re-run cmake 2021-07-28 15:01:50 +00:00
MBToolbarItem.h
MBToolbarItem.m
Makefile
MiniBrowser.entitlements