summaryrefslogtreecommitdiffstats
path: root/src/core/config/common.pri
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-01-29 13:10:59 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-01-31 18:54:16 +0000
commit23c652c3c1680f42adfd5c6500280b103ce1d095 (patch)
treead6c31a96c685c37998f76c5f80d812496bb9abd /src/core/config/common.pri
parent52f039fe09d0c0cfd9e988b8b15293a9b5d7583d (diff)
Disable printing in Chromium
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 <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/core/config/common.pri')
-rw-r--r--src/core/config/common.pri8
1 files changed, 8 insertions, 0 deletions
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