summaryrefslogtreecommitdiffstats
path: root/src/core/config/embedded_linux.pri
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-02-16 16:03:30 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-02-16 15:51:02 +0000
commitf3aaa7531e7b429d958e7002e642f4b59568ff74 (patch)
treedcf7ffc3b5771009d169cb3ed7025350caa96974 /src/core/config/embedded_linux.pri
parent3abab86a7dc3116eaabff7c32a3dff3de50e58b6 (diff)
Reduce size of embedded binaries
Adds a WEBENGINE_CONFIG option that greatly reduces the size of the core library (from 80Mbyte to 45Mbyte on Linux), and enable it on embedded linux by default. Change-Id: Ieb7afdbc160984fe5952be16dfbc96aa8c5f35ef Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/core/config/embedded_linux.pri')
-rw-r--r--src/core/config/embedded_linux.pri2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/config/embedded_linux.pri b/src/core/config/embedded_linux.pri
index 7cabf52ac..3a58e0e4b 100644
--- a/src/core/config/embedded_linux.pri
+++ b/src/core/config/embedded_linux.pri
@@ -39,3 +39,5 @@ GYP_CONFIG += \
use_x11=0 \
v8_use_snapshot=false \
want_separate_host_toolset=1 \
+
+WEBENGINE_CONFIG *= reduce_binary_size