diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-04 12:53:06 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-04-05 09:08:33 +0000 |
commit | 6ea5d56ae81bc486a6deaf1bfedaa8bfbf734647 (patch) | |
tree | 37f39751bb033bbc701d3746ffdf486913fc168b /configure.json | |
parent | 2ff36ae0292da8f0f6e05080c7d2405c0d8658c6 (diff) |
Make optimize for size a visible configurable option
Can be enabled with --optimize-for-size and is enabled by default for
embedded builds.
Change-Id: I955fa57804c8b7e80bb82deb83deb94a9e2a7621
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'configure.json')
-rw-r--r-- | configure.json | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.json b/configure.json index ad9fd117c..62b56bbb1 100644 --- a/configure.json +++ b/configure.json @@ -10,6 +10,7 @@ "options": { "alsa": "boolean", "embedded": "boolean", + "optimize-for-size": { "type": "boolean", "name": "optimize_size" }, "ffmpeg": { "type": "enum", "name": "system-ffmpeg", "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" } }, @@ -79,6 +80,11 @@ "purpose": "Enables the embedded build configuration", "output": [ "privateFeature" ] }, + "optimize_size": { + "label": "Optimize for size", + "autoDetect": "tests.embedded", + "output": [ "privateFeature" ] + }, "alsa": { "label": "ALSA", "condition": "config.unix && libs.alsa", @@ -156,6 +162,7 @@ "section": "Qt WebEngine", "entries": [ "embedded", + "optimize_size", "pepper-plugins", "printing-and-pdf", "proprietary-codecs", |