fuchsia_licenses_preprocess

Preprocess a license SPDX file.

ATTRIBUTES

Name Description Type Mandatory Default
name A unique name for this target. Name required -
input The input licenses.spdx.json file Label required -
output The output licenses.spdx.json file String required -
license_id The name of the license ID in the SPDX file. String optional ""
spdx_id The ID of the SPDX package in the SPDX file. String optional ""
project_name The name of the SPDX package in the SPDX file. String optional ""
cut_after The string pattern where the license text should be cut. String optional ""
cut_entirely Flag instructing whether the entire license with ID 'license_id' should be removed. Boolean optional False
exit_on_failure Whether or not to fail the build if the given
license_id or pattern is not found in the given SPDX file.
Boolean optional False