add_electron_deps_to_license_credits_file.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
  2. From: Charles Kerr <[email protected]>
  3. Date: Tue, 9 Aug 2022 12:35:36 -0500
  4. Subject: add electron deps to license credits file
  5. Ensure that licenses for the dependencies introduced by Electron
  6. are included in `LICENSES.chromium.html`
  7. diff --git a/tools/licenses/licenses.py b/tools/licenses/licenses.py
  8. index c728df1b5421b749af10a076fdbd8ffe691114b9..51c538ad91482f2b164016e2de8946aba2bb6ac9 100755
  9. --- a/tools/licenses/licenses.py
  10. +++ b/tools/licenses/licenses.py
  11. @@ -424,6 +424,31 @@ SPECIAL_CASES = {
  12. "License": "Apache 2.0",
  13. "License File": ["/third_party/selenium-atoms/LICENSE.closure"],
  14. },
  15. + os.path.join('third_party', 'electron_node'): {
  16. + "Name": "Node.js",
  17. + "URL": "https://github.com/nodejs/node",
  18. + "License": "MIT",
  19. + "License File": ["/third_party/electron_node/LICENSE"],
  20. + },
  21. + os.path.join('third_party', 'squirrel.mac'): {
  22. + "Name": "Squirrel",
  23. + "URL": "https://github.com/Squirrel/Squirrel.Mac",
  24. + "License": "MIT",
  25. + "License File": ["/third_party/squirrel.mac/LICENSE"],
  26. + },
  27. + os.path.join('third_party', 'squirrel.mac', 'vendor', 'mantle'): {
  28. + "Name": "Mantle",
  29. + "URL": "https://github.com/Mantle/Mantle",
  30. + "License": "MIT",
  31. + "License File": "/third_party/squirrel.mac/vendor/mantle/LICENSE.md",
  32. + },
  33. + os.path.join('third_party', 'squirrel.mac', 'vendor', 'ReactiveObjC'): {
  34. + "Name": "ReactiveObjC",
  35. + "URL": "https://github.com/ReactiveCocoa/ReactiveObjC",
  36. + "License": "MIT",
  37. + "License File":
  38. + ["/third_party/squirrel.mac/vendor/ReactiveObjC/LICENSE.md"],
  39. + },
  40. }
  41. # The delimiter used to separate license files specified in the 'License File'