summaryrefslogtreecommitdiffstats
path: root/src/core/core_gn_config.pri
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2016-11-23 20:08:09 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-01-25 09:15:33 +0000
commit2fab4a04938a4ddc30f9bdb1749e75e26a3df354 (patch)
tree20ffd5d85f3f851c88beb2652f68f9e9291190b5 /src/core/core_gn_config.pri
parentc2447a308882ba3691d66b2c28df197f571518c7 (diff)
Add gn build of qtwebengine for linux
This commit uses gn instead of gyp to build on desktop linux. Use WEBENGINE_CONFIG+=use_gn to use gn during the build instead of gyp. Change-Id: Ifd3d8d0835b47c323a8d39c320eb55e5e1024dee Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/core/core_gn_config.pri')
-rw-r--r--src/core/core_gn_config.pri6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/core_gn_config.pri b/src/core/core_gn_config.pri
index ea45977f5..fb671ddb2 100644
--- a/src/core/core_gn_config.pri
+++ b/src/core/core_gn_config.pri
@@ -1,6 +1,10 @@
CONFIG = gn_generator $$CONFIG
GN_SRC_DIR = $$PWD
-GN_FILE = $$OUT_PWD/BUILD.gn
+GN_FILE = $$OUT_PWD/$$getConfigDir()/BUILD.gn
GN_FIND_MOCABLES_SCRIPT = $$shell_path($$QTWEBENGINE_ROOT/tools/scripts/gn_find_mocables.py)
GN_RUN_BINARY_SCRIPT = $$shell_path($$QTWEBENGINE_ROOT/tools/scripts/gn_run_binary.py)
+GN_IMPORTS = $$PWD/qtwebengine.gni
+GN_INCLUDES = $$PWD/qtwebengine_sources.gni $$PWD/qtwebengine_resources.gni
+GN_CREATE_PRI = true
+QMAKE_INTERNAL_INCLUDED_FILES = $$GN_IMPORTS $$GN_INCLUDES $$GN_FILE