summaryrefslogtreecommitdiffstats
path: root/src/core/config/common.pri
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/config/common.pri')
-rw-r--r--src/core/config/common.pri3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/config/common.pri b/src/core/config/common.pri
index 7307c4a4..0246a1cf 100644
--- a/src/core/config/common.pri
+++ b/src/core/config/common.pri
@@ -41,6 +41,9 @@ use?(gn) {
gn_args += enable_webrtc=false
}
+ # Compiling with -Os makes a huge difference in binary size
+ contains(WEBENGINE_CONFIG, reduce_binary_size): gn_args += optimize_for_size=true
+
} else {
# Trigger Qt-specific build conditions.
GYP_CONFIG += use_qt=1