summaryrefslogtreecommitdiffstats
path: root/src/core/config/common.pri
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-01-26 14:03:37 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-01-31 11:02:06 +0000
commit86a632879e9f2739516dbfd00799ded98e56c6de (patch)
treeaf1bcce831fb5e07fcc7568a2bbd5d791738168d /src/core/config/common.pri
parent20dccb84e3518561d32237fee4ad11500c9bbe0f (diff)
Make WebRTC support configurable
WebRTC is a big feature that Chromium has left configurable for a long time, we can forward that configurability to our users to allow them control it directly instead of just enabling it on desktop and disabling it on embedded. Change-Id: I4445e2189112205ddf1368bd5e197bab2df92092 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/config/common.pri')
-rw-r--r--src/core/config/common.pri9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/config/common.pri b/src/core/config/common.pri
index 7cdf34623..7307c4a46 100644
--- a/src/core/config/common.pri
+++ b/src/core/config/common.pri
@@ -35,6 +35,12 @@ use?(gn) {
gn_args += enable_spellcheck=false
}
+ use?(webrtc) {
+ gn_args += enable_webrtc=true
+ } else {
+ gn_args += enable_webrtc=false
+ }
+
} else {
# Trigger Qt-specific build conditions.
GYP_CONFIG += use_qt=1
@@ -68,3 +74,6 @@ use?(gn) {
GYP_CONFIG += enable_plugins=0 enable_widevine=0
}
}
+
+use?(webrtc): GYP_CONFIG += enable_webrtc=1
+else: GYP_CONFIG += enable_webrtc=0