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