Files
gentoo/dev-qt/qtwebengine/files/qtwebengine-5.15.2-extra_gn.patch
Andreas Sturmlechner 5cb1eb3cca dev-qt/qtwebengine: Support EXTRA_GN env var
Thanks-to: Jannik Glückert <jannik.glueckert@gmail.com>
Closes: https://bugs.gentoo.org/774186
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
2021-09-02 20:38:07 +02:00

13 lines
503 B
Diff

diff --git a/src/core/gn_run.pro b/src/core/gn_run.pro
index 3d6fda80e..3d0bc86fe 100644
--- a/src/core/gn_run.pro
+++ b/src/core/gn_run.pro
@@ -38,5 +38,6 @@ build_pass|!debug_and_release {
}
+ gn_args += $$(EXTRA_GN)
gn_args = $$system_quote($$gn_args)
gn_src_root = $$system_quote($$system_path($$QTWEBENGINE_ROOT/$$getChromiumSrcDir()))
gn_build_root = $$system_quote($$system_path($$OUT_PWD/$$getConfigDir()))
gn_python = "--script-executable=$$pythonPathForSystem()"