From 64a2e6ff1cb9c169f251ee5983c27156b27a0470 Mon Sep 17 00:00:00 2001
From: Allan Sandfeld Jensen <allan.jensen@qt.io>
Date: Fri, 5 Apr 2019 15:08:41 +0200
Subject: [PATCH] Enable precompiled headers for qtwebengine core

Chromium requires us to add a special config to enable precompiled
headers. Note this still depends additionally on that the corresponding
GN flag is also set.

Changes in 3rdparty:
9401dc18ce02 Add precompiled object files to qmake link output
8ba90427ae5e Improve the issue with long file names on windows

Change-Id: I6680232e17a5254d3ca53e5a40e6a15a6b7fc82d
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
---
 mkspecs/features/gn_generator.prf | 3 ++-
 src/3rdparty                      | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/mkspecs/features/gn_generator.prf b/mkspecs/features/gn_generator.prf
index e6ae263ac..4b8462415 100644
--- a/mkspecs/features/gn_generator.prf
+++ b/mkspecs/features/gn_generator.prf
@@ -177,7 +177,8 @@ GN_CONTENTS += "$${TARGET_TYPE}(\"$$TARGET\") {"
     for (imp, GN_IMPORTS): GN_CONTENTS += "  import(\"$$imp\")"
 }
 
-GN_CONTENTS += "  configs += [ \":$${TARGET}_config\" ] "
+GN_CONTENTS += "  configs += [ \":$${TARGET}_config\" ]"
+GN_CONTENTS += "  configs += [ \"//build/config:precompiled_headers\" ]"
 
 # Source files to compile
 GN_CONTENTS += "  sources = ["
diff --git a/src/3rdparty b/src/3rdparty
index d8e950cba..8ba90427a 160000
--- a/src/3rdparty
+++ b/src/3rdparty
@@ -1 +1 @@
-Subproject commit d8e950cba2f4e3625aa551715eb17a89a1a05be8
+Subproject commit 8ba90427ae5edea70afbeb02df01f59c8fc366d4
-- 
GitLab