blob: 98d2d1ded96b0321bb477694b4ed644bd488ef49 [file] [log] [blame]
Andrew Geisslerc926e172021-05-07 16:11:35 -05001From dcf9ae0dc0b4510eddbeeea09e11edfb123f95af Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 2 May 2021 13:10:49 -0700
4Subject: [PATCH] MiniBrowser: Fix reproduciblity
5
6Do not emit references to source dir in generated sourcecode
7
8Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=225283]
9Signed-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
14diff --git a/Tools/MiniBrowser/gtk/CMakeLists.txt b/Tools/MiniBrowser/gtk/CMakeLists.txt
15index 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--
302.31.1
31