Update ICU to ToT and ensure that slimmed down versions of data files are shipped on the mobile platforms. (flutter/engine#4005)

This reduces the size of the ICU data files from 10.3 MB to 6.6 MB (uncompressed). Also allows us to remove version specific hacks from libTXT and dependencies.
This commit is contained in:
Chinmay Garde
2017-08-24 14:26:07 -07:00
committed by GitHub
parent 5f93b1e9f3
commit 6a41695e04
4 changed files with 5 additions and 9 deletions

4
DEPS
View File

@@ -113,7 +113,7 @@ allowed_hosts = [
]
deps = {
'src': 'https://github.com/flutter/buildroot.git' + '@' + '4c89f3144ad56ff2de492700cb607d73e52aa8b2',
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'baaae21dbb12b3d75c99498de79d503989d17e79',
# Fuchsia compatibility
#
@@ -154,7 +154,7 @@ deps = {
Var('chromium_git') + '/chromium/src/ios.git' + '@' + Var('ios_tools_revision'),
'src/third_party/icu':
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'c3f79166089e5360c09e3053fce50e6e296c3204',
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '08cb956852a5ccdba7f9c941728bb833529ba3c6',
'src/dart':
Var('chromium_git') + '/external/github.com/dart-lang/sdk.git' + '@' + Var('dart_revision'),

View File

@@ -130,7 +130,7 @@ copy("flutter_shell_assets") {
visibility = [ ":*" ]
sources = [
"$root_build_dir/icudtl.dat",
"//third_party/icu/android/icudtl.dat",
]
outputs = [

View File

@@ -48,11 +48,7 @@ if (!is_fuchsia_host) {
resource_copy_mac("mac_desktop_resources") {
app_name = "FlutterTester"
if (is_fuchsia_host) {
resources = [ "//third_party/icu/common/icudtl.dat" ]
} else {
resources = [ "//third_party/icu/android/icudtl.dat" ]
}
resources = [ "//third_party/icu/common/icudtl.dat" ]
bundle_directory = "."
}

View File

@@ -178,7 +178,7 @@ copy("framework_icu") {
visibility = [ ":*" ]
set_sources_assignment_filter([])
sources = [
"//third_party/icu/android/icudtl.dat",
"//third_party/icu/ios/icudtl.dat",
]
set_sources_assignment_filter(sources_assignment_filter)
outputs = [