Move rapidjson to flutter/third_party (flutter/engine#47354)

As part of eliminating the Flutter buildroot
(https://github.com/flutter/flutter/issues/67373), we are moving all
third-party dependencies from //third_party to //flutter/third_party.

Once all third-party dependencies have been migrated, tooling and config
will be moved and the buildroot will be eliminated altogether.

No tests changed because there is no semantic change to this PR. This is
simply relocating a dependency.
This commit is contained in:
Zachary Anderson
2023-10-27 08:00:56 -07:00
committed by GitHub
parent e866800c0c
commit e1fc52e2b6
17 changed files with 190 additions and 47 deletions

2
DEPS
View File

@@ -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':

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=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 ==============================="

View File

@@ -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

View File

@@ -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

View File

@@ -1,2 +1,2 @@
Signature: f161ef7a408768b3ded7494d69263d9b
Signature: 126031993535612b0d5b22f7793aa786

View File

@@ -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",
]

View File

@@ -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",
]

View File

@@ -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" ]

View File

@@ -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",
]

View File

@@ -130,7 +130,7 @@ source_set("common_cpp") {
public_deps = [
":common_cpp_core",
"//third_party/rapidjson",
"//flutter/third_party/rapidjson",
]
}

View File

@@ -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 = [

View File

@@ -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",
]
}

View File

@@ -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) {

View File

@@ -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",
]
}

View File

@@ -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",
]
}

View File

@@ -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<String, _Constructor> _specialCaseFiles = <String, _Constructor>{
'/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,

View File

@@ -34,6 +34,8 @@ final Set<String> skippedPaths = <String>{
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<String> skippedPaths = <String>{
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