Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 963989e

Browse files
committed
update license
1 parent b9a31eb commit 963989e

File tree

9 files changed

+71
-3
lines changed

9 files changed

+71
-3
lines changed

ci/licenses.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function verify_licenses() (
149149

150150
local actualLicenseCount
151151
actualLicenseCount="$(tail -n 1 flutter/ci/licenses_golden/licenses_flutter | tr -dc '0-9')"
152-
local expectedLicenseCount=19 # When changing this number: Update the error message below as well describing the newly expected license types.
152+
local expectedLicenseCount=20 # When changing this number: Update the error message below as well describing the newly expected license types.
153153

154154
if [[ $actualLicenseCount -ne $expectedLicenseCount ]]; then
155155
echo "=============================== ERROR ==============================="

ci/licenses_golden/excluded_files

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@
384384
../../../flutter/third_party/accessibility/gfx/test
385385
../../../flutter/third_party/gn
386386
../../../flutter/third_party/ninja
387+
../../../flutter/third_party/spring_animation/README.md
387388
../../../flutter/third_party/test_shaders
388389
../../../flutter/third_party/tonic/.clang-format
389390
../../../flutter/third_party/tonic/AUTHORS

ci/licenses_golden/licenses_flutter

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,33 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
712712
SOFTWARE.
713713
====================================================================================================
714714

715+
====================================================================================================
716+
LIBRARY: spring_animation
717+
ORIGIN: ../../../flutter/third_party/spring_animation/Libraries/Animated/animations/SpringAnimation.js + ../../../flutter/third_party/spring_animation/LICENSE
718+
TYPE: LicenseType.mit
719+
FILE: ../../../flutter/third_party/spring_animation/Libraries/Animated/animations/SpringAnimation.js
720+
----------------------------------------------------------------------------------------------------
721+
Copyright (c) Meta Platforms, Inc. and affiliates.
722+
723+
Permission is hereby granted, free of charge, to any person obtaining a copy
724+
of this software and associated documentation files (the "Software"), to deal
725+
in the Software without restriction, including without limitation the rights
726+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
727+
copies of the Software, and to permit persons to whom the Software is
728+
furnished to do so, subject to the following conditions:
729+
730+
The above copyright notice and this permission notice shall be included in all
731+
copies or substantial portions of the Software.
732+
733+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
734+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
735+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
736+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
737+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
738+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
739+
SOFTWARE.
740+
====================================================================================================
741+
715742
====================================================================================================
716743
LIBRARY: accessibility
717744
ORIGIN: ../../../flutter/third_party/accessibility/ax/ax_export.h + ../../../flutter/third_party/accessibility/LICENSE
@@ -6378,4 +6405,4 @@ use or other dealings in these Data Files or Software without prior
63786405
written authorization of the copyright holder.
63796406
====================================================================================================
63806407

6381-
Total license count: 19
6408+
Total license count: 20

ci/licenses_golden/tool_signature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Signature: 3178ef16b4b2174991a8ce7cee53c769
1+
Signature: 48ebb8e82993ad36a6f8d16f03300065
22

sky/packages/sky_engine/LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23719,6 +23719,28 @@ Copyright (c) IBM Corporation, 2000-2016. All rights reserved.
2371923719
This software is made available under the terms of the
2372023720
ICU License -- ICU 1.8.1 and later.
2372123721
--------------------------------------------------------------------------------
23722+
spring_animation
23723+
23724+
Copyright (c) Meta Platforms, Inc. and affiliates.
23725+
23726+
Permission is hereby granted, free of charge, to any person obtaining a copy
23727+
of this software and associated documentation files (the "Software"), to deal
23728+
in the Software without restriction, including without limitation the rights
23729+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
23730+
copies of the Software, and to permit persons to whom the Software is
23731+
furnished to do so, subject to the following conditions:
23732+
23733+
The above copyright notice and this permission notice shall be included in all
23734+
copies or substantial portions of the Software.
23735+
23736+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23737+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23738+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23739+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23740+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23741+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23742+
SOFTWARE.
23743+
--------------------------------------------------------------------------------
2372223744
harfbuzz
2372323745

2372423746
Copyright (c) Microsoft Corporation.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# spring_animation
2+
3+
This is directly derived from
4+
[Libraries/Animated/animations/SpringAnimation.js](https://github.com/facebook/react-native/blob/494c47360f62761176033a4da359f43b53c2182f/Libraries/Animated/animations/SpringAnimation.js)
5+
as of 2023-01-10, a part of the React Native library.

tools/licenses/lib/patterns.dart

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,19 @@ final List<LicenseFileReferencePattern> csReferencesByFilename = <LicenseFileRef
490490
)
491491
),
492492

493+
// Seen in React Native files
494+
LicenseFileReferencePattern(
495+
firstPrefixIndex: 1,
496+
indentPrefixIndex: 2,
497+
fileIndex: 3,
498+
pattern: RegExp(
499+
kIndent +
500+
r'This source code is licensed under the MIT license found in the '
501+
r'(LICENSE) file in the root directory of this source tree.'
502+
.replaceAll(' ', _linebreak),
503+
multiLine: true,
504+
)
505+
),
493506
];
494507

495508

0 commit comments

Comments
 (0)