Skip to content

Commit 49d4da1

Browse files
author
Allan Sandfeld Jensen
committed
Make enabling full debug information easier
Avoids asking customers to edit source files or add CONFIG to qmake on the command line to enable full debug information. Change-Id: Id58388565df88442e74e02687eb3189136e998f3 Reviewed-by: Alexandru Croitor <[email protected]>
1 parent 2a0677e commit 49d4da1

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/core/configure.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"options": {
1212
"webengine-alsa": "boolean",
1313
"webengine-embedded-build": "boolean",
14+
"webengine-full-debug-info": "boolean",
1415
"webengine-icu": { "type": "enum", "name": "webengine-system-icu", "values": { "system": "yes", "qt": "no" } },
1516
"webengine-ffmpeg": { "type": "enum", "name": "webengine-system-ffmpeg", "values": { "system": "yes", "qt": "no" } },
1617
"webengine-opus": { "type": "enum", "name": "webengine-system-opus", "values": { "system": "yes", "qt": "no" } },
@@ -675,6 +676,16 @@
675676
"condition": "config.linux && features.webengine-embedded-build && arch.arm && tests.webengine-arm-thumb",
676677
"output": [ "privateFeature" ]
677678
},
679+
"webengine-full-debug-info": {
680+
"label": "Full debug information",
681+
"purpose": "Enables debug information for Blink and V8.",
682+
"autoDetect": false,
683+
"condition": "config.debug || features.debug_and_release || features.force_debug_info",
684+
"output": [
685+
{ "type": "privateConfig", "name": "v8base_debug" },
686+
{ "type": "privateConfig", "name": "webcore_debug" }
687+
]
688+
},
678689
"webengine-noexecstack": {
679690
"label": "linker supports -z noexecstack",
680691
"condition": "config.unix && tests.webengine-noexecstack",
@@ -730,6 +741,7 @@
730741
"section": "Qt WebEngine",
731742
"entries": [
732743
"webengine-embedded-build",
744+
"webengine-full-debug-info",
733745
"webengine-pepper-plugins",
734746
"webengine-printing-and-pdf",
735747
"webengine-proprietary-codecs",

0 commit comments

Comments
 (0)