summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2023-03-28 08:36:09 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-05-15 13:14:53 +0000
commitd103445039bcb0881f1e752aca62fcf79f3f196b (patch)
tree4dd496f93be6c34e0f8d62648a8467de12aa1ab0 /src
parentf1cf7b1e4f54b52aa9f907629a5b6c82c13349ea (diff)
downloadqtwebengine-d103445039bcb0881f1e752aca62fcf79f3f196b.tar.gz
Add update-chromium target and unify 'Update Chromium' commits
To save some typing when doing 3rdparty udpate introduce 'update-chromium' target, which creates commit with nicely formated commit message with shas, it can be used for example with following steps: * qtwebengine repo is at the origin HEAD with nothing stagged * there are some new commits in 3rdparty * code compiles and there are no issues * make update commit by typing in <build_dir> * ninja update-chromium or * cmake --build . --target update-chromium * push the commit You can also create the commit from <source_dir> with: cmake -P cmake/SubmoduleUpdate.cmake Change-Id: Ia6b051cd2df0646707c2cc88175245841728794f Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Yigit Akcay <yigit.akcay@qt.io> (cherry picked from commit c228e708678f32ced2efb26b9dfb24a515e8e4f7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r--src/core/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 1adcf50b3..6450d37e8 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -593,3 +593,11 @@ if(QT_FEATURE_webengine_spellchecker AND NOT CMAKE_CROSSCOMPILING)
add_dependencies(${dict_target_name} WebEngineCore)
endif()
+##
+# CHROMIUM UPDATE
+##
+
+add_custom_target(update-chromium
+ COMMAND ${CMAKE_COMMAND} -P ${WEBENGINE_ROOT_SOURCE_DIR}/cmake/SubmoduleUpdate.cmake
+ DEPENDS ${WEBENGINE_ROOT_SOURCE_DIR}/cmake/SubmoduleUpdate.cmake
+)