summaryrefslogtreecommitdiffstats
path: root/src/core/config/common.pri
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-02-13 11:00:49 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-02-14 12:34:47 +0000
commita87cf9d74ff1103ae378968d6e94672585fd370b (patch)
treed04611ecd241875c8633fa84ecb07a782e95e83f /src/core/config/common.pri
parentcd475d5727becd6ec4e7605d335721355e049354 (diff)
Disable debug symbols in webcore and v8base
Disable the largest sources of debug symbols like we did with GYP builds. Change-Id: I23f6c88a7929eaabfa477896a332a229872a83f5 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/config/common.pri')
-rw-r--r--src/core/config/common.pri2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/config/common.pri b/src/core/config/common.pri
index 0246a1cf9..1239ae963 100644
--- a/src/core/config/common.pri
+++ b/src/core/config/common.pri
@@ -40,6 +40,8 @@ use?(gn) {
} else {
gn_args += enable_webrtc=false
}
+ !webcore_debug: gn_args += remove_webcore_debug_symbols=true
+ !v8base_debug: gn_args += remove_v8base_debug_symbols=true
# Compiling with -Os makes a huge difference in binary size
contains(WEBENGINE_CONFIG, reduce_binary_size): gn_args += optimize_for_size=true