diff options
Diffstat (limited to 'src/webengine/webengine.pro')
-rw-r--r-- | src/webengine/webengine.pro | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/webengine/webengine.pro b/src/webengine/webengine.pro index e84188682..6b2285c85 100644 --- a/src/webengine/webengine.pro +++ b/src/webengine/webengine.pro @@ -65,4 +65,22 @@ isQMLTestSupportApiEnabled() { DEFINES += ENABLE_SPELLCHECK } +!build_pass { + chromium_attributions.commands = \ + cd $$shell_quote($$shell_path($$PWD/../3rdparty)) && \ + python chromium/tools/licenses.py \ + --file-template ../../tools/about_credits.tmpl \ + --entry-template ../../tools/about_credits_entry.tmpl credits \ + > $$shell_quote($$shell_path($$OUT_PWD/chromium_attributions.qdoc)) + chromium_attributions.CONFIG += phony + + QMAKE_EXTRA_TARGETS += chromium_attributions + + prepare_docs { + prepare_docs.depends += chromium_attributions + } else { + html_docs.depends += chromium_attributions + } +} + load(qt_module) |