Migrate inja, sqlite, libtess2 to //flutter/third_party. (flutter/engine#47408)

Part of https://github.com/flutter/flutter/issues/67373
This commit is contained in:
Chinmay Garde
2023-10-30 09:00:38 -07:00
committed by GitHub
parent 67dc900feb
commit cd82ec8461
11 changed files with 359 additions and 61 deletions

6
DEPS
View File

@@ -610,13 +610,13 @@ deps = {
'src/third_party/zlib':
Var('chromium_git') + '/chromium/src/third_party/zlib.git' + '@' + Var('dart_zlib_rev'),
'src/third_party/inja':
'src/flutter/third_party/inja':
Var('flutter_git') + '/third_party/inja' + '@' + '88bd6112575a80d004e551c98cf956f88ff4d445',
'src/third_party/libtess2':
'src/flutter/third_party/libtess2':
Var('flutter_git') + '/third_party/libtess2' + '@' + '725e5e08ec8751477565f1d603fd7eb9058c277c',
'src/third_party/sqlite':
'src/flutter/third_party/sqlite':
Var('flutter_git') + '/third_party/sqlite' + '@' + '0f61bd2023ba94423b4e4c8cfb1a23de1fe6a21c',
'src/third_party/pyyaml':

View File

@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_root = "//third_party/inja"
source_root = "//flutter/third_party/inja"
config("inja_public_config") {
include_dirs = [ "$source_root/include" ]

View File

@@ -2,28 +2,30 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("libtess2") {
public = [ "//third_party/libtess2/Include/tesselator.h" ]
source_root = "//flutter/third_party/libtess2"
include_dirs = [ "//third_party/libtess2/Include/" ]
source_set("libtess2") {
public = [ "$source_root/Include/tesselator.h" ]
include_dirs = [ "$source_root/Include/" ]
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
sources = [
"//third_party/libtess2/Source/bucketalloc.c",
"//third_party/libtess2/Source/bucketalloc.h",
"//third_party/libtess2/Source/dict.c",
"//third_party/libtess2/Source/dict.h",
"//third_party/libtess2/Source/geom.c",
"//third_party/libtess2/Source/geom.h",
"//third_party/libtess2/Source/mesh.c",
"//third_party/libtess2/Source/mesh.h",
"//third_party/libtess2/Source/priorityq.c",
"//third_party/libtess2/Source/priorityq.h",
"//third_party/libtess2/Source/sweep.c",
"//third_party/libtess2/Source/sweep.h",
"//third_party/libtess2/Source/tess.c",
"//third_party/libtess2/Source/tess.h",
"$source_root/Source/bucketalloc.c",
"$source_root/Source/bucketalloc.h",
"$source_root/Source/dict.c",
"$source_root/Source/dict.h",
"$source_root/Source/geom.c",
"$source_root/Source/geom.h",
"$source_root/Source/mesh.c",
"$source_root/Source/mesh.h",
"$source_root/Source/priorityq.c",
"$source_root/Source/priorityq.h",
"$source_root/Source/sweep.c",
"$source_root/Source/sweep.h",
"$source_root/Source/tess.c",
"$source_root/Source/tess.h",
]
}

View File

@@ -156,7 +156,7 @@ function verify_licenses() (
local actualLicenseCount
actualLicenseCount="$(tail -n 1 flutter/ci/licenses_golden/licenses_flutter | tr -dc '0-9')"
local expectedLicenseCount=44 # When changing this number: Update the error message below as well describing the newly expected license types.
local expectedLicenseCount=53 # When changing this number: Update the error message below as well describing the newly expected license types.
if [[ $actualLicenseCount -ne $expectedLicenseCount ]]; then
echo "=============================== ERROR ==============================="

View File

@@ -518,6 +518,27 @@
../../../flutter/third_party/gtest-parallel/gtest_parallel_mocks.py
../../../flutter/third_party/gtest-parallel/gtest_parallel_tests.py
../../../flutter/third_party/imgui
../../../flutter/third_party/inja/.clang-format
../../../flutter/third_party/inja/.git
../../../flutter/third_party/inja/.github
../../../flutter/third_party/inja/.gitignore
../../../flutter/third_party/inja/CMakeLists.txt
../../../flutter/third_party/inja/README.md
../../../flutter/third_party/inja/cmake
../../../flutter/third_party/inja/doc
../../../flutter/third_party/inja/meson.build
../../../flutter/third_party/inja/requirements.txt
../../../flutter/third_party/inja/scripts/amalgamate_config.json
../../../flutter/third_party/inja/test
../../../flutter/third_party/inja/third_party/amalgamate
../../../flutter/third_party/inja/third_party/include/doctest
../../../flutter/third_party/libtess2/.git
../../../flutter/third_party/libtess2/.gitignore
../../../flutter/third_party/libtess2/Contrib/nanosvg.c
../../../flutter/third_party/libtess2/Contrib/nanosvg.h
../../../flutter/third_party/libtess2/Example
../../../flutter/third_party/libtess2/README.md
../../../flutter/third_party/libtess2/alg_outline.md
../../../flutter/third_party/ninja
../../../flutter/third_party/rapidjson/.git
../../../flutter/third_party/rapidjson/.gitattributes
@@ -579,6 +600,13 @@
../../../flutter/third_party/shaderc/utils/remove-file-by-suffix.py
../../../flutter/third_party/shaderc/utils/update_build_version.py
../../../flutter/third_party/spring_animation/README.md
../../../flutter/third_party/sqlite/.git
../../../flutter/third_party/sqlite/.gitignore
../../../flutter/third_party/sqlite/GIT_REVISION
../../../flutter/third_party/sqlite/LAST_UPDATE
../../../flutter/third_party/sqlite/Makefile
../../../flutter/third_party/sqlite/README.md
../../../flutter/third_party/sqlite/VERSION
../../../flutter/third_party/test_shaders
../../../flutter/third_party/tonic/.clang-format
../../../flutter/third_party/tonic/AUTHORS
@@ -2323,20 +2351,6 @@
../../../third_party/icu/source/tools/toolutil/sources.txt
../../../third_party/icu/source/tools/tzcode/Makefile.in
../../../third_party/icu/source/tools/tzcode/readme.txt
../../../third_party/inja/.clang-format
../../../third_party/inja/.git
../../../third_party/inja/.github
../../../third_party/inja/.gitignore
../../../third_party/inja/CMakeLists.txt
../../../third_party/inja/README.md
../../../third_party/inja/cmake
../../../third_party/inja/doc
../../../third_party/inja/meson.build
../../../third_party/inja/requirements.txt
../../../third_party/inja/scripts/amalgamate_config.json
../../../third_party/inja/test
../../../third_party/inja/third_party/amalgamate
../../../third_party/inja/third_party/include/doctest
../../../third_party/java
../../../third_party/json/.clang-format
../../../third_party/json/.clang-tidy
@@ -2442,13 +2456,6 @@
../../../third_party/libpng/projects
../../../third_party/libpng/scripts
../../../third_party/libpng/tests
../../../third_party/libtess2/.git
../../../third_party/libtess2/.gitignore
../../../third_party/libtess2/Contrib/nanosvg.c
../../../third_party/libtess2/Contrib/nanosvg.h
../../../third_party/libtess2/Example
../../../third_party/libtess2/README.md
../../../third_party/libtess2/alg_outline.md
../../../third_party/libwebp/.cmake-format.py
../../../third_party/libwebp/.git
../../../third_party/libwebp/.gitattributes
@@ -2949,13 +2956,6 @@
../../../third_party/skia/toolchain/ndk_linux_arm64_toolchain_config.bzl
../../../third_party/skia/toolchain/utils.bzl
../../../third_party/skia/tools
../../../third_party/sqlite/.git
../../../third_party/sqlite/.gitignore
../../../third_party/sqlite/GIT_REVISION
../../../third_party/sqlite/LAST_UPDATE
../../../third_party/sqlite/Makefile
../../../third_party/sqlite/README.md
../../../third_party/sqlite/VERSION
../../../third_party/stb
../../../third_party/swiftshader
../../../third_party/tinygltf

View File

@@ -1129,6 +1129,17 @@ freely, subject to the following restrictions:
3. This notice may not be removed or altered from any source distribution.
====================================================================================================
====================================================================================================
LIBRARY: include
ORIGIN: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_clock.hpp
TYPE: LicenseType.unknown
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_clock.hpp
----------------------------------------------------------------------------------------------------
Copyright (C) 2011 Nick Bruun <nick@bruun.co>
Copyright (C) 2013 Vlad Lazarenko <vlad@lazarenko.me>
Copyright (C) 2014 Nicolas Pauss <nicolas.pauss@gmail.com>
====================================================================================================
====================================================================================================
LIBRARY: rapidjson
ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/schema.h + http://opensource->org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/schema.h
@@ -1223,6 +1234,70 @@ The above copyright notice and this permission notice shall be included in all c
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
====================================================================================================
====================================================================================================
LIBRARY: libtess2
ORIGIN: ../../../flutter/third_party/libtess2/Include/tesselator.h
ORIGIN: ../../../flutter/third_party/libtess2/LICENSE.txt
ORIGIN: ../../../flutter/third_party/libtess2/Source/bucketalloc.c
ORIGIN: ../../../flutter/third_party/libtess2/Source/bucketalloc.h
ORIGIN: ../../../flutter/third_party/libtess2/Source/dict.c
ORIGIN: ../../../flutter/third_party/libtess2/Source/dict.h
ORIGIN: ../../../flutter/third_party/libtess2/Source/geom.c
ORIGIN: ../../../flutter/third_party/libtess2/Source/geom.h
ORIGIN: ../../../flutter/third_party/libtess2/Source/mesh.c
ORIGIN: ../../../flutter/third_party/libtess2/Source/mesh.h
ORIGIN: ../../../flutter/third_party/libtess2/Source/priorityq.c
ORIGIN: ../../../flutter/third_party/libtess2/Source/priorityq.h
ORIGIN: ../../../flutter/third_party/libtess2/Source/sweep.c
ORIGIN: ../../../flutter/third_party/libtess2/Source/sweep.h
ORIGIN: ../../../flutter/third_party/libtess2/Source/tess.c
ORIGIN: ../../../flutter/third_party/libtess2/Source/tess.h
TYPE: LicenseType.mit
FILE: ../../../flutter/third_party/libtess2/Bin/bg.svg
FILE: ../../../flutter/third_party/libtess2/Bin/fg.svg
FILE: ../../../flutter/third_party/libtess2/Include/tesselator.h
FILE: ../../../flutter/third_party/libtess2/Source/bucketalloc.c
FILE: ../../../flutter/third_party/libtess2/Source/bucketalloc.h
FILE: ../../../flutter/third_party/libtess2/Source/dict.c
FILE: ../../../flutter/third_party/libtess2/Source/dict.h
FILE: ../../../flutter/third_party/libtess2/Source/geom.c
FILE: ../../../flutter/third_party/libtess2/Source/geom.h
FILE: ../../../flutter/third_party/libtess2/Source/mesh.c
FILE: ../../../flutter/third_party/libtess2/Source/mesh.h
FILE: ../../../flutter/third_party/libtess2/Source/priorityq.c
FILE: ../../../flutter/third_party/libtess2/Source/priorityq.h
FILE: ../../../flutter/third_party/libtess2/Source/sweep.c
FILE: ../../../flutter/third_party/libtess2/Source/sweep.h
FILE: ../../../flutter/third_party/libtess2/Source/tess.c
FILE: ../../../flutter/third_party/libtess2/Source/tess.h
FILE: ../../../flutter/third_party/libtess2/premake4.lua
----------------------------------------------------------------------------------------------------
Copyright (C) [dates of first publication] Silicon Graphics, Inc.
All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice including the dates of first publication and either this
permission notice or a reference to http://oss.sgi.com/projects/FreeB/ shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL SILICON GRAPHICS, INC.
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of Silicon Graphics, Inc. shall not
be used in advertising or otherwise to promote the sale, use or other dealings in
this Software without prior written authorization from Silicon Graphics, Inc.
====================================================================================================
====================================================================================================
LIBRARY: glfw
ORIGIN: ../../../flutter/third_party/glfw/LICENSE.md
@@ -1555,6 +1630,60 @@ freely, subject to the following restrictions:
distribution.
====================================================================================================
====================================================================================================
LIBRARY: include
ORIGIN: ../../../flutter/third_party/inja/third_party/include/nlohmann/json.hpp
TYPE: LicenseType.mit
FILE: ../../../flutter/third_party/inja/third_party/include/nlohmann/json.hpp
----------------------------------------------------------------------------------------------------
Copyright (c) 2008-2009 Bjoern Hoehrmann <bjoern@hoehrmann.de>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
====================================================================================================
====================================================================================================
LIBRARY: include
ORIGIN: ../../../flutter/third_party/inja/third_party/include/nlohmann/json.hpp
TYPE: LicenseType.mit
FILE: ../../../flutter/third_party/inja/third_party/include/nlohmann/json.hpp
----------------------------------------------------------------------------------------------------
Copyright (c) 2009 Florian Loitsch.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
====================================================================================================
====================================================================================================
LIBRARY: accessibility
ORIGIN: ../../../flutter/third_party/accessibility/gfx/geometry/insets.cc + ../../../flutter/third_party/accessibility/LICENSE
@@ -1746,6 +1875,49 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
====================================================================================================
====================================================================================================
LIBRARY: include
ORIGIN: ../../../flutter/third_party/inja/third_party/include/hayai/LICENSE.md
TYPE: LicenseType.unknown
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_benchmarker.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_compatibility.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_console.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_console_outputter.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_default_test_factory.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_fixture.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_json_outputter.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_junit_xml_outputter.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_main.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_outputter.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_test.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_test_descriptor.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_test_factory.hpp
FILE: ../../../flutter/third_party/inja/third_party/include/hayai/hayai_test_result.hpp
----------------------------------------------------------------------------------------------------
Copyright (c) 2011 - Nick Bruun.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. If you meet (any of) the author(s), you're encouraged to buy them a beer,
a drink or whatever is suited to the situation, given that you like the
software.
4. This notice may not be removed or altered from any source
distribution.
====================================================================================================
====================================================================================================
LIBRARY: accessibility
ORIGIN: ../../../flutter/third_party/accessibility/base/auto_reset.h + ../../../flutter/third_party/accessibility/LICENSE
@@ -1927,6 +2099,33 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
====================================================================================================
====================================================================================================
LIBRARY: include
ORIGIN: ../../../flutter/third_party/inja/third_party/include/nlohmann/json.hpp
TYPE: LicenseType.mit
FILE: ../../../flutter/third_party/inja/third_party/include/nlohmann/json.hpp
----------------------------------------------------------------------------------------------------
Copyright (c) 2013-2019 Niels Lohmann <http://nlohmann.me>.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
====================================================================================================
====================================================================================================
LIBRARY: glfw
ORIGIN: ../../../flutter/third_party/glfw/src/linux_joystick.h
@@ -2092,6 +2291,71 @@ freely, subject to the following restrictions:
distribution.
====================================================================================================
====================================================================================================
LIBRARY: inja
ORIGIN: ../../../flutter/third_party/inja/LICENSE
TYPE: LicenseType.mit
FILE: ../../../flutter/third_party/inja/include/inja/config.hpp
FILE: ../../../flutter/third_party/inja/include/inja/environment.hpp
FILE: ../../../flutter/third_party/inja/include/inja/exceptions.hpp
FILE: ../../../flutter/third_party/inja/include/inja/function_storage.hpp
FILE: ../../../flutter/third_party/inja/include/inja/lexer.hpp
FILE: ../../../flutter/third_party/inja/include/inja/node.hpp
FILE: ../../../flutter/third_party/inja/include/inja/parser.hpp
FILE: ../../../flutter/third_party/inja/include/inja/renderer.hpp
FILE: ../../../flutter/third_party/inja/include/inja/statistics.hpp
FILE: ../../../flutter/third_party/inja/include/inja/template.hpp
FILE: ../../../flutter/third_party/inja/include/inja/token.hpp
FILE: ../../../flutter/third_party/inja/include/inja/utils.hpp
----------------------------------------------------------------------------------------------------
Copyright (c) 2018-2021 Berscheid
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
====================================================================================================
====================================================================================================
LIBRARY: inja
ORIGIN: ../../../flutter/third_party/inja/include/inja/inja.hpp
ORIGIN: ../../../flutter/third_party/inja/single_include/inja/inja.hpp
TYPE: LicenseType.mit
FILE: ../../../flutter/third_party/inja/include/inja/inja.hpp
FILE: ../../../flutter/third_party/inja/single_include/inja/inja.hpp
----------------------------------------------------------------------------------------------------
Copyright (c) 2018-2021 Lars Berscheid
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
====================================================================================================
====================================================================================================
LIBRARY: glfw
ORIGIN: ../../../flutter/third_party/glfw/src/posix_module.c
@@ -8387,6 +8651,38 @@ THL A29 Limited ("Tencent Modifications").
All Tencent Modifications are Copyright (C) 2015 THL A29 Limited.
====================================================================================================
====================================================================================================
LIBRARY: sqlite
ORIGIN: ../../../flutter/third_party/sqlite/LICENSE
TYPE: LicenseType.unknown
FILE: ../../../flutter/third_party/sqlite/sqlite3.c
FILE: ../../../flutter/third_party/sqlite/sqlite3.h
----------------------------------------------------------------------------------------------------
The source code for SQLite is in the public domain. No claim of
copyright is made on any part of the core source code. (The
documentation and test code is a different matter - some sections of
documentation and test logic are governed by open-source licenses.)
All contributors to the SQLite core software have signed affidavits
specifically disavowing any copyright interest in the code. This means
that anybody is able to legally do anything they want with the SQLite
source code.
There are other SQL database engines with liberal licenses that allow
the code to be broadly and freely used. But those other engines are
still governed by copyright law. SQLite is different in that copyright
law simply does not apply.
The source code files for other SQL database engines typically begin
with a comment describing your legal rights to view and copy that
file. The SQLite source code contains no license since it is not
governed by copyright. Instead of a license, the SQLite source code
offers a blessing:
May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
====================================================================================================
====================================================================================================
LIBRARY: web_unicode
ORIGIN: http://www.unicode.org/terms_of_use.html referenced by ../../../flutter/third_party/web_unicode/properties/LineBreak.txt
@@ -8497,4 +8793,4 @@ use or other dealings in these Data Files or Software without prior
written authorization of the copyright holder.
====================================================================================================
Total license count: 44
Total license count: 53

View File

@@ -1,2 +1,2 @@
Signature: 2a59420d6344736cf861e62dd03ecfc7
Signature: 88225600314ebc39278ede6c886440b5

View File

@@ -33,7 +33,7 @@ impeller_component("archivist") {
deps = [
"//flutter/fml",
"//third_party/sqlite",
"//flutter/third_party/sqlite",
]
}

View File

@@ -1045,7 +1045,7 @@ class _RepositoryDirectory extends _RepositoryEntry implements LicenseSource {
'/third_party/libpng/LICENSE': _RepositoryLibPngLicenseFile.new,
'/third_party/root_certificates/LICENSE': _RepositoryMpl2File.new,
'/third_party/vulkan-deps/vulkan-validation-layers/src/LICENSE.txt': _RepositoryVulkanApacheLicenseFile.new,
'/third_party/inja/third_party/include/nlohmann/json.hpp': _RepositoryInjaJsonFile.new,
'/flutter/third_party/inja/third_party/include/nlohmann/json.hpp': _RepositoryInjaJsonFile.new,
};
_RepositoryFile createFile(fs.IoNode entry) {

View File

@@ -117,9 +117,9 @@ final Set<String> skippedPaths = <String>{
r'third_party/icu/source/data/brkitr/dictionaries/cjdict.txt', // explicitly handled by ICU license
r'third_party/icu/source/data/brkitr/dictionaries/laodict.txt', // explicitly handled by ICU license
r'third_party/icu/source/data/dtd',
r'third_party/inja/doc', // documentation
r'third_party/inja/third_party/amalgamate', // only used at build time
r'third_party/inja/third_party/include/doctest', // seems to be a unit test library
r'flutter/third_party/inja/doc', // documentation
r'flutter/third_party/inja/third_party/amalgamate', // only used at build time
r'flutter/third_party/inja/third_party/include/doctest', // seems to be a unit test library
r'third_party/java', // only used for Android builds
r'third_party/json/docs',
r'third_party/libcxx/benchmarks',
@@ -132,9 +132,9 @@ final Set<String> skippedPaths = <String>{
r'third_party/libpng/powerpc', // not linked in
r'third_party/libpng/projects', // not linked in
r'third_party/libpng/scripts', // not linked in
r'third_party/libtess2/Contrib/nanosvg.c', // only used by the ../Example
r'third_party/libtess2/Contrib/nanosvg.h', // only used by the ../Example
r'third_party/libtess2/Example',
r'flutter/third_party/libtess2/Contrib/nanosvg.c', // only used by the ../Example
r'flutter/third_party/libtess2/Contrib/nanosvg.h', // only used by the ../Example
r'flutter/third_party/libtess2/Example',
r'third_party/libwebp/doc',
r'third_party/libwebp/gradle', // not included in our build
r'third_party/libwebp/swig', // not included in our build

View File

@@ -1608,7 +1608,7 @@ final List<RegExp> csStrayCopyrights = <RegExp>[
multiLine: true,
),
// third_party/inja/third_party/include/hayai/hayai_clock.hpp
// flutter/third_party/inja/third_party/include/hayai/hayai_clock.hpp
// Advice was to just ignore these copyright notices given the LICENSE.md file
// in the same directory.
RegExp(