Commit ce5d960a authored by Allan Sandfeld Jensen's avatar Allan Sandfeld Jensen
Browse files

Use qtbase optimize_size configure option


The optimize-size configure option got landed generally in qtbase, so
respond to that instead of doing our own.

Change-Id: I8bfcf494a6f0d599bf375ae4ea73ce86ee02216b
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: default avatarKai Koehne <kai.koehne@qt.io>
Showing with 3 additions and 8 deletions
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
"options": { "options": {
"alsa": "boolean", "alsa": "boolean",
"embedded": "boolean", "embedded": "boolean",
"optimize-for-size": { "type": "boolean", "name": "optimize_size" },
"ffmpeg": { "type": "enum", "name": "system-ffmpeg", "values": { "system": "yes", "qt": "no" } }, "ffmpeg": { "type": "enum", "name": "system-ffmpeg", "values": { "system": "yes", "qt": "no" } },
"opus": { "type": "enum", "name": "system-opus", "values": { "system": "yes", "qt": "no" } }, "opus": { "type": "enum", "name": "system-opus", "values": { "system": "yes", "qt": "no" } },
"webp": { "type": "enum", "name": "system-webp", "values": { "system": "yes", "qt": "no" } }, "webp": { "type": "enum", "name": "system-webp", "values": { "system": "yes", "qt": "no" } },
...@@ -90,11 +89,6 @@ ...@@ -90,11 +89,6 @@
"purpose": "Enables the embedded build configuration", "purpose": "Enables the embedded build configuration",
"output": [ "privateFeature" ] "output": [ "privateFeature" ]
}, },
"optimize_size": {
"label": "Optimize for size",
"autoDetect": "tests.embedded",
"output": [ "privateFeature" ]
},
"alsa": { "alsa": {
"label": "ALSA", "label": "ALSA",
"condition": "config.unix && libs.alsa", "condition": "config.unix && libs.alsa",
...@@ -180,7 +174,6 @@ ...@@ -180,7 +174,6 @@
"section": "Qt WebEngine", "section": "Qt WebEngine",
"entries": [ "entries": [
"embedded", "embedded",
"optimize_size",
"pepper-plugins", "pepper-plugins",
"printing-and-pdf", "printing-and-pdf",
"proprietary-codecs", "proprietary-codecs",
......
...@@ -30,7 +30,6 @@ defineTest(runConfigure) { ...@@ -30,7 +30,6 @@ defineTest(runConfigure) {
qtConfig(spellchecker): WEBENGINE_CONFIG += use_spellchecker qtConfig(spellchecker): WEBENGINE_CONFIG += use_spellchecker
qtConfig(webrtc): WEBENGINE_CONFIG += use_webrtc qtConfig(webrtc): WEBENGINE_CONFIG += use_webrtc
qtConfig(embedded): WEBENGINE_CONFIG += embedded_build qtConfig(embedded): WEBENGINE_CONFIG += embedded_build
qtConfig(optimize_size): WEBENGINE_CONFIG += reduce_binary_size
qtConfig(system-webp): WEBENGINE_CONFIG += use_system_libwebp qtConfig(system-webp): WEBENGINE_CONFIG += use_system_libwebp
else: WEBENGINE_CONFIG += use_bundled_libwebp else: WEBENGINE_CONFIG += use_bundled_libwebp
qtConfig(system-opus): WEBENGINE_CONFIG += use_system_opus qtConfig(system-opus): WEBENGINE_CONFIG += use_system_opus
...@@ -42,6 +41,9 @@ defineTest(runConfigure) { ...@@ -42,6 +41,9 @@ defineTest(runConfigure) {
} }
isQtMinimum(5, 9) { isQtMinimum(5, 9) {
qtConfig(appstore-compliant): WEBENGINE_CONFIG += use_appstore_compliant_code qtConfig(appstore-compliant): WEBENGINE_CONFIG += use_appstore_compliant_code
optimize_size: WEBENGINE_CONFIG += reduce_binary_size
} else {
qtConfig(embedded): WEBENGINE_CONFIG += reduce_binary_size
} }
linux { linux {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment