summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/api/CMakeLists.txt13
-rw-r--r--src/core/doc/about_credits.tmpl (renamed from tools/about_credits.tmpl)0
-rw-r--r--src/core/doc/about_credits_entry.tmpl (renamed from tools/about_credits_entry.tmpl)0
3 files changed, 13 insertions, 0 deletions
diff --git a/src/core/api/CMakeLists.txt b/src/core/api/CMakeLists.txt
index dd667df76..c74ac84ee 100644
--- a/src/core/api/CMakeLists.txt
+++ b/src/core/api/CMakeLists.txt
@@ -78,6 +78,19 @@ qt_internal_add_docs(WebEngineCore
../doc/qtwebengine.qdocconf
)
+add_custom_command(
+ OUTPUT chromium_attributions.qdoc
+ COMMAND ${Python2_EXECUTABLE} chromium/tools/licenses.py
+ --file-template ../core/doc/about_credits.tmpl
+ --entry-template ../core/doc/about_credits_entry.tmpl
+ credits ${CMAKE_CURRENT_BINARY_DIR}/chromium_attributions.qdoc
+ DEPENDS ../doc/about_credits.tmpl ../doc/about_credits_entry.tmpl
+ WORKING_DIRECTORY ${WEBENGINE_ROOT_SOURCE_DIR}/src/3rdparty
+ USES_TERMINAL
+)
+add_custom_target(generate_chromium_attributions DEPENDS chromium_attributions.qdoc)
+add_dependencies(generate_docs_WebEngineCore generate_chromium_attributions)
+
##
# WEBENGINECORE RESOURCES
##
diff --git a/tools/about_credits.tmpl b/src/core/doc/about_credits.tmpl
index 57fae9e78..57fae9e78 100644
--- a/tools/about_credits.tmpl
+++ b/src/core/doc/about_credits.tmpl
diff --git a/tools/about_credits_entry.tmpl b/src/core/doc/about_credits_entry.tmpl
index 2bb9cff4e..2bb9cff4e 100644
--- a/tools/about_credits_entry.tmpl
+++ b/src/core/doc/about_credits_entry.tmpl