tree: f5f13551c99b756fdd190f579e6c7480b7f81b93 [path history] [tgz]
  1. cmd/
  2. config/
  3. golden/
  4. noticetxt/
  5. templates/
  6. testdata/
  7. BUILD.gn
  8. chromium.go
  9. config.go
  10. config_test.go
  11. empty.gz
  12. file.go
  13. file_test.go
  14. file_tree.go
  15. file_tree_test.go
  16. flutter.go
  17. gn.go
  18. gn_test.go
  19. license.go
  20. license_data.gni
  21. license_data.sh
  22. license_test.go
  23. licenses.go
  24. licenses_test.go
  25. match.go
  26. metrics.go
  27. metrics_test.go
  28. OWNERS
  29. project.go
  30. README.md
  31. template.go
  32. template_test.go
  33. traverse.go
  34. traverse_test.go
  35. util.go
tools/check-licenses/README.md

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:

  • For policy issues, e.g. regarding compliance, reach out to the contacts listed in the OSS policy docs. Please do not contact the tool owners for legal support.
  • For help resolving common check-licenses errors, see http://go/fuchsia-licenses-playbook.
  • For technical issues with the check-licenses tool, see the OWNERS file.

Run:

$ fx build tools/check-licenses:host
$ fx check-licenses

Test:

$ fx set <PRODUCT>.<BOARD> --with //tools/check-licenses:tests
$ fx test check-licenses