eng: Add conditional build dependencies

Update #3715.
This commit is contained in:
Sebastian Huber 2021-09-24 15:01:50 +02:00
parent 5928d04c84
commit c81a24418a

View File

@ -3037,6 +3037,20 @@ This type is used by the following types:
* :ref:`SpecTypeBuildTestProgramItemType`
.. _SpecTypeBuildDependencyConditionalLinkRole:
Build Dependency Conditional Link Role
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This type refines the :ref:`SpecTypeLink` through the ``role`` attribute if the
value is ``build-dependency-conditional``. It defines the build dependency
conditional role of links. All explicit attributes shall be specified. The
explicit attributes for this type are:
enabled-by
The attribute value shall be an :ref:`SpecTypeEnabledByExpression`. It
shall define under which conditions the build dependency is enabled.
.. _SpecTypeBuildDependencyLinkRole:
Build Dependency Link Role
@ -3681,6 +3695,8 @@ This type is used by the following types:
* :ref:`SpecTypeActionRequirementTransition`
* :ref:`SpecTypeBuildDependencyConditionalLinkRole`
* :ref:`SpecTypeBuildOptionDefaultValue`
* :ref:`SpecTypeEnabledByExpression`
@ -4507,6 +4523,8 @@ This type is refined by the following types:
* :ref:`SpecTypeApplicationConfigurationGroupMemberLinkRole`
* :ref:`SpecTypeBuildDependencyConditionalLinkRole`
* :ref:`SpecTypeBuildDependencyLinkRole`
* :ref:`SpecTypeConstraintLinkRole`