Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 8538585

Browse files
committed
Add build dependencies for Android Embedder
The build of embedded Android depends on the symbols of the 'icudtl.dat', as described in the change '0f32302bc17d39032393b6f287ad5055b89f9392' and '60968c892649301dadb15f4c2ce7329b04bf8827'. fixes flutter/flutter#97347
1 parent 6f499ec commit 8538585

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

shell/platform/embedder/BUILD.gn

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,13 @@ template("embedder_source_set") {
177177
]
178178
}
179179

180+
# For the Android, avoid dynamic lookups of the engine library's symbols need to depend on the 'icudtl.dat.S',
181+
# which comes from the change '0f32302bc17d39032393b6f287ad5055b89f9392' and '60968c892649301dadb15f4c2ce7329b04bf8827'.
182+
if (is_android) {
183+
deps += [ "//flutter/shell/platform/android:icudtl_asm" ]
184+
sources += [ "$root_build_dir/gen/flutter/shell/platform/android/third_party/icu/flutter/icudtl.dat.S" ]
185+
}
186+
180187
public_configs += [
181188
":embedder_gpu_configuration_config",
182189
":embedder_header_config",

0 commit comments

Comments
 (0)