The check-licenses tool checks for compliance with Fuchsia's open source policy.
For information regarding Fuchsia's OSS policy, see public documentation at https://fuchsia.dev/fuchsia-src/contribute/governance/policy/open-source-licensing-policies or, for Googlers, http://go/fuchsia-oss-policy.
For information on adding new third party code to Fuchsia, see https://fuchsia.dev/fuchsia-src/contribute/governance/policy/osrb-process.
Support:
Run:
$ fx build --host //build/bazel/host:bazel_root_host_tools.check-licenses.host_tool $ fx check-licenses
Test:
$ fx set <PRODUCT>.<BOARD> --with-test //tools:tests $ fx test check-licenses