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