summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2023-03-28 08:36:09 +0200
committerMichael BrĂ¼ning <michael.bruning@qt.io>2023-04-18 10:36:25 +0200
commitc228e708678f32ced2efb26b9dfb24a515e8e4f7 (patch)
tree9bef7abd958c8b892cbc2f8917032d7181453e02 /src
parent8f06b3e970f768f6a5776845c83090f1fc8b0162 (diff)
downloadqtwebengine-c228e708678f32ced2efb26b9dfb24a515e8e4f7.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 Pick-to: 6.5 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>
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 1c9761e89..6f6b82221 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -605,3 +605,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
+)