[icu] Manual roll of icu (flutter/engine#53199)

Manual roll of the ICU library. This normally happens automatically, but this
time around, ICU folks changed their license, so that needs to be fixed up.
I wish they would stop doing that. :)

This manual change should enable us to turn the auto-roller back on.

https://github.com/flutter/flutter/issues/149684

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
Filip Filmar
2024-06-05 10:11:17 -05:00
committed by GitHub
parent 4c30aee50a
commit 2b043806f5
5 changed files with 11092 additions and 11186 deletions

2
DEPS
View File

@@ -307,7 +307,7 @@ deps = {
Var('chromium_git') + '/external/github.com/google/flatbuffers' + '@' + '0a80646371179f8a7a5c1f42c31ee1d44dcf6709',
'src/flutter/third_party/icu':
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'bad7ddbf921358177e56fd723c2f59f8041a370f',
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '98f2494518c2dbb9c488e83e507b070ea5910e95',
'src/flutter/third_party/gtest-parallel':
Var('chromium_git') + '/external/github.com/google/gtest-parallel' + '@' + '38191e2733d7cbaeaef6a3f1a942ddeb38a2ad14',

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +1,2 @@
Signature: b3ce02b496b8b284656eb974794a7b65
Signature: 44921bea6071222d521ad8c486a1bd58

View File

@@ -461,14 +461,14 @@ class _RepositoryIcuLicenseFile extends _RepositorySingleLicenseFile {
_RepositoryIcuLicenseFile._(_RepositoryDirectory parent, fs.TextFile io, this.template, License license)
: super(parent, io, license);
// Every paragraph of the license is mentioned. All newlines are disregarded [\n+].
static final RegExp _pattern = RegExp(
r'^(UNICODE, INC\. LICENSE AGREEMENT - DATA FILES AND SOFTWARE\n+' // group
r'See Terms of Use (?:.|\n)+?'
r'COPYRIGHT AND PERMISSION NOTICE\n+'
r'Copyright.+\n'
r'Distributed under the Terms of Use in .+\n+'
// Starting from ICU 74.1 this has been changed to Unicode License V3.
r'^(UNICODE LICENSE V3\n+' // group
r'COPYRIGHT AND PERMISSION NOTICE(?:.|\n)+?'
r')(Permission is hereby granted(?:.|\n)+?)' // template group
r'\n+-+\n+'
// From here onwards should be the same as before 74.1
r'(Third-Party Software Licenses\n+' // group
r'This section contains third-party software notices and/or additional\n'
r'terms for licensed third-party software components included within ICU\n'

View File

@@ -61,6 +61,11 @@ final RegExp copyrightMentionOkPattern = RegExp(
r'|const char inflate_copyright\[\] =\n *" inflate 1\.2\.11 Copyright 1995-2017 Mark Adler ";' // found in some freetype files
r'|" Copyright \(C\) 2016 and later: Unicode, Inc\. and others\. License & terms of use: http://www\.unicode\.org/copyright\.html "'
r'|"\* / \\\\& ⁊ # % † ‡ ‧ ° © ® ™]"'
// It is very likely for copyright-like chars to appear in Unicode
// data files in contexts unrelated to copyright.
// Imagine that, who would have thought!
// v--- this one.
r'|"\\\\& ⁊ # % † ‡ ‧ ° © ® ™]"'
r'|" \* Copyright \(C\) International Business Machines\n"'
r'|fprintf\(out, "// Copyright \(C\) 2016 and later: Unicode, Inc\. and others\.\\n"\);'
r'|fprintf\(out, "// License & terms of use: http://www\.unicode\.org/copyright\.html\\n\\n"\);'