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