summaryrefslogtreecommitdiffstats
path: root/src/core/core_gyp_generator.pro
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-05-19 12:44:40 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-19 16:59:11 +0200
commited1d8c3200a230e370098d51373046e14beaf25b (patch)
tree3a562e3f6a26ffea221009adee8d10512604a934 /src/core/core_gyp_generator.pro
parent1d5f63b333b4595ab21cd17b24de9908473a415c (diff)
Use the same switches for both embedded Linux and Android
This also explicitly enables impl-side painting, which is enabled by default on Android, hard-coded behind an #if defined(OS_ANDROID). Change-Id: Iacc6cff82c0f071d1c8901977748d6164fb0a87d Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
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