summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Rogers <jrogers@blackberry.com>2014-05-13 12:58:03 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-16 13:26:00 +0200
commit05395aa55978ab4cd46916c63f032adf3a1c1587 (patch)
treeecadb73b45964dd51bd63e25297df2caeca530b0
parent6da672bb374be369c9bf165deb2b1561e6dd99dd (diff)
Add initial build configuration for QNX.
QNX is using Ozone, so exclude gl_context_ozone as well. Change-Id: Icdad9eed3211e9b095fbf884bc5e0243b551c1bb Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Reviewed-by: Arvid Nilsson <anilsson@blackberry.com>
-rw-r--r--src/core/config/embedded_qnx.gypi9
-rw-r--r--src/core/config/embedded_qnx.pri9
-rw-r--r--src/core/gyp_run.pro1
3 files changed, 19 insertions, 0 deletions
diff --git a/src/core/config/embedded_qnx.gypi b/src/core/config/embedded_qnx.gypi
new file mode 100644
index 00000000..f192243c
--- /dev/null
+++ b/src/core/config/embedded_qnx.gypi
@@ -0,0 +1,9 @@
+{
+ 'target_defaults': {
+ # patterns used to exclude chromium files from the build when we have a drop-in replacement
+ 'sources/': [
+ # We are using gl_context_qt.cc instead.
+ ['exclude', 'gl_context_ozone.cc$'],
+ ],
+ },
+}
diff --git a/src/core/config/embedded_qnx.pri b/src/core/config/embedded_qnx.pri
new file mode 100644
index 00000000..7fd35c97
--- /dev/null
+++ b/src/core/config/embedded_qnx.pri
@@ -0,0 +1,9 @@
+GYP_ARGS += "-D qt_os=\"embedded_qnx\" -I config/embedded_qnx.gypi"
+
+GYP_CONFIG += \
+ disable_nacl=1 \
+ enable_plugins=0 \
+ enable_webrtc=0 \
+ use_ash=0 \
+ use_aura=1 \
+ use_ozone=1 \
diff --git a/src/core/gyp_run.pro b/src/core/gyp_run.pro
index 925a30d2..aec004e5 100644
--- a/src/core/gyp_run.pro
+++ b/src/core/gyp_run.pro
@@ -8,6 +8,7 @@ cross_compile {
GYP_ARGS = "-D qt_cross_compile=1"
posix: GYP_ARGS += "-D os_posix=1"
android: include(config/embedded_android.pri)
+ qnx: include(config/embedded_qnx.pri)
else:linux: include(config/embedded_linux.pri)
} else {
# !cross_compile