summaryrefslogtreecommitdiffstats
path: root/tools/qmake/mkspecs/features/gn_generator.prf
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 /tools/qmake/mkspecs/features/gn_generator.prf
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 'tools/qmake/mkspecs/features/gn_generator.prf')
-rw-r--r--tools/qmake/mkspecs/features/gn_generator.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmake/mkspecs/features/gn_generator.prf b/tools/qmake/mkspecs/features/gn_generator.prf
index c5f283a99..f53132feb 100644
--- a/tools/qmake/mkspecs/features/gn_generator.prf
+++ b/tools/qmake/mkspecs/features/gn_generator.prf
@@ -93,7 +93,7 @@ GN_CONTENTS += "}"
TARGET_TYPE = $$getTargetType()
GN_CONTENTS += "$${TARGET_TYPE}(\"$$TARGET\") {"
-
+!isEmpty(GN_CREATE_PRI): GN_CONTENTS += " create_pri_file = $$GN_CREATE_PRI"
!isEmpty(GN_IMPORTS) {
for (imp, GN_IMPORTS): GN_CONTENTS += " import(\"$$imp\")"
}