Andrew Geissler | c926e17 | 2021-05-07 16:11:35 -0500 | [diff] [blame] | 1 | From dcf9ae0dc0b4510eddbeeea09e11edfb123f95af Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sun, 2 May 2021 13:10:49 -0700 |
| 4 | Subject: [PATCH] MiniBrowser: Fix reproduciblity |
| 5 | |
| 6 | Do not emit references to source dir in generated sourcecode |
| 7 | |
| 8 | Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=225283] |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | --- |
| 11 | Tools/MiniBrowser/gtk/CMakeLists.txt | 4 ++-- |
| 12 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 13 | |
| 14 | diff --git a/Tools/MiniBrowser/gtk/CMakeLists.txt b/Tools/MiniBrowser/gtk/CMakeLists.txt |
| 15 | index 93b62521..482d3b00 100644 |
| 16 | --- a/Tools/MiniBrowser/gtk/CMakeLists.txt |
| 17 | +++ b/Tools/MiniBrowser/gtk/CMakeLists.txt |
| 18 | @@ -51,8 +51,8 @@ add_custom_command( |
| 19 | OUTPUT ${MiniBrowser_DERIVED_SOURCES_DIR}/BrowserMarshal.c |
| 20 | ${MiniBrowser_DERIVED_SOURCES_DIR}/BrowserMarshal.h |
| 21 | MAIN_DEPENDENCY ${MiniBrowser_DIR}/browser-marshal.list |
| 22 | - COMMAND glib-genmarshal --prefix=browser_marshal ${MiniBrowser_DIR}/browser-marshal.list --body > ${MiniBrowser_DERIVED_SOURCES_DIR}/BrowserMarshal.c |
| 23 | - COMMAND glib-genmarshal --prefix=browser_marshal ${MiniBrowser_DIR}/browser-marshal.list --header > ${MiniBrowser_DERIVED_SOURCES_DIR}/BrowserMarshal.h |
| 24 | + COMMAND glib-genmarshal --prefix=browser_marshal ${MiniBrowser_DIR}/browser-marshal.list --body --skip-source > ${MiniBrowser_DERIVED_SOURCES_DIR}/BrowserMarshal.c |
| 25 | + COMMAND glib-genmarshal --prefix=browser_marshal ${MiniBrowser_DIR}/browser-marshal.list --header --skip-source > ${MiniBrowser_DERIVED_SOURCES_DIR}/BrowserMarshal.h |
| 26 | VERBATIM) |
| 27 | |
| 28 | if (USE_GTK4) |
| 29 | -- |
| 30 | 2.31.1 |
| 31 | |