mirror of https://github.com/electron/electron
45 lines
1.8 KiB
Diff
45 lines
1.8 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Charles Kerr <charles@charleskerr.com>
|
|
Date: Tue, 9 Aug 2022 12:35:36 -0500
|
|
Subject: add electron deps to license credits file
|
|
|
|
Ensure that licenses for the dependencies introduced by Electron
|
|
are included in `LICENSES.chromium.html`
|
|
|
|
diff --git a/tools/licenses/licenses.py b/tools/licenses/licenses.py
|
|
index f3a8ba3756a19beb286a3f7bba52399705bf59bf..7cf72db56d3bc71cf6fb2b3f88a80e7866db1598 100755
|
|
--- a/tools/licenses/licenses.py
|
|
+++ b/tools/licenses/licenses.py
|
|
@@ -336,6 +336,31 @@ SPECIAL_CASES = {
|
|
"License": "Apache 2.0",
|
|
"License File": ["//third_party/dawn/third_party/khronos/LICENSE"],
|
|
},
|
|
+ os.path.join('third_party', 'electron_node'): {
|
|
+ "Name": "Node.js",
|
|
+ "URL": "https://github.com/nodejs/node",
|
|
+ "License": "MIT",
|
|
+ "License File": ["/third_party/electron_node/LICENSE"],
|
|
+ },
|
|
+ os.path.join('third_party', 'squirrel.mac'): {
|
|
+ "Name": "Squirrel",
|
|
+ "URL": "https://github.com/Squirrel/Squirrel.Mac",
|
|
+ "License": "MIT",
|
|
+ "License File": ["/third_party/squirrel.mac/LICENSE"],
|
|
+ },
|
|
+ os.path.join('third_party', 'squirrel.mac', 'vendor', 'mantle'): {
|
|
+ "Name": "Mantle",
|
|
+ "URL": "https://github.com/Mantle/Mantle",
|
|
+ "License": "MIT",
|
|
+ "License File": "/third_party/squirrel.mac/vendor/mantle/LICENSE.md",
|
|
+ },
|
|
+ os.path.join('third_party', 'squirrel.mac', 'vendor', 'ReactiveObjC'): {
|
|
+ "Name": "ReactiveObjC",
|
|
+ "URL": "https://github.com/ReactiveCocoa/ReactiveObjC",
|
|
+ "License": "MIT",
|
|
+ "License File":
|
|
+ ["/third_party/squirrel.mac/vendor/ReactiveObjC/LICENSE.md"],
|
|
+ },
|
|
}
|
|
|
|
# These buildtools/third_party directories only contain
|