CMake: Annotate some targets with SBOM information

Pick-to: 6.8
Task-number: QTBUG-122899
Change-Id: I32c1489bbb3e3a48377f6aef94e4cd639257c9a1
Reviewed-by: Lucie Gerard <lucie.gerard@qt.io>
This commit is contained in:
Alexandru Croitor 2024-06-17 16:04:47 +02:00
parent fd42445f06
commit 18355d9d37
13 changed files with 36 additions and 0 deletions

View File

@ -5,6 +5,8 @@
# special case begin
qt_find_package(WaylandScanner PROVIDED_TARGETS Wayland::Scanner)
set(QT_SBOM_DEFAULT_QT_LICENSE_ID_LIBRARIES "QT_COMMERCIAL_OR_GPL3")
set(wayland_libs
Wayland::Client
Wayland::Server

View File

@ -78,6 +78,19 @@ qt_internal_add_module(WaylandClient
Qt::WaylandGlobalPrivate
PRIVATE_HEADER_FILTERS
"^qwayland-.*\.h|^wayland-.*-protocol\.h"
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
ATTRIBUTION_FILE_DIR_PATHS
../3rdparty/protocol/pointer-gestures
../3rdparty/protocol/tablet
../3rdparty/protocol/text-input/v1
../3rdparty/protocol/text-input/v2
../3rdparty/protocol/text-input/v3
../3rdparty/protocol/wayland
../3rdparty/protocol/wp-primary-selection
../3rdparty/protocol/xdg-output
../3rdparty/protocol/fractional-scale
../3rdparty/protocol/viewporter
../3rdparty/protocol/xdg-shell
)
qt6_generate_wayland_protocol_client_sources(WaylandClient

View File

@ -17,6 +17,7 @@ qt_internal_add_plugin(QWaylandBradientDecorationPlugin
Qt::Gui
Qt::WaylandClientPrivate
Wayland::Client
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
)
#### Keys ignored in scope 1:.:.:bradient.pro:<TRUE>:

View File

@ -24,6 +24,7 @@ qt_internal_add_plugin(QWaylandBrcmEglClientBufferPlugin
Qt::Gui
Qt::WaylandClientPrivate
Wayland::Client
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
)
qt6_generate_wayland_protocol_client_sources(QWaylandBrcmEglClientBufferPlugin

View File

@ -22,6 +22,7 @@ qt_internal_add_plugin(DmaBufServerBufferPlugin
Qt::OpenGL
Qt::WaylandClientPrivate
Wayland::Client
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
)
qt6_generate_wayland_protocol_client_sources(DmaBufServerBufferPlugin

View File

@ -22,6 +22,7 @@ qt_internal_add_plugin(DrmEglServerBufferPlugin
Qt::OpenGL
Qt::WaylandClientPrivate
Wayland::Client
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
)
qt6_generate_wayland_protocol_client_sources(DrmEglServerBufferPlugin

View File

@ -21,6 +21,7 @@ qt_internal_add_plugin(LibHybrisEglServerBufferPlugin
Qt::Gui
Qt::WaylandClientPrivate
Wayland::Client
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
)
qt6_generate_wayland_protocol_client_sources(LibHybrisEglServerBufferPlugin

View File

@ -21,6 +21,7 @@ qt_internal_add_plugin(ShmServerBufferPlugin
Qt::OpenGL
Qt::WaylandClientPrivate
Wayland::Client
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
)
qt6_generate_wayland_protocol_client_sources(ShmServerBufferPlugin

View File

@ -21,6 +21,7 @@ qt_internal_add_plugin(VulkanServerBufferPlugin
Qt::OpenGL
Qt::WaylandClientPrivate
Wayland::Client
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
)
qt6_generate_wayland_protocol_client_sources(VulkanServerBufferPlugin

View File

@ -18,6 +18,7 @@ qt_internal_add_plugin(QWaylandEglClientBufferPlugin
Qt::Gui
Qt::WaylandClientPrivate
Qt::WaylandEglClientHwIntegrationPrivate
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
)
#### Keys ignored in scope 1:.:.:wayland-egl.pro:<TRUE>:

View File

@ -20,6 +20,9 @@ qt_internal_add_plugin(QWaylandFullScreenShellV1IntegrationPlugin
Qt::GuiPrivate
Qt::WaylandClientPrivate
Wayland::Client
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
ATTRIBUTION_FILE_DIR_PATHS
../../../3rdparty/protocol/fullscreen-shell
)
qt6_generate_wayland_protocol_client_sources(QWaylandFullScreenShellV1IntegrationPlugin

View File

@ -20,6 +20,9 @@ qt_internal_add_module(WlShellIntegrationPrivate
PRIVATE_HEADER_FILTERS
"^qwayland-.*\.h|^wayland-.*-protocol\.h"
NO_GENERATE_CPP_EXPORTS
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
ATTRIBUTION_FILE_DIR_PATHS
../../../3rdparty/protocol/wayland
)
qt6_generate_wayland_protocol_client_sources(WlShellIntegrationPrivate

View File

@ -24,6 +24,13 @@ qt_internal_add_plugin(QWaylandXdgShellIntegrationPlugin
Qt::GuiPrivate
Qt::WaylandClientPrivate
Wayland::Client
QT_LICENSE_ID QT_COMMERCIAL_OR_LGPL3
ATTRIBUTION_FILE_DIR_PATHS
../../../3rdparty/protocol/xdg-decoration
../../../3rdparty/protocol/xdg-shell
../../../3rdparty/protocol/xdg-activation
../../../3rdparty/protocol/xdg-foreign
../../../3rdparty/protocol/xdg-dialog
)
qt6_generate_wayland_protocol_client_sources(QWaylandXdgShellIntegrationPlugin