From 7d51ea382202b3b882220d9323ad70c081972243 Mon Sep 17 00:00:00 2001 From: Zach Anderson Date: Thu, 26 Oct 2023 12:58:43 -0700 Subject: [PATCH] Move rapidjson to flutter/third_party --- DEPS | 2 +- ci/licenses.sh | 2 +- ci/licenses_golden/excluded_files | 50 +++--- ci/licenses_golden/licenses_flutter | 145 ++++++++++++++++- ci/licenses_golden/licenses_third_party | 147 +----------------- ci/licenses_golden/tool_signature | 2 +- common/graphics/BUILD.gn | 2 +- lib/ui/BUILD.gn | 2 +- runtime/BUILD.gn | 2 +- shell/common/BUILD.gn | 4 +- shell/platform/common/BUILD.gn | 2 +- shell/platform/darwin/ios/BUILD.gn | 4 +- .../fuchsia/flutter/tests/fakes/BUILD.gn | 4 +- shell/platform/glfw/BUILD.gn | 2 +- shell/platform/linux/BUILD.gn | 2 +- shell/platform/windows/BUILD.gn | 4 +- tools/licenses/lib/main.dart | 4 +- tools/licenses/lib/paths.dart | 4 +- 18 files changed, 192 insertions(+), 192 deletions(-) diff --git a/DEPS b/DEPS index 6b23378e882d7..248cdc0308685 100644 --- a/DEPS +++ b/DEPS @@ -264,7 +264,7 @@ allowed_hosts = [ deps = { 'src': 'https://github.com/flutter/buildroot.git' + '@' + '5ced4367fee2721f6eda34802dc28b1335637c63', - 'src/third_party/rapidjson': + 'src/flutter/third_party/rapidjson': Var('fuchsia_git') + '/third_party/rapidjson' + '@' + 'ef3564c5c8824989393b87df25355baf35ff544b', 'src/third_party/harfbuzz': diff --git a/ci/licenses.sh b/ci/licenses.sh index 2989505ae17ce..8312017426119 100755 --- a/ci/licenses.sh +++ b/ci/licenses.sh @@ -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=39 # When changing this number: Update the error message below as well describing the newly expected license types. + local expectedLicenseCount=43 # When changing this number: Update the error message below as well describing the newly expected license types. if [[ $actualLicenseCount -ne $expectedLicenseCount ]]; then echo "=============================== ERROR ===============================" diff --git a/ci/licenses_golden/excluded_files b/ci/licenses_golden/excluded_files index 8f0e1c7332418..721affa2a32d0 100644 --- a/ci/licenses_golden/excluded_files +++ b/ci/licenses_golden/excluded_files @@ -446,6 +446,31 @@ ../../../flutter/third_party/gn ../../../flutter/third_party/imgui ../../../flutter/third_party/ninja +../../../flutter/third_party/rapidjson/.git +../../../flutter/third_party/rapidjson/.gitattributes +../../../flutter/third_party/rapidjson/.gitignore +../../../flutter/third_party/rapidjson/.gitmodules +../../../flutter/third_party/rapidjson/.travis.yml +../../../flutter/third_party/rapidjson/CHANGELOG.md +../../../flutter/third_party/rapidjson/CMakeLists.txt +../../../flutter/third_party/rapidjson/CMakeModules/FindGTestSrc.cmake +../../../flutter/third_party/rapidjson/README.fuchsia +../../../flutter/third_party/rapidjson/README.fuchsia.md +../../../flutter/third_party/rapidjson/RapidJSON.pc.in +../../../flutter/third_party/rapidjson/RapidJSONConfig.cmake.in +../../../flutter/third_party/rapidjson/RapidJSONConfigVersion.cmake.in +../../../flutter/third_party/rapidjson/appveyor.yml +../../../flutter/third_party/rapidjson/contrib +../../../flutter/third_party/rapidjson/doc +../../../flutter/third_party/rapidjson/docker/debian/Dockerfile +../../../flutter/third_party/rapidjson/example +../../../flutter/third_party/rapidjson/include_dirs.js +../../../flutter/third_party/rapidjson/library.json +../../../flutter/third_party/rapidjson/package.json +../../../flutter/third_party/rapidjson/rapidjson.autopkg +../../../flutter/third_party/rapidjson/readme.md +../../../flutter/third_party/rapidjson/readme.zh-cn.md +../../../flutter/third_party/rapidjson/test ../../../flutter/third_party/spring_animation/README.md ../../../flutter/third_party/test_shaders ../../../flutter/third_party/tonic/.clang-format @@ -2570,31 +2595,6 @@ ../../../third_party/pkg/vector_math ../../../third_party/protobuf ../../../third_party/pyyaml -../../../third_party/rapidjson/.git -../../../third_party/rapidjson/.gitattributes -../../../third_party/rapidjson/.gitignore -../../../third_party/rapidjson/.gitmodules -../../../third_party/rapidjson/.travis.yml -../../../third_party/rapidjson/CHANGELOG.md -../../../third_party/rapidjson/CMakeLists.txt -../../../third_party/rapidjson/CMakeModules/FindGTestSrc.cmake -../../../third_party/rapidjson/README.fuchsia -../../../third_party/rapidjson/README.fuchsia.md -../../../third_party/rapidjson/RapidJSON.pc.in -../../../third_party/rapidjson/RapidJSONConfig.cmake.in -../../../third_party/rapidjson/RapidJSONConfigVersion.cmake.in -../../../third_party/rapidjson/appveyor.yml -../../../third_party/rapidjson/contrib -../../../third_party/rapidjson/doc -../../../third_party/rapidjson/docker/debian/Dockerfile -../../../third_party/rapidjson/example -../../../third_party/rapidjson/include_dirs.js -../../../third_party/rapidjson/library.json -../../../third_party/rapidjson/package.json -../../../third_party/rapidjson/rapidjson.autopkg -../../../third_party/rapidjson/readme.md -../../../third_party/rapidjson/readme.zh-cn.md -../../../third_party/rapidjson/test ../../../third_party/root_certificates/.git ../../../third_party/root_certificates/README.google ../../../third_party/root_certificates/certdata.pem diff --git a/ci/licenses_golden/licenses_flutter b/ci/licenses_golden/licenses_flutter index 01c5954ec7ced..fa95b8558f0e5 100644 --- a/ci/licenses_golden/licenses_flutter +++ b/ci/licenses_golden/licenses_flutter @@ -306,6 +306,100 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. ==================================================================================================== +==================================================================================================== +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 +TYPE: LicenseType.mit +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/schema.h +---------------------------------------------------------------------------------------------------- +Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip-> 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 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: rapidjson +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/allocators.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/allocators.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/cursorstreamwrapper.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/cursorstreamwrapper.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/document.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/document.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/encodedstream.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/encodedstream.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/encodings.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/encodings.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/error/en.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/error/en.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/error/error.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/error/error.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/filereadstream.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/filereadstream.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/filewritestream.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/filewritestream.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/fwd.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/fwd.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/biginteger.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/internal/biginteger.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/diyfp.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/internal/diyfp.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/dtoa.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/internal/dtoa.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/ieee754.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/internal/ieee754.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/itoa.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/internal/itoa.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/meta.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/internal/meta.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/pow10.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/internal/pow10.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/regex.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/internal/regex.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/stack.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/internal/stack.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/strfunc.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/internal/strfunc.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/strtod.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/internal/strtod.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/swap.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/internal/swap.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/istreamwrapper.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/istreamwrapper.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/memorybuffer.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/memorybuffer.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/memorystream.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/memorystream.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/ostreamwrapper.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/ostreamwrapper.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/pointer.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/pointer.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/prettywriter.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/prettywriter.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/rapidjson.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/rapidjson.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/reader.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/reader.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/stream.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/stream.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/stringbuffer.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/stringbuffer.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/writer.h + http://opensource.org/licenses/MIT referenced by ../../../flutter/third_party/rapidjson/include/rapidjson/writer.h +TYPE: LicenseType.mit +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/allocators.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/cursorstreamwrapper.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/document.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/encodedstream.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/encodings.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/error/en.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/error/error.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/filereadstream.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/filewritestream.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/fwd.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/biginteger.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/diyfp.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/dtoa.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/ieee754.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/itoa.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/meta.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/pow10.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/regex.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/stack.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/strfunc.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/strtod.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/internal/swap.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/istreamwrapper.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/memorybuffer.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/memorystream.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/ostreamwrapper.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/pointer.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/prettywriter.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/rapidjson.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/reader.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/stream.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/stringbuffer.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/writer.h +---------------------------------------------------------------------------------------------------- +Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. 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 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/LICENSE.md @@ -540,6 +634,42 @@ freely, subject to the following restrictions: distribution. ==================================================================================================== +==================================================================================================== +LIBRARY: rapidjson +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/msinttypes/inttypes.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/msinttypes/stdint.h +TYPE: LicenseType.bsd +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/msinttypes/inttypes.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/msinttypes/stdint.h +---------------------------------------------------------------------------------------------------- +Copyright (c) 2006-2013 Alexander Chemeris + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + 3. Neither the name of the product nor the names of its contributors may + be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +==================================================================================================== + ==================================================================================================== LIBRARY: glfw ORIGIN: ../../../flutter/third_party/glfw/src/cocoa_joystick.h @@ -7417,6 +7547,19 @@ which is quoted below: the Work. ==================================================================================================== +==================================================================================================== +LIBRARY: rapidjson +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/msinttypes/inttypes.h +ORIGIN: ../../../flutter/third_party/rapidjson/include/rapidjson/msinttypes/stdint.h +TYPE: LicenseType.unknown +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/msinttypes/inttypes.h +FILE: ../../../flutter/third_party/rapidjson/include/rapidjson/msinttypes/stdint.h +---------------------------------------------------------------------------------------------------- +The above software in this distribution may have been modified by +THL A29 Limited ("Tencent Modifications"). +All Tencent Modifications are Copyright (C) 2015 THL A29 Limited. +==================================================================================================== + ==================================================================================================== LIBRARY: web_unicode ORIGIN: http://www.unicode.org/terms_of_use.html referenced by ../../../flutter/third_party/web_unicode/properties/LineBreak.txt @@ -7527,4 +7670,4 @@ use or other dealings in these Data Files or Software without prior written authorization of the copyright holder. ==================================================================================================== -Total license count: 39 +Total license count: 43 diff --git a/ci/licenses_golden/licenses_third_party b/ci/licenses_golden/licenses_third_party index 72ea9b280da7c..33e895e2e157a 100644 --- a/ci/licenses_golden/licenses_third_party +++ b/ci/licenses_golden/licenses_third_party @@ -1,4 +1,4 @@ -Signature: 69304324d997cc541ddf890752d79626 +Signature: 3e6969e9dde7d980b21c3678036aa8d0 ==================================================================================================== LIBRARY: angle @@ -27044,100 +27044,6 @@ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ==================================================================================================== -==================================================================================================== -LIBRARY: rapidjson -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/schema.h + http://opensource->org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/schema.h -TYPE: LicenseType.mit -FILE: ../../../third_party/rapidjson/include/rapidjson/schema.h ----------------------------------------------------------------------------------------------------- -Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip-> 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 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: rapidjson -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/allocators.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/allocators.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/cursorstreamwrapper.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/cursorstreamwrapper.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/document.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/document.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/encodedstream.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/encodedstream.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/encodings.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/encodings.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/error/en.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/error/en.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/error/error.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/error/error.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/filereadstream.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/filereadstream.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/filewritestream.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/filewritestream.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/fwd.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/fwd.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/internal/biginteger.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/internal/biginteger.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/internal/diyfp.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/internal/diyfp.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/internal/dtoa.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/internal/dtoa.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/internal/ieee754.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/internal/ieee754.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/internal/itoa.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/internal/itoa.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/internal/meta.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/internal/meta.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/internal/pow10.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/internal/pow10.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/internal/regex.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/internal/regex.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/internal/stack.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/internal/stack.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/internal/strfunc.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/internal/strfunc.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/internal/strtod.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/internal/strtod.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/internal/swap.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/internal/swap.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/istreamwrapper.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/istreamwrapper.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/memorybuffer.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/memorybuffer.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/memorystream.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/memorystream.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/ostreamwrapper.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/ostreamwrapper.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/pointer.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/pointer.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/prettywriter.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/prettywriter.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/rapidjson.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/rapidjson.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/reader.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/reader.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/stream.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/stream.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/stringbuffer.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/stringbuffer.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/writer.h + http://opensource.org/licenses/MIT referenced by ../../../third_party/rapidjson/include/rapidjson/writer.h -TYPE: LicenseType.mit -FILE: ../../../third_party/rapidjson/include/rapidjson/allocators.h -FILE: ../../../third_party/rapidjson/include/rapidjson/cursorstreamwrapper.h -FILE: ../../../third_party/rapidjson/include/rapidjson/document.h -FILE: ../../../third_party/rapidjson/include/rapidjson/encodedstream.h -FILE: ../../../third_party/rapidjson/include/rapidjson/encodings.h -FILE: ../../../third_party/rapidjson/include/rapidjson/error/en.h -FILE: ../../../third_party/rapidjson/include/rapidjson/error/error.h -FILE: ../../../third_party/rapidjson/include/rapidjson/filereadstream.h -FILE: ../../../third_party/rapidjson/include/rapidjson/filewritestream.h -FILE: ../../../third_party/rapidjson/include/rapidjson/fwd.h -FILE: ../../../third_party/rapidjson/include/rapidjson/internal/biginteger.h -FILE: ../../../third_party/rapidjson/include/rapidjson/internal/diyfp.h -FILE: ../../../third_party/rapidjson/include/rapidjson/internal/dtoa.h -FILE: ../../../third_party/rapidjson/include/rapidjson/internal/ieee754.h -FILE: ../../../third_party/rapidjson/include/rapidjson/internal/itoa.h -FILE: ../../../third_party/rapidjson/include/rapidjson/internal/meta.h -FILE: ../../../third_party/rapidjson/include/rapidjson/internal/pow10.h -FILE: ../../../third_party/rapidjson/include/rapidjson/internal/regex.h -FILE: ../../../third_party/rapidjson/include/rapidjson/internal/stack.h -FILE: ../../../third_party/rapidjson/include/rapidjson/internal/strfunc.h -FILE: ../../../third_party/rapidjson/include/rapidjson/internal/strtod.h -FILE: ../../../third_party/rapidjson/include/rapidjson/internal/swap.h -FILE: ../../../third_party/rapidjson/include/rapidjson/istreamwrapper.h -FILE: ../../../third_party/rapidjson/include/rapidjson/memorybuffer.h -FILE: ../../../third_party/rapidjson/include/rapidjson/memorystream.h -FILE: ../../../third_party/rapidjson/include/rapidjson/ostreamwrapper.h -FILE: ../../../third_party/rapidjson/include/rapidjson/pointer.h -FILE: ../../../third_party/rapidjson/include/rapidjson/prettywriter.h -FILE: ../../../third_party/rapidjson/include/rapidjson/rapidjson.h -FILE: ../../../third_party/rapidjson/include/rapidjson/reader.h -FILE: ../../../third_party/rapidjson/include/rapidjson/stream.h -FILE: ../../../third_party/rapidjson/include/rapidjson/stringbuffer.h -FILE: ../../../third_party/rapidjson/include/rapidjson/writer.h ----------------------------------------------------------------------------------------------------- -Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. 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 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: libjpeg-turbo ORIGIN: ../../../third_party/libjpeg-turbo/simd/jcsample-altivec.c @@ -34151,42 +34057,6 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ==================================================================================================== -==================================================================================================== -LIBRARY: rapidjson -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/msinttypes/inttypes.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/msinttypes/stdint.h -TYPE: LicenseType.bsd -FILE: ../../../third_party/rapidjson/include/rapidjson/msinttypes/inttypes.h -FILE: ../../../third_party/rapidjson/include/rapidjson/msinttypes/stdint.h ----------------------------------------------------------------------------------------------------- -Copyright (c) 2006-2013 Alexander Chemeris - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - 3. Neither the name of the product nor the names of its contributors may - be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED -WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -==================================================================================================== - ==================================================================================================== LIBRARY: khronos ORIGIN: ../../../third_party/khronos/noninclude/GL/glxext.h @@ -49180,19 +49050,6 @@ Legal Terms --- end of FTL.TXT --- ==================================================================================================== -==================================================================================================== -LIBRARY: rapidjson -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/msinttypes/inttypes.h -ORIGIN: ../../../third_party/rapidjson/include/rapidjson/msinttypes/stdint.h -TYPE: LicenseType.unknown -FILE: ../../../third_party/rapidjson/include/rapidjson/msinttypes/inttypes.h -FILE: ../../../third_party/rapidjson/include/rapidjson/msinttypes/stdint.h ----------------------------------------------------------------------------------------------------- -The above software in this distribution may have been modified by -THL A29 Limited ("Tencent Modifications"). -All Tencent Modifications are Copyright (C) 2015 THL A29 Limited. -==================================================================================================== - ==================================================================================================== LIBRARY: sqlite ORIGIN: ../../../third_party/sqlite/LICENSE @@ -61304,4 +61161,4 @@ freely, subject to the following restrictions: 3. This notice may not be removed or altered from any source distribution. ==================================================================================================== -Total license count: 849 +Total license count: 845 diff --git a/ci/licenses_golden/tool_signature b/ci/licenses_golden/tool_signature index 0772863aa69bd..861921dc15ad8 100644 --- a/ci/licenses_golden/tool_signature +++ b/ci/licenses_golden/tool_signature @@ -1,2 +1,2 @@ -Signature: f161ef7a408768b3ded7494d69263d9b +Signature: 126031993535612b0d5b22f7793aa786 diff --git a/common/graphics/BUILD.gn b/common/graphics/BUILD.gn index 61d410d4f864d..426a8c38074c4 100644 --- a/common/graphics/BUILD.gn +++ b/common/graphics/BUILD.gn @@ -26,8 +26,8 @@ source_set("graphics") { "//flutter/fml", "//flutter/shell/common:base64", "//flutter/shell/version:version", + "//flutter/third_party/rapidjson", "//third_party/boringssl", - "//third_party/rapidjson", "//third_party/skia", ] diff --git a/lib/ui/BUILD.gn b/lib/ui/BUILD.gn index 0db5e1230308f..4c9673e478fdb 100644 --- a/lib/ui/BUILD.gn +++ b/lib/ui/BUILD.gn @@ -175,9 +175,9 @@ source_set("ui") { "//flutter/impeller/runtime_stage", "//flutter/runtime:dart_plugin_registrant", "//flutter/runtime:test_font", + "//flutter/third_party/rapidjson", "//flutter/third_party/tonic", "//third_party/dart/runtime/bin:dart_io_api", - "//third_party/rapidjson", "//third_party/skia", "//third_party/zlib:zlib", ] diff --git a/runtime/BUILD.gn b/runtime/BUILD.gn index 8d07eb8e1dfde..f3acb0aec81c9 100644 --- a/runtime/BUILD.gn +++ b/runtime/BUILD.gn @@ -92,7 +92,7 @@ source_set("runtime") { public_deps = [ "//flutter/lib/gpu", "//flutter/lib/ui", - "//third_party/rapidjson", + "//flutter/third_party/rapidjson", ] public_configs = [ "//flutter:config" ] diff --git a/shell/common/BUILD.gn b/shell/common/BUILD.gn index 31d89012a58d3..fc71a938a736d 100644 --- a/shell/common/BUILD.gn +++ b/shell/common/BUILD.gn @@ -130,9 +130,9 @@ source_set("common") { ":display", ":platform_message_handler", "//flutter/shell/version", + "//flutter/third_party/rapidjson", "//flutter/third_party/tonic", "//flutter/third_party/txt", - "//third_party/rapidjson", ] deps = [ @@ -258,7 +258,7 @@ if (enable_unittests) { "//flutter/lib/ui", "//flutter/testing:dart", "//flutter/testing:fixture_test", - "//third_party/rapidjson", + "//flutter/third_party/rapidjson", "//third_party/skia", ] diff --git a/shell/platform/common/BUILD.gn b/shell/platform/common/BUILD.gn index 13f2a51e20e97..f03a032730b57 100644 --- a/shell/platform/common/BUILD.gn +++ b/shell/platform/common/BUILD.gn @@ -130,7 +130,7 @@ source_set("common_cpp") { public_deps = [ ":common_cpp_core", - "//third_party/rapidjson", + "//flutter/third_party/rapidjson", ] } diff --git a/shell/platform/darwin/ios/BUILD.gn b/shell/platform/darwin/ios/BUILD.gn index b8bd60198ae0a..cdb9e0d41e394 100644 --- a/shell/platform/darwin/ios/BUILD.gn +++ b/shell/platform/darwin/ios/BUILD.gn @@ -255,10 +255,10 @@ source_set("ios_test_flutter_mrc") { "//flutter/shell/common:common", "//flutter/shell/platform/darwin/common:framework_common", "//flutter/shell/platform/embedder:embedder_as_internal_library", + "//flutter/third_party/rapidjson", "//flutter/third_party/tonic", "//flutter/third_party/txt", "//third_party/ocmock:ocmock_shared", - "//third_party/rapidjson", "//third_party/skia", ] @@ -327,11 +327,11 @@ shared_library("ios_test_flutter") { "//flutter/shell/platform/darwin/common:framework_common", "//flutter/shell/platform/embedder:embedder_as_internal_library", "//flutter/shell/platform/embedder:embedder_test_utils", + "//flutter/third_party/rapidjson", "//flutter/third_party/spring_animation", "//flutter/third_party/tonic", "//flutter/third_party/txt", "//third_party/ocmock:ocmock_shared", - "//third_party/rapidjson", "//third_party/skia", ] public_configs = [ diff --git a/shell/platform/fuchsia/flutter/tests/fakes/BUILD.gn b/shell/platform/fuchsia/flutter/tests/fakes/BUILD.gn index 590df78802f17..4b23cd9632286 100644 --- a/shell/platform/fuchsia/flutter/tests/fakes/BUILD.gn +++ b/shell/platform/fuchsia/flutter/tests/fakes/BUILD.gn @@ -28,7 +28,7 @@ source_set("focus") { "//build/fuchsia/pkg:sys_cpp_testing", "//flutter/lib/ui", "//flutter/testing", - "//third_party/rapidjson", + "//flutter/third_party/rapidjson", ] } @@ -41,6 +41,6 @@ source_set("pointer") { "//build/fuchsia/pkg:sys_cpp_testing", "//flutter/lib/ui", "//flutter/testing", - "//third_party/rapidjson", + "//flutter/third_party/rapidjson", ] } diff --git a/shell/platform/glfw/BUILD.gn b/shell/platform/glfw/BUILD.gn index 1bf6d587f05b2..59735b5976356 100644 --- a/shell/platform/glfw/BUILD.gn +++ b/shell/platform/glfw/BUILD.gn @@ -60,7 +60,7 @@ source_set("flutter_glfw") { "//flutter/shell/platform/embedder:embedder_as_internal_library", "//flutter/shell/platform/glfw/client_wrapper:client_wrapper_glfw", "//flutter/third_party/glfw", - "//third_party/rapidjson", + "//flutter/third_party/rapidjson", ] if (is_linux) { diff --git a/shell/platform/linux/BUILD.gn b/shell/platform/linux/BUILD.gn index eeff5e2585838..7d0f027159c44 100644 --- a/shell/platform/linux/BUILD.gn +++ b/shell/platform/linux/BUILD.gn @@ -163,7 +163,7 @@ source_set("flutter_linux_sources") { "//flutter/shell/platform/common:common_cpp_input", "//flutter/shell/platform/common:common_cpp_switches", "//flutter/shell/platform/embedder:embedder_headers", - "//third_party/rapidjson", + "//flutter/third_party/rapidjson", ] } diff --git a/shell/platform/windows/BUILD.gn b/shell/platform/windows/BUILD.gn index 158de1ec99b02..9a3a8c59dbb8e 100644 --- a/shell/platform/windows/BUILD.gn +++ b/shell/platform/windows/BUILD.gn @@ -138,13 +138,13 @@ source_set("flutter_windows_source") { "//flutter/shell/platform/common/client_wrapper:client_wrapper", "//flutter/shell/platform/embedder:embedder_as_internal_library", "//flutter/shell/platform/windows/client_wrapper:client_wrapper_windows", + "//flutter/third_party/rapidjson", "//third_party/angle:libEGL_static", # the order of libEGL_static and # libGLESv2_static is important.. if # reversed, will cause a linker error # DllMain already defined in # LIBCMTD.lib "//third_party/angle:libGLESv2_static", - "//third_party/rapidjson", ] } @@ -238,8 +238,8 @@ executable("flutter_windows_unittests") { "//flutter/shell/platform/embedder:embedder_test_utils", "//flutter/testing", "//flutter/testing:dart", + "//flutter/third_party/rapidjson", "//flutter/third_party/tonic", - "//third_party/rapidjson", ] } diff --git a/tools/licenses/lib/main.dart b/tools/licenses/lib/main.dart index 8bf184ffc7a01..cfa1064f57394 100644 --- a/tools/licenses/lib/main.dart +++ b/tools/licenses/lib/main.dart @@ -1029,6 +1029,8 @@ class _RepositoryDirectory extends _RepositoryEntry implements LicenseSource { static final RegExp _licenseNamePattern = RegExp(r'^(?!.*\.py$)(?!.*(?:no|update)-copyright)(?!.*mh-bsd-gcc).*\b_*(?:license(?!\.html)|copying|copyright|notice|l?gpl|GPLv2|bsd|mit|mpl?|ftl|Apache)_*\b', caseSensitive: false); static const Map _specialCaseFiles = { + '/flutter/third_party/rapidjson/LICENSE': _RepositoryOpaqueLicenseFile.new, + '/flutter/third_party/rapidjson/license.txt': _RepositoryOpaqueLicenseFile.new, '/fuchsia/sdk/linux/LICENSE.vulkan': _RepositoryFuchsiaSdkLinuxLicenseFile.new, '/fuchsia/sdk/mac/LICENSE.vulkan': _RepositoryFuchsiaSdkLinuxLicenseFile.new, '/third_party/boringssl/src/LICENSE': _RepositoryOpenSSLLicenseFile.new, @@ -1041,8 +1043,6 @@ class _RepositoryDirectory extends _RepositoryEntry implements LicenseSource { '/third_party/libjpeg-turbo/LICENSE': _RepositoryLibJpegTurboLicenseFile.new, '/third_party/libjpeg-turbo/README.ijg': _RepositoryReadmeIjgFile.new, '/third_party/libpng/LICENSE': _RepositoryLibPngLicenseFile.new, - '/third_party/rapidjson/LICENSE': _RepositoryOpaqueLicenseFile.new, - '/third_party/rapidjson/license.txt': _RepositoryOpaqueLicenseFile.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, diff --git a/tools/licenses/lib/paths.dart b/tools/licenses/lib/paths.dart index a35d1a2ac6116..dc854d66dc96f 100644 --- a/tools/licenses/lib/paths.dart +++ b/tools/licenses/lib/paths.dart @@ -34,6 +34,8 @@ final Set skippedPaths = { r'flutter/third_party/gn', r'flutter/third_party/imgui', r'flutter/third_party/ninja', // build system + r'flutter/third_party/rapidjson/contrib', // contains nothing that ends up in the binary executable + r'flutter/third_party/rapidjson/doc', // documentation r'flutter/third_party/test_shaders', // for tests only r'flutter/third_party/txt/third_party/fonts', r'flutter/tools', @@ -160,8 +162,6 @@ final Set skippedPaths = { r'third_party/pkg/quiver', r'third_party/pkg/vector_math', r'third_party/pyyaml', // build-time dependency only - r'third_party/rapidjson/contrib', // contains nothing that ends up in the binary executable - r'third_party/rapidjson/doc', // documentation r'third_party/root_certificates/certdata.pem', r'third_party/root_certificates/certdata.txt', r'third_party/shaderc/third_party/LICENSE.glslang', // unclear what the purpose of this file is