From 23c652c3c1680f42adfd5c6500280b103ce1d095 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Fri, 29 Jan 2016 13:10:59 +0100 Subject: Disable printing in Chromium MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Disabling printing saves us compiling those files and files off a megabyte on the debug binary. To keep all the configure options in config, the common options are moved to a shared common.pri. Change-Id: Ieffdf9eb7dca58cfdafadd85bd24ea9c2be55ece Reviewed-by: Michael BrĂ¼ning --- src/core/config/common.pri | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/core/config/common.pri (limited to 'src/core/config/common.pri') diff --git a/src/core/config/common.pri b/src/core/config/common.pri new file mode 100644 index 000000000..793e26a61 --- /dev/null +++ b/src/core/config/common.pri @@ -0,0 +1,8 @@ +# Shared configuration for all our supported platforms + +# Trigger Qt-specific build conditions. +GYP_CONFIG += use_qt=1 +# We do not want to ship more external binary blobs, so let v8 embed its startup data. +GYP_CONFIG += v8_use_external_startup_data=0 +# Disable printing since we don't support it yet +GYP_CONFIG += enable_basic_printing=0 enable_print_preview=0 -- cgit v1.2.3