[web] Support woff2 fonts (flutter/engine#55908)
- Enable support for WOFF2 fonts. - Add Brotli depndency (increases CK size by ~53KB compressed, including the Brotli dictionary). - Use split WOFF2 fonts for Emoji. - Remove the `useColorEmoji` runtime config flag. Partially based off of https://github.com/flutter/engine/pull/41282 Fixes https://github.com/flutter/flutter/issues/119536 Contributes to https://github.com/flutter/flutter/issues/153974 and opens the door for moving more fonts to WOFF2.
This commit is contained in:
6
DEPS
6
DEPS
@@ -158,6 +158,7 @@ vars = {
|
||||
"upstream_boolean_selector": "https://github.com/dart-lang/boolean_selector.git",
|
||||
"upstream_boringssl_gen": "https://github.com/dart-lang/boringssl_gen.git",
|
||||
"upstream_boringssl": "https://github.com/openssl/openssl.git",
|
||||
"upstream_brotli": "https://github.com/google/brotli.git",
|
||||
"upstream_browser_launcher": "https://github.com/dart-lang/browser_launcher.git",
|
||||
"upstream_buildroot": "https://github.com/flutter/buildroot.git",
|
||||
"upstream_cli_util": "https://github.com/dart-lang/cli_util.git",
|
||||
@@ -320,6 +321,9 @@ deps = {
|
||||
'src/flutter/third_party/boringssl':
|
||||
Var('dart_git') + '/boringssl_gen.git' + '@' + Var('dart_boringssl_gen_rev'),
|
||||
|
||||
'src/flutter/third_party/brotli':
|
||||
Var('skia_git') + '/external/github.com/google/brotli.git' + '@' + '350100a5bb9d9671aca85213b2ec7a70a361b0cd',
|
||||
|
||||
'src/flutter/third_party/yapf':
|
||||
Var('flutter_git') + '/third_party/yapf' + '@' + '212c5b5ad8e172d2d914ae454c121c89cccbcb35',
|
||||
|
||||
@@ -1006,7 +1010,7 @@ deps = {
|
||||
'packages': [
|
||||
{
|
||||
'package': 'flutter/flutter_font_fallbacks',
|
||||
'version': 'c81f5a2b369b48df3728d2b247a27901bb76bbce0c40b343fe1cc924a36b36ea'
|
||||
'version': '91f2de34d4a309816a182ce7552201d95388e2e0bceea951a6dd04693ed6fe30'
|
||||
}
|
||||
],
|
||||
'dep_type': 'cipd',
|
||||
|
||||
39
engine/src/flutter/build/secondary/third_party/brotli/BUILD.gn
vendored
Normal file
39
engine/src/flutter/build/secondary/third_party/brotli/BUILD.gn
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 2013 The Flutter Authors. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
source_root = "//flutter/third_party/brotli"
|
||||
|
||||
config("brotli_public") {
|
||||
include_dirs = [
|
||||
"$source_root/c/include",
|
||||
"$source_root/c/common/dictionary.h",
|
||||
]
|
||||
|
||||
cflags = []
|
||||
foreach(dir, include_dirs) {
|
||||
cflags += [
|
||||
"-isystem",
|
||||
rebase_path(dir),
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
static_library("brotli") {
|
||||
# Brotli is used by freetype; it only needs the brotli decoder.
|
||||
sources = [
|
||||
"$source_root/c/common/constants.c",
|
||||
"$source_root/c/common/context.c",
|
||||
"$source_root/c/common/dictionary.c",
|
||||
"$source_root/c/common/platform.c",
|
||||
"$source_root/c/common/shared_dictionary.c",
|
||||
"$source_root/c/common/transform.c",
|
||||
"$source_root/c/dec/bit_reader.c",
|
||||
"$source_root/c/dec/decode.c",
|
||||
"$source_root/c/dec/huffman.c",
|
||||
"$source_root/c/dec/state.c",
|
||||
]
|
||||
|
||||
public_configs = [ ":brotli_public" ]
|
||||
cflags = [ "-w" ]
|
||||
}
|
||||
@@ -173,7 +173,7 @@ function verify_licenses() (
|
||||
|
||||
local actualLicenseCount
|
||||
actualLicenseCount="$(tail -n 1 flutter/ci/licenses_golden/licenses_flutter | tr -dc '0-9')"
|
||||
local expectedLicenseCount=909 # When changing this number: Update the error message below as well describing the newly expected license types.
|
||||
local expectedLicenseCount=918
|
||||
|
||||
if [[ $actualLicenseCount -ne $expectedLicenseCount ]]; then
|
||||
echo "=============================== ERROR ==============================="
|
||||
|
||||
@@ -1346,6 +1346,33 @@
|
||||
../../../flutter/third_party/boringssl/src/third_party/wycheproof_testvectors/xchacha20_poly1305_test.json
|
||||
../../../flutter/third_party/boringssl/src/third_party/wycheproof_testvectors/xchacha20_poly1305_test.txt
|
||||
../../../flutter/third_party/boringssl/src/util
|
||||
../../../flutter/third_party/brotli/.editorconfig
|
||||
../../../flutter/third_party/brotli/.git
|
||||
../../../flutter/third_party/brotli/.gitattributes
|
||||
../../../flutter/third_party/brotli/.github
|
||||
../../../flutter/third_party/brotli/.gitignore
|
||||
../../../flutter/third_party/brotli/BUILD.bazel
|
||||
../../../flutter/third_party/brotli/CHANGELOG.md
|
||||
../../../flutter/third_party/brotli/CMakeLists.txt
|
||||
../../../flutter/third_party/brotli/CONTRIBUTING.md
|
||||
../../../flutter/third_party/brotli/MANIFEST.in
|
||||
../../../flutter/third_party/brotli/README
|
||||
../../../flutter/third_party/brotli/README.md
|
||||
../../../flutter/third_party/brotli/SECURITY.md
|
||||
../../../flutter/third_party/brotli/WORKSPACE.bazel
|
||||
../../../flutter/third_party/brotli/c/fuzz/.bazelrc
|
||||
../../../flutter/third_party/brotli/c/fuzz/BUILD.bazel
|
||||
../../../flutter/third_party/brotli/c/fuzz/WORKSPACE.bazel
|
||||
../../../flutter/third_party/brotli/csharp
|
||||
../../../flutter/third_party/brotli/docs
|
||||
../../../flutter/third_party/brotli/go
|
||||
../../../flutter/third_party/brotli/java
|
||||
../../../flutter/third_party/brotli/js
|
||||
../../../flutter/third_party/brotli/python
|
||||
../../../flutter/third_party/brotli/research
|
||||
../../../flutter/third_party/brotli/scripts
|
||||
../../../flutter/third_party/brotli/setup.py
|
||||
../../../flutter/third_party/brotli/tests
|
||||
../../../flutter/third_party/cpu_features/src/.clang-format
|
||||
../../../flutter/third_party/cpu_features/src/.git
|
||||
../../../flutter/third_party/cpu_features/src/.github
|
||||
|
||||
@@ -36833,6 +36833,42 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
====================================================================================================
|
||||
|
||||
====================================================================================================
|
||||
LIBRARY: brotli
|
||||
ORIGIN: ../../../flutter/third_party/brotli/LICENSE
|
||||
TYPE: LicenseType.mit
|
||||
FILE: ../../../flutter/third_party/brotli/.bazelignore
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/context.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/dictionary.bin
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/dictionary.bin.br
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/transform.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/matching_tag_mask.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/tools/brotli.md
|
||||
FILE: ../../../flutter/third_party/brotli/fetch-spec/shared-brotli-fetch-spec.txt
|
||||
FILE: ../../../flutter/third_party/brotli/pyproject.toml
|
||||
FILE: ../../../flutter/third_party/brotli/setup.cfg
|
||||
----------------------------------------------------------------------------------------------------
|
||||
Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
|
||||
|
||||
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: icu
|
||||
ORIGIN: ../../../flutter/third_party/icu/source/data/sprep/rfc3491.txt + ../../../flutter/third_party/icu/LICENSE
|
||||
@@ -41300,6 +41336,51 @@ freely, subject to the following restrictions:
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
====================================================================================================
|
||||
|
||||
====================================================================================================
|
||||
LIBRARY: brotli
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/entropy_encode.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/entropy_encode.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/find_match_length.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/hash.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/hash_longest_match64_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/hash_longest_match64_simd_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/hash_longest_match_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/hash_longest_match_quickly_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/hash_longest_match_simd_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/write_bits.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
TYPE: LicenseType.mit
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/entropy_encode.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/entropy_encode.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/find_match_length.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/hash.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/hash_longest_match64_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/hash_longest_match64_simd_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/hash_longest_match_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/hash_longest_match_quickly_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/hash_longest_match_simd_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/write_bits.h
|
||||
----------------------------------------------------------------------------------------------------
|
||||
Copyright 2010 Google 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 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: libwebp
|
||||
ORIGIN: ../../../flutter/third_party/libwebp/src/dec/frame_dec.c + ../../../flutter/third_party/libwebp/COPYING
|
||||
@@ -42012,6 +42093,119 @@ in the file LICENSE in the source distribution or at
|
||||
https://www.openssl.org/source/license.html
|
||||
====================================================================================================
|
||||
|
||||
====================================================================================================
|
||||
LIBRARY: brotli
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/common/constants.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/common/context.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/common/dictionary.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/common/dictionary.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/common/transform.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/dec/bit_reader.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/dec/bit_reader.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/dec/decode.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/dec/huffman.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/dec/huffman.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/dec/prefix.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/backward_references.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/backward_references.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/backward_references_hq.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/backward_references_hq.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/backward_references_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/bit_cost.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/bit_cost.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/bit_cost_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/block_splitter.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/block_splitter.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/block_splitter_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/cluster.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/cluster.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/cluster_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/command.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/command.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/encode.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/fast_log.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/fast_log.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/histogram.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/histogram.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/histogram_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/literal_cost.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/literal_cost.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/prefix.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/ringbuffer.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/static_dict.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/static_dict.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/utf8_util.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/utf8_util.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/include/brotli/decode.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/include/brotli/encode.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/include/brotli/types.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
TYPE: LicenseType.mit
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/constants.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/context.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/dictionary.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/dictionary.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/transform.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/dec/bit_reader.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/dec/bit_reader.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/dec/decode.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/dec/huffman.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/dec/huffman.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/dec/prefix.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/backward_references.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/backward_references.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/backward_references_hq.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/backward_references_hq.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/backward_references_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/bit_cost.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/bit_cost.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/bit_cost_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/block_splitter.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/block_splitter.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/block_splitter_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/cluster.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/cluster.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/cluster_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/command.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/command.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/encode.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/fast_log.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/fast_log.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/histogram.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/histogram.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/histogram_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/literal_cost.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/literal_cost.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/prefix.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/ringbuffer.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/static_dict.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/static_dict.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/utf8_util.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/utf8_util.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/include/brotli/decode.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/include/brotli/encode.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/include/brotli/types.h
|
||||
----------------------------------------------------------------------------------------------------
|
||||
Copyright 2013 Google 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 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: libwebp
|
||||
ORIGIN: ../../../flutter/third_party/libwebp/imageio/wicdec.c + ../../../flutter/third_party/libwebp/COPYING
|
||||
@@ -48116,6 +48310,39 @@ 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: brotli
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/block_encoder_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/brotli_bit_stream.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/brotli_bit_stream.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/tools/brotli.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
TYPE: LicenseType.mit
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/block_encoder_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/brotli_bit_stream.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/brotli_bit_stream.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/tools/brotli.c
|
||||
----------------------------------------------------------------------------------------------------
|
||||
Copyright 2014 Google 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 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: libwebp
|
||||
ORIGIN: ../../../flutter/third_party/libwebp/imageio/webpdec.c + ../../../flutter/third_party/libwebp/COPYING
|
||||
@@ -48612,6 +48839,59 @@ in the file LICENSE in the source distribution or at
|
||||
https://www.openssl.org/source/license.html
|
||||
====================================================================================================
|
||||
|
||||
====================================================================================================
|
||||
LIBRARY: brotli
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/dec/state.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/dec/state.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/compress_fragment.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/compress_fragment.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/compress_fragment_two_pass.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/compress_fragment_two_pass.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/dictionary_hash.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/dictionary_hash.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/entropy_encode_static.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/memory.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/metablock.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/metablock.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/metablock_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/static_dict_lut.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
TYPE: LicenseType.mit
|
||||
FILE: ../../../flutter/third_party/brotli/c/dec/state.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/dec/state.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/compress_fragment.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/compress_fragment.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/compress_fragment_two_pass.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/compress_fragment_two_pass.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/dictionary_hash.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/dictionary_hash.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/entropy_encode_static.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/memory.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/metablock.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/metablock.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/metablock_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/static_dict_lut.h
|
||||
----------------------------------------------------------------------------------------------------
|
||||
Copyright 2015 Google 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 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: libwebp
|
||||
ORIGIN: ../../../flutter/third_party/libwebp/extras/extras.c + ../../../flutter/third_party/libwebp/COPYING
|
||||
@@ -49047,12 +49327,14 @@ found in the LICENSE file
|
||||
|
||||
====================================================================================================
|
||||
LIBRARY: accessibility
|
||||
LIBRARY: brotli
|
||||
ORIGIN: ../../../flutter/third_party/accessibility/ax/ax_tree_data.cc + ../../../flutter/third_party/accessibility/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/accessibility/ax/ax_tree_data.h + ../../../flutter/third_party/accessibility/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/accessibility/ax/platform/ax_platform_node_win.cc + ../../../flutter/third_party/accessibility/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/accessibility/ax/platform/ax_platform_node_win.h + ../../../flutter/third_party/accessibility/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/accessibility/ax/platform/test_ax_node_wrapper.cc + ../../../flutter/third_party/accessibility/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/accessibility/ax/platform/test_ax_node_wrapper.h + ../../../flutter/third_party/accessibility/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/fuzz/decode_fuzzer.c + ../../../LICENSE
|
||||
TYPE: LicenseType.bsd
|
||||
FILE: ../../../flutter/third_party/accessibility/ax/ax_tree_data.cc
|
||||
FILE: ../../../flutter/third_party/accessibility/ax/ax_tree_data.h
|
||||
@@ -49060,6 +49342,7 @@ FILE: ../../../flutter/third_party/accessibility/ax/platform/ax_platform_node_wi
|
||||
FILE: ../../../flutter/third_party/accessibility/ax/platform/ax_platform_node_win.h
|
||||
FILE: ../../../flutter/third_party/accessibility/ax/platform/test_ax_node_wrapper.cc
|
||||
FILE: ../../../flutter/third_party/accessibility/ax/platform/test_ax_node_wrapper.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/fuzz/decode_fuzzer.c
|
||||
----------------------------------------------------------------------------------------------------
|
||||
Copyright 2015 The Chromium Authors. All rights reserved.
|
||||
|
||||
@@ -49125,6 +49408,51 @@ OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
====================================================================================================
|
||||
|
||||
====================================================================================================
|
||||
LIBRARY: brotli
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/common/constants.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/common/platform.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/common/platform.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/common/version.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/hash_forgetful_chain_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/hash_to_binary_tree_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/memory.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/quality.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/fuzz/run_decode_fuzzer.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/include/brotli/port.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
TYPE: LicenseType.mit
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/constants.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/platform.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/platform.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/version.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/hash_forgetful_chain_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/hash_to_binary_tree_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/memory.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/quality.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/fuzz/run_decode_fuzzer.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/include/brotli/port.h
|
||||
----------------------------------------------------------------------------------------------------
|
||||
Copyright 2016 Google 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 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: libwebp
|
||||
ORIGIN: ../../../flutter/third_party/libwebp/extras/get_disto.c + ../../../flutter/third_party/libwebp/COPYING
|
||||
@@ -49739,6 +50067,47 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
====================================================================================================
|
||||
|
||||
====================================================================================================
|
||||
LIBRARY: brotli
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/common/shared_dictionary.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/common/shared_dictionary_internal.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/compound_dictionary.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/compound_dictionary.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/encoder_dict.c + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/encoder_dict.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/params.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/include/brotli/shared_dictionary.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
TYPE: LicenseType.mit
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/shared_dictionary.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/common/shared_dictionary_internal.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/compound_dictionary.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/compound_dictionary.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/encoder_dict.c
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/encoder_dict.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/params.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/include/brotli/shared_dictionary.h
|
||||
----------------------------------------------------------------------------------------------------
|
||||
Copyright 2017 Google 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 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: libwebp
|
||||
ORIGIN: ../../../flutter/third_party/libwebp/extras/vwebp_sdl.c + ../../../flutter/third_party/libwebp/COPYING
|
||||
@@ -50225,6 +50594,35 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
====================================================================================================
|
||||
|
||||
====================================================================================================
|
||||
LIBRARY: brotli
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/hash_composite_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/hash_rolling_inc.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
TYPE: LicenseType.mit
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/hash_composite_inc.h
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/hash_rolling_inc.h
|
||||
----------------------------------------------------------------------------------------------------
|
||||
Copyright 2018 Google 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 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: libwebp
|
||||
ORIGIN: ../../../flutter/third_party/libwebp/src/dsp/cost_neon.c + ../../../flutter/third_party/libwebp/COPYING
|
||||
@@ -53073,6 +53471,33 @@ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
====================================================================================================
|
||||
|
||||
====================================================================================================
|
||||
LIBRARY: brotli
|
||||
ORIGIN: ../../../flutter/third_party/brotli/c/enc/state.h + ../../../flutter/third_party/brotli/LICENSE
|
||||
TYPE: LicenseType.mit
|
||||
FILE: ../../../flutter/third_party/brotli/c/enc/state.h
|
||||
----------------------------------------------------------------------------------------------------
|
||||
Copyright 2022 Google 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 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: libwebp
|
||||
ORIGIN: ../../../flutter/third_party/libwebp/sharpyuv/sharpyuv.c + ../../../flutter/third_party/libwebp/COPYING
|
||||
@@ -71010,4 +71435,4 @@ freely, subject to the following restrictions:
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
====================================================================================================
|
||||
|
||||
Total license count: 909
|
||||
Total license count: 918
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
Signature: dbe5e49be0f842a35b32e2e3ecfff7a6
|
||||
Signature: e2ff885216f18058fdca914a1cc4149c
|
||||
|
||||
|
||||
@@ -9,6 +9,8 @@ import 'dart:typed_data';
|
||||
import 'package:args/command_runner.dart';
|
||||
import 'package:convert/convert.dart';
|
||||
import 'package:crypto/crypto.dart' as crypto;
|
||||
import 'package:csslib/parser.dart' as csslib;
|
||||
import 'package:csslib/visitor.dart' show StyleSheet, UriTerm, Visitor;
|
||||
import 'package:http/http.dart' as http;
|
||||
import 'package:path/path.dart' as path;
|
||||
|
||||
@@ -58,29 +60,12 @@ class RollFallbackFontsCommand extends Command<bool>
|
||||
}
|
||||
|
||||
Future<void> _generateFallbackFontData() async {
|
||||
if (apiKey.isEmpty) {
|
||||
throw UsageException('No Google Fonts API key provided', argParser.usage);
|
||||
}
|
||||
final http.Client client = http.Client();
|
||||
final http.Response response = await client.get(Uri.parse(
|
||||
'https://www.googleapis.com/webfonts/v1/webfonts?key=$apiKey'));
|
||||
if (response.statusCode != 200) {
|
||||
throw ToolExit('Failed to download Google Fonts list.');
|
||||
}
|
||||
final Map<String, dynamic> googleFontsResult =
|
||||
jsonDecode(response.body) as Map<String, dynamic>;
|
||||
final List<Map<String, dynamic>> fontDatas =
|
||||
(googleFontsResult['items'] as List<dynamic>)
|
||||
.cast<Map<String, dynamic>>();
|
||||
final List<String> fallbackFonts = <String>[];
|
||||
final Map<String, Uri> urlForFamily = <String, Uri>{};
|
||||
for (final Map<String, Object?> fontData in fontDatas) {
|
||||
if (fallbackFonts.contains(fontData['family'])) {
|
||||
final files = fontData['files']! as Map<String, Object?>;
|
||||
final Uri uri = Uri.parse(files['regular']! as String)
|
||||
.replace(scheme: 'https');
|
||||
urlForFamily[fontData['family']! as String] = uri;
|
||||
}
|
||||
}
|
||||
await _addApiFallbackFonts(client, fallbackFonts, urlForFamily);
|
||||
await _addSplitFallbackFonts(client, fallbackFonts, urlForFamily);
|
||||
|
||||
final Map<String, String> charsetForFamily = <String, String>{};
|
||||
final io.Directory fontDir = await io.Directory.systemTemp.createTemp('flutter_fallback_fonts');
|
||||
print('Downloading fonts into temp directory: ${fontDir.path}');
|
||||
@@ -106,7 +91,7 @@ class RollFallbackFontsCommand extends Command<bool>
|
||||
io.File(path.join(fontDir.path, urlSuffix));
|
||||
|
||||
final Uint8List bodyBytes = fontResponse.bodyBytes;
|
||||
if (!_checkForLicenseAttribution(bodyBytes)) {
|
||||
if (!await _checkForLicenseAttribution(client, urlSuffix, bodyBytes)) {
|
||||
throw ToolExit(
|
||||
'Expected license attribution not found in file: $urlString');
|
||||
}
|
||||
@@ -159,24 +144,17 @@ class RollFallbackFontsCommand extends Command<bool>
|
||||
sb.writeln('// dev/roll_fallback_fonts.dart');
|
||||
sb.writeln("import 'noto_font.dart';");
|
||||
sb.writeln();
|
||||
sb.writeln('List<NotoFont> getFallbackFontList(bool useColorEmoji) => <NotoFont>[');
|
||||
sb.writeln('List<NotoFont> getFallbackFontList() => <NotoFont>[');
|
||||
|
||||
for (final _Font font in fonts) {
|
||||
final String family = font.family;
|
||||
String enabledArgument = '';
|
||||
if (family == 'Noto Emoji') {
|
||||
enabledArgument = 'enabled: !useColorEmoji, ';
|
||||
}
|
||||
if (family == 'Noto Color Emoji') {
|
||||
enabledArgument = 'enabled: useColorEmoji, ';
|
||||
}
|
||||
final String urlString = urlForFamily[family]!.toString();
|
||||
if (!urlString.startsWith(expectedUrlPrefix)) {
|
||||
throw ToolExit(
|
||||
'Unexpected url format received from Google Fonts API: $urlString.');
|
||||
}
|
||||
final String urlSuffix = urlString.substring(expectedUrlPrefix.length);
|
||||
sb.writeln(" NotoFont('$family', $enabledArgument'$urlSuffix'),");
|
||||
sb.writeln(" NotoFont('$family', '$urlSuffix'),");
|
||||
}
|
||||
sb.writeln('];');
|
||||
sb.writeln();
|
||||
@@ -328,12 +306,80 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
'--deps-file=$depFilePath'
|
||||
]);
|
||||
}
|
||||
|
||||
Future<void> _addApiFallbackFonts(
|
||||
http.Client client,
|
||||
List<String> fallbackFonts,
|
||||
Map<String, Uri> urlForFamily,
|
||||
) async {
|
||||
if (apiKey.isEmpty) {
|
||||
throw UsageException('No Google Fonts API key provided', argParser.usage);
|
||||
}
|
||||
final http.Response response = await client.get(Uri.parse(
|
||||
'https://www.googleapis.com/webfonts/v1/webfonts?key=$apiKey'));
|
||||
if (response.statusCode != 200) {
|
||||
throw ToolExit('Failed to download Google Fonts list.');
|
||||
}
|
||||
final Map<String, dynamic> googleFontsResult =
|
||||
jsonDecode(response.body) as Map<String, dynamic>;
|
||||
final List<Map<String, dynamic>> fontDatas =
|
||||
(googleFontsResult['items'] as List<dynamic>)
|
||||
.cast<Map<String, dynamic>>();
|
||||
for (final Map<String, Object?> fontData in fontDatas) {
|
||||
final String family = fontData['family']! as String;
|
||||
if (apiFallbackFonts.contains(family)) {
|
||||
final files = fontData['files']! as Map<String, Object?>;
|
||||
final Uri uri = Uri.parse(files['regular']! as String)
|
||||
.replace(scheme: 'https');
|
||||
urlForFamily[family] = uri;
|
||||
fallbackFonts.add(family);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> _addSplitFallbackFonts(
|
||||
http.Client client,
|
||||
List<String> fallbackFonts,
|
||||
Map<String, Uri> urlForFamily,
|
||||
) async {
|
||||
for (final String font in splitFallbackFonts) {
|
||||
final String modifiedFontName = font.replaceAll(' ', '+');
|
||||
final Uri cssUri = Uri.parse(
|
||||
'https://fonts.googleapis.com/css2?family=$modifiedFontName');
|
||||
final http.Response response =
|
||||
await client.get(cssUri, headers: <String, String>{
|
||||
// Spoof the User-Agent so Google Fonts serves WOFF2 fonts
|
||||
'User-Agent':
|
||||
'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) '
|
||||
'Chrome/112.0.0.0 Safari/537.36'
|
||||
});
|
||||
final String cssString = response.body;
|
||||
final StyleSheet stylesheet = csslib.parse(cssString);
|
||||
final UriCollector uriCollector = UriCollector();
|
||||
stylesheet.visit(uriCollector);
|
||||
int familyCount = 0;
|
||||
for (final Uri uri in uriCollector.uris) {
|
||||
final String fontName = '$font $familyCount';
|
||||
fallbackFonts.add(fontName);
|
||||
urlForFamily[fontName] = uri;
|
||||
familyCount += 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const List<String> fallbackFonts = <String>[
|
||||
class UriCollector extends Visitor {
|
||||
final List<Uri> uris = <Uri>[];
|
||||
|
||||
@override
|
||||
void visitUriTerm(UriTerm uriTerm) {
|
||||
uris.add(Uri.parse(uriTerm.value as String));
|
||||
}
|
||||
}
|
||||
|
||||
/// Fonts that should be downloaded directly from the Google Fonts API.
|
||||
const List<String> apiFallbackFonts = <String>[
|
||||
'Noto Sans',
|
||||
'Noto Color Emoji',
|
||||
'Noto Emoji',
|
||||
'Noto Music',
|
||||
'Noto Sans Symbols',
|
||||
'Noto Sans Symbols 2',
|
||||
@@ -478,24 +524,31 @@ const List<String> fallbackFonts = <String>[
|
||||
'Noto Serif Tibetan',
|
||||
];
|
||||
|
||||
bool _checkForLicenseAttribution(Uint8List fontBytes) {
|
||||
final ByteData fontData = fontBytes.buffer.asByteData();
|
||||
final int codePointCount = fontData.lengthInBytes ~/ 2;
|
||||
/// Fonts which are split up into several smaller subfonts. These need special
|
||||
/// handling.
|
||||
const List<String> splitFallbackFonts = <String>[
|
||||
'Noto Color Emoji',
|
||||
];
|
||||
|
||||
Future<bool> _checkForLicenseAttribution(
|
||||
http.Client client,
|
||||
String urlSuffix,
|
||||
Uint8List fontBytes,
|
||||
) async {
|
||||
const String googleFontsUpstream =
|
||||
'https://github.com/google/fonts/tree/main/ofl';
|
||||
const String attributionString =
|
||||
'This Font Software is licensed under the SIL Open Font License, Version 1.1.';
|
||||
for (int i = 0; i < codePointCount - attributionString.length; i++) {
|
||||
bool match = true;
|
||||
for (int j = 0; j < attributionString.length; j++) {
|
||||
if (fontData.getUint16((i + j) * 2) != attributionString.codeUnitAt(j)) {
|
||||
match = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (match) {
|
||||
return true;
|
||||
}
|
||||
|
||||
final String fontPackageName = urlSuffix.split('/').first;
|
||||
final String fontLicenseUrl = '$googleFontsUpstream/$fontPackageName/OFL.txt';
|
||||
final http.Response response = await client.get(Uri.parse(fontLicenseUrl));
|
||||
if (response.statusCode != 200) {
|
||||
throw ToolExit('Failed to download `$fontPackageName` license at $fontLicenseUrl');
|
||||
}
|
||||
return false;
|
||||
final String licenseString = response.body;
|
||||
|
||||
return licenseString.contains(attributionString);
|
||||
}
|
||||
|
||||
class _Font {
|
||||
|
||||
@@ -572,8 +572,6 @@ class BrowserPlatform extends PlatformPlugin {
|
||||
<script>
|
||||
_flutter.loader.load({
|
||||
config: {
|
||||
// Some of our tests rely on color emoji
|
||||
useColorEmoji: true,
|
||||
canvasKitVariant: "${getCanvasKitVariant()}",
|
||||
canvasKitBaseUrl: "/canvaskit",
|
||||
},
|
||||
|
||||
@@ -337,12 +337,6 @@ class FlutterConfiguration {
|
||||
/// Defaults to 'https://fonts.gstatic.com/s/'.
|
||||
String get fontFallbackBaseUrl =>
|
||||
_configuration?.fontFallbackBaseUrl ?? 'https://fonts.gstatic.com/s/';
|
||||
|
||||
/// Whether to use color emojis or not.
|
||||
///
|
||||
/// The font used to render color emojis is large (~24MB). This configuration
|
||||
/// gives developers the ability to decide for their app.
|
||||
bool get useColorEmoji => _configuration?.useColorEmoji ?? false;
|
||||
}
|
||||
|
||||
@JS('window.flutterConfiguration')
|
||||
@@ -399,10 +393,6 @@ extension JsFlutterConfigurationExtension on JsFlutterConfiguration {
|
||||
@JS('fontFallbackBaseUrl')
|
||||
external JSString? get _fontFallbackBaseUrl;
|
||||
String? get fontFallbackBaseUrl => _fontFallbackBaseUrl?.toDart;
|
||||
|
||||
@JS('useColorEmoji')
|
||||
external JSBoolean? get _useColorEmoji;
|
||||
bool? get useColorEmoji => _useColorEmoji?.toDart;
|
||||
}
|
||||
|
||||
/// A JavaScript entrypoint that allows developer to set rendering backend
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -15,10 +15,7 @@ abstract class FallbackFontRegistry {
|
||||
/// Global static font fallback data.
|
||||
class FontFallbackManager {
|
||||
factory FontFallbackManager(FallbackFontRegistry registry) =>
|
||||
FontFallbackManager._(
|
||||
registry,
|
||||
getFallbackFontList(configuration.useColorEmoji)
|
||||
);
|
||||
FontFallbackManager._(registry, getFallbackFontList());
|
||||
|
||||
FontFallbackManager._(this.registry, this.fallbackFonts) :
|
||||
_notoSansSC = fallbackFonts.singleWhere((NotoFont font) => font.name == 'Noto Sans SC'),
|
||||
@@ -143,7 +140,7 @@ class FontFallbackManager {
|
||||
void registerFallbackFont(String family) {
|
||||
// Insert emoji font before all other fallback fonts so we use the emoji
|
||||
// whenever it's available.
|
||||
if (family == 'Noto Color Emoji' || family == 'Noto Emoji') {
|
||||
if (family.startsWith('Noto Color Emoji') || family == 'Noto Emoji') {
|
||||
if (globalFontFallbacks.first == 'Roboto') {
|
||||
globalFontFallbacks.insert(1, family);
|
||||
} else {
|
||||
|
||||
@@ -3,17 +3,11 @@
|
||||
// found in the LICENSE file.
|
||||
|
||||
class NotoFont {
|
||||
NotoFont(this.name, this.url, {this.enabled = true});
|
||||
NotoFont(this.name, this.url);
|
||||
|
||||
final String name;
|
||||
final String url;
|
||||
|
||||
/// `true` if this font is to be considered as a fallback font. Almost all
|
||||
/// fonts are enabled, but [enabled] may be `false` to exclude a font. This is
|
||||
/// used to choose between color and monochrome emoji fonts - only one of them
|
||||
/// is enabled.
|
||||
final bool enabled;
|
||||
|
||||
final int index = _index++;
|
||||
static int _index = 0;
|
||||
|
||||
@@ -35,12 +29,8 @@ class NotoFont {
|
||||
/// points in a component or a font, so this is not stored, but can be recovered
|
||||
/// via the map from code-point to component.
|
||||
class FallbackFontComponent {
|
||||
FallbackFontComponent(this._allFonts);
|
||||
final List<NotoFont> _allFonts;
|
||||
late final List<NotoFont> _activeFonts = List<NotoFont>.unmodifiable(
|
||||
_allFonts.where((NotoFont font) => font.enabled));
|
||||
|
||||
List<NotoFont> get fonts => _activeFonts;
|
||||
FallbackFontComponent(this.fonts);
|
||||
final List<NotoFont> fonts;
|
||||
|
||||
/// During fallback font selection this is the number of missing code points
|
||||
/// that are covered by this component.
|
||||
|
||||
@@ -21,6 +21,7 @@ dev_dependencies:
|
||||
archive: 3.6.1
|
||||
args: any
|
||||
async: any
|
||||
csslib: 1.0.0
|
||||
convert: any
|
||||
crypto: any
|
||||
html: 0.15.4
|
||||
|
||||
@@ -86,10 +86,6 @@ void testMain() {
|
||||
expect(defaultConfig.canvasKitVariant, CanvasKitVariant.auto);
|
||||
});
|
||||
|
||||
test('useColorEmoji', () {
|
||||
expect(defaultConfig.useColorEmoji, isFalse);
|
||||
});
|
||||
|
||||
test('multiViewEnabled', () {
|
||||
expect(defaultConfig.multiViewEnabled, isFalse);
|
||||
});
|
||||
@@ -133,14 +129,6 @@ void testMain() {
|
||||
});
|
||||
});
|
||||
|
||||
test('useColorEmoji', () {
|
||||
final FlutterConfiguration config = FlutterConfiguration();
|
||||
config.setUserConfiguration(
|
||||
js_util.jsify(<String, Object?>{'useColorEmoji': true}) as JsFlutterConfiguration,
|
||||
);
|
||||
expect(config.useColorEmoji, isTrue);
|
||||
});
|
||||
|
||||
test('multiViewEnabled', () {
|
||||
final FlutterConfiguration config = FlutterConfiguration();
|
||||
config.setUserConfiguration(
|
||||
|
||||
@@ -149,7 +149,7 @@ void testMain() {
|
||||
renderer.fontCollection.fontFallbackManager!.globalFontFallbacks,
|
||||
<String>[
|
||||
'Roboto',
|
||||
'Noto Color Emoji',
|
||||
'Noto Color Emoji 9',
|
||||
'Noto Sans Arabic',
|
||||
]);
|
||||
});
|
||||
@@ -171,7 +171,7 @@ void testMain() {
|
||||
await renderer.fontCollection.fontFallbackManager!.debugWhenIdle();
|
||||
|
||||
expect(renderer.fontCollection.fontFallbackManager!.globalFontFallbacks,
|
||||
contains('Noto Color Emoji'));
|
||||
contains('Noto Color Emoji 9'));
|
||||
|
||||
final ui.PictureRecorder recorder = ui.PictureRecorder();
|
||||
final ui.Canvas canvas = ui.Canvas(recorder);
|
||||
@@ -270,17 +270,9 @@ void testMain() {
|
||||
renderer.fontCollection.fontFallbackManager!.codePointToComponents
|
||||
.forEachRange((int start, int end, FallbackFontComponent component) {
|
||||
if (component.fonts.isNotEmpty) {
|
||||
bool componentHasEnabledFont = false;
|
||||
for (final NotoFont font in component.fonts) {
|
||||
if (font.enabled) {
|
||||
testedFonts.add(font.name);
|
||||
componentHasEnabledFont = true;
|
||||
}
|
||||
}
|
||||
if (componentHasEnabledFont) {
|
||||
for (int codePoint = start; codePoint <= end; codePoint++) {
|
||||
supportedUniqueCodePoints.add(codePoint);
|
||||
}
|
||||
testedFonts.addAll(component.fonts.map((font) => font.name));
|
||||
for (int codePoint = start; codePoint <= end; codePoint++) {
|
||||
supportedUniqueCodePoints.add(codePoint);
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -290,7 +282,18 @@ void testMain() {
|
||||
expect(
|
||||
testedFonts,
|
||||
unorderedEquals(<String>{
|
||||
'Noto Color Emoji',
|
||||
'Noto Color Emoji 0',
|
||||
'Noto Color Emoji 1',
|
||||
'Noto Color Emoji 2',
|
||||
'Noto Color Emoji 3',
|
||||
'Noto Color Emoji 4',
|
||||
'Noto Color Emoji 5',
|
||||
'Noto Color Emoji 6',
|
||||
'Noto Color Emoji 7',
|
||||
'Noto Color Emoji 8',
|
||||
'Noto Color Emoji 9',
|
||||
'Noto Color Emoji 10',
|
||||
'Noto Color Emoji 11',
|
||||
'Noto Music',
|
||||
'Noto Sans',
|
||||
'Noto Sans Symbols',
|
||||
@@ -496,7 +499,7 @@ void testMain() {
|
||||
|
||||
// Make sure we didn't download the fallback font.
|
||||
expect(renderer.fontCollection.fontFallbackManager!.globalFontFallbacks,
|
||||
isNot(contains('Noto Color Emoji')));
|
||||
isNot(contains('Noto Color Emoji 9')));
|
||||
});
|
||||
},
|
||||
// HTML renderer doesn't use the fallback font manager.
|
||||
|
||||
@@ -568,6 +568,15 @@ Future<void> testMain() async {
|
||||
region: ui.Rect.fromLTRB(0, 0, testWidth, paragraph.height + 20),
|
||||
);
|
||||
});
|
||||
|
||||
test('text style - woff2 font', () async {
|
||||
await testTextStyle(
|
||||
'emoji woff2',
|
||||
outerText: '🙂 🇺🇸 🙋♂️',
|
||||
innerText: '',
|
||||
fontSize: 24,
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
/// A convenience function for testing paragraph and text styles.
|
||||
|
||||
@@ -21623,6 +21623,28 @@ 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.
|
||||
--------------------------------------------------------------------------------
|
||||
brotli
|
||||
|
||||
Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors.
|
||||
|
||||
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.
|
||||
--------------------------------------------------------------------------------
|
||||
icu
|
||||
|
||||
Copyright (c) 2009, International Business Machines Corporation and
|
||||
@@ -25342,6 +25364,28 @@ 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.
|
||||
--------------------------------------------------------------------------------
|
||||
brotli
|
||||
|
||||
Copyright 2010 Google 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 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.
|
||||
--------------------------------------------------------------------------------
|
||||
libwebp
|
||||
|
||||
Copyright 2010 Google Inc. All Rights Reserved.
|
||||
@@ -25909,6 +25953,28 @@ 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.
|
||||
--------------------------------------------------------------------------------
|
||||
brotli
|
||||
|
||||
Copyright 2013 Google 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 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.
|
||||
--------------------------------------------------------------------------------
|
||||
libwebp
|
||||
|
||||
Copyright 2013 Google Inc. All Rights Reserved.
|
||||
@@ -26156,6 +26222,28 @@ 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.
|
||||
--------------------------------------------------------------------------------
|
||||
brotli
|
||||
|
||||
Copyright 2014 Google 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 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.
|
||||
--------------------------------------------------------------------------------
|
||||
libwebp
|
||||
|
||||
Copyright 2014 Google Inc. All Rights Reserved.
|
||||
@@ -26384,6 +26472,28 @@ 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.
|
||||
--------------------------------------------------------------------------------
|
||||
brotli
|
||||
|
||||
Copyright 2015 Google 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 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.
|
||||
--------------------------------------------------------------------------------
|
||||
libwebp
|
||||
|
||||
Copyright 2015 Google Inc. All Rights Reserved.
|
||||
@@ -26489,6 +26599,7 @@ Use of this source code is governed by a BSD-style license that can be
|
||||
found in the LICENSE file
|
||||
--------------------------------------------------------------------------------
|
||||
accessibility
|
||||
brotli
|
||||
skia
|
||||
|
||||
Copyright 2015 The Chromium Authors. All rights reserved.
|
||||
@@ -26576,6 +26687,28 @@ 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.
|
||||
--------------------------------------------------------------------------------
|
||||
brotli
|
||||
|
||||
Copyright 2016 Google 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 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.
|
||||
--------------------------------------------------------------------------------
|
||||
libwebp
|
||||
|
||||
Copyright 2016 Google Inc. All Rights Reserved.
|
||||
@@ -26833,6 +26966,28 @@ 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.
|
||||
--------------------------------------------------------------------------------
|
||||
brotli
|
||||
|
||||
Copyright 2017 Google 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 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.
|
||||
--------------------------------------------------------------------------------
|
||||
libwebp
|
||||
|
||||
Copyright 2017 Google Inc. All Rights Reserved.
|
||||
@@ -27056,6 +27211,28 @@ 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.
|
||||
--------------------------------------------------------------------------------
|
||||
brotli
|
||||
|
||||
Copyright 2018 Google 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 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.
|
||||
--------------------------------------------------------------------------------
|
||||
libwebp
|
||||
|
||||
Copyright 2018 Google Inc. All Rights Reserved.
|
||||
@@ -28395,6 +28572,28 @@ 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.
|
||||
--------------------------------------------------------------------------------
|
||||
brotli
|
||||
|
||||
Copyright 2022 Google 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 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.
|
||||
--------------------------------------------------------------------------------
|
||||
libwebp
|
||||
|
||||
Copyright 2022 Google Inc. All Rights Reserved.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
import("//build/toolchain/wasm.gni")
|
||||
|
||||
# This toolchain is only to be used by the canvaskit target below.
|
||||
# This toolchain is only to be used by canvaskit_group below.
|
||||
wasm_toolchain("canvaskit") {
|
||||
extra_toolchain_args = {
|
||||
# Include ICU data.
|
||||
|
||||
@@ -795,6 +795,7 @@ def to_gn_wasm_args(args, gn_args):
|
||||
gn_args['skia_enable_skottie'] = False
|
||||
gn_args['icu_use_data_file'] = False
|
||||
gn_args['skia_use_freetype'] = True
|
||||
gn_args['flutter_use_freetype_woff2'] = True
|
||||
gn_args['skia_use_harfbuzz'] = True
|
||||
gn_args['skia_use_fontconfig'] = False
|
||||
gn_args['skia_use_libheif'] = False
|
||||
|
||||
@@ -86,6 +86,9 @@ FileType identifyFile(String name, Reader reader) {
|
||||
path.split(name).reversed.take(6).toList().reversed.join('/') == 'third_party/angle/src/common/fuchsia_egl/fuchsia_egl_backend.h') { // has bogus but benign "authors" reference, reported to author and legal team
|
||||
return FileType.binary;
|
||||
}
|
||||
if (path.split(name).reversed.take(6).toList().reversed.join('/') == 'flutter/third_party/brotli/c/common/dictionary.bin.br') { // Brotli-compressed Brotli dictionary
|
||||
return FileType.binary;
|
||||
}
|
||||
final String base = path.basename(name);
|
||||
if (base.startsWith('._')) {
|
||||
bytes ??= reader();
|
||||
|
||||
@@ -50,6 +50,15 @@ final Set<String> skippedPaths = <String>{
|
||||
r'flutter/third_party/boringssl/src/fuzz', // testing tools, not shipped
|
||||
r'flutter/third_party/boringssl/src/rust', // rust-related code is not shipped
|
||||
r'flutter/third_party/boringssl/src/util', // code generators, not shipped
|
||||
r'flutter/third_party/brotli/csharp', // C# code, not shipped.
|
||||
r'flutter/third_party/brotli/docs', // Docs, not shipped.
|
||||
r'flutter/third_party/brotli/go', // Go code, not shipped.
|
||||
r'flutter/third_party/brotli/java', // Java code, not shipped.
|
||||
r'flutter/third_party/brotli/js', // JavaScript code, not shipped.
|
||||
r'flutter/third_party/brotli/python', // Python code, not shipped.
|
||||
r'flutter/third_party/brotli/research', // Research tools, not shipped.
|
||||
r'flutter/third_party/brotli/scripts', // Scripts, not shipped.
|
||||
r'flutter/third_party/brotli/tests', // Tests, not shipped.
|
||||
r'flutter/third_party/dart/benchmarks', // not shipped in binary
|
||||
r'flutter/third_party/dart/build', // not shipped in binary
|
||||
r'flutter/third_party/dart/docs', // not shipped in binary
|
||||
|
||||
@@ -593,6 +593,13 @@ final List<RegExp> csReferencesByType = <RegExp>[
|
||||
multiLine: true,
|
||||
),
|
||||
|
||||
// Brotli (MIT)
|
||||
RegExp(
|
||||
kIndent +
|
||||
r'Distributed under (MIT) license\.',
|
||||
multiLine: true
|
||||
),
|
||||
|
||||
RegExp(
|
||||
kIndent +
|
||||
r'This software is made available under the terms of the (ICU) License -- ICU 1\.8\.1 and later\.'
|
||||
|
||||
Reference in New Issue
Block a user