Update the ICU library to 2b50fa94b07b601293d7c1f791e853bba8ffbb84 (flutter/engine#28646)

Originally I wanted to update to 3f443830bd52d3aa5fab3c1aa2b6d0848bb5039d.
However, that change had a problem with a misspelled build target which
I also had to fix.

But, that fix turned out to be infeasible on its own, and led to a
bugfix in `gn`.

Fixes:

- Updates gn to commit 0153d369bbccc908f4da4993b1ba82728055926a to take
  in the fix at https://gn-review.googlesource.com/c/gn/+/12220 which
  prevented the correct treatment of target refactoring.

- Updates ICU to commit 2b50fa94b07b601293d7c1f791e853bba8ffbb84 to
  correct the target naming, which should now work thanks to the
  previous update to gn.  See
  https://gn-review.googlesource.com/c/gn/+/12220 for the details of
  that bug.

- Fixed the visibility declaration in `//flutter/third_party/accessibility:accessibility_config`
  which used to not be enforced due to a bug in `gn` which was fixed in
  https://gn.googlesource.com/gn/+/46b572ce4ceedfe57f4f84051bd7da624c98bf01,
  a revision which we took in by updating `gn` in the first bullet.

Fun times.

See: https://chromium-review.googlesource.com/c/chromium/deps/icu/+/3163524

Please see the linked issue for details about why this update.
This commit is contained in:
Filip Filmar
2021-09-24 12:27:21 -07:00
committed by GitHub
parent 6dd9777440
commit 5debecb677
2 changed files with 6 additions and 3 deletions

4
DEPS
View File

@@ -150,7 +150,7 @@ deps = {
Var('chromium_git') + '/chromium/src/ios.git' + '@' + Var('ios_tools_revision'),
'src/third_party/icu':
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'a38aef9142ace942a8bf166020c569f4cda0f8d3',
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '2b50fa94b07b601293d7c1f791e853bba8ffbb84',
'src/third_party/khronos':
Var('chromium_git') + '/chromium/src/third_party/khronos.git' + '@' + '7122230e90547962e0f0c627f62eeed3c701f275',
@@ -588,7 +588,7 @@ deps = {
'packages': [
{
'package': 'gn/gn/${{platform}}',
'version': 'git_revision:24e2f7df92641de0351a96096fb2c490b2436bb8'
'version': 'git_revision:0153d369bbccc908f4da4993b1ba82728055926a'
},
],
'dep_type': 'cipd',

View File

@@ -6,7 +6,10 @@ import("//flutter/common/config.gni")
import("//flutter/testing/testing.gni")
config("accessibility_config") {
visibility = [ ":*" ]
visibility = [
":*",
"//flutter/shell/platform/common:common_cpp_accessibility",
]
if (is_win) {
# TODO: std::iterator class template is deprecated in C++17
defines = [ "_SILENCE_CXX17_ITERATOR_BASE_CLASS_DEPRECATION_WARNING" ]