summaryrefslogtreecommitdiffstats
path: root/src/core/core_gyp_generator.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core_gyp_generator.pro')
-rw-r--r--src/core/core_gyp_generator.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/core_gyp_generator.pro b/src/core/core_gyp_generator.pro
index 4ac4d0060..211020a8e 100644
--- a/src/core/core_gyp_generator.pro
+++ b/src/core/core_gyp_generator.pro
@@ -20,6 +20,10 @@ DEFINES += QT_NO_KEYWORDS \
QTWEBENGINECORE_VERSION_STR=\\\"$$MODULE_VERSION\\\" \
BUILDING_CHROMIUM
+# Assume that we want mobile touch and low-end hardware behaviors
+# whenever we are cross compiling.
+cross_compile: DEFINES += QTWEBENGINE_MOBILE_SWITCHES
+
# Keep Skia happy
CONFIG(release, debug|release): DEFINES += NDEBUG