summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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