diff --git a/engine/src/flutter/ci/builders/linux_unopt.json b/engine/src/flutter/ci/builders/linux_unopt.json index 78db15b09e..32b9e0201e 100644 --- a/engine/src/flutter/ci/builders/linux_unopt.json +++ b/engine/src/flutter/ci/builders/linux_unopt.json @@ -78,6 +78,29 @@ } ] }, + { + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "dependencies": [], + "gn": [ + "--android", + "--embedder-for-target", + "--target-dir", + "android_embedder_debug_unopt", + "--unoptimized", + "--rbe", + "--no-goma" + ], + "name": "android_embedder_debug_unopt", + "ninja": { + "config": "android_embedder_debug_unopt", + "targets": [ + "flutter/shell/platform/embedder:flutter_engine" + ] + } + }, { "drone_dimensions": [ "device_type=none", diff --git a/engine/src/flutter/shell/platform/embedder/BUILD.gn b/engine/src/flutter/shell/platform/embedder/BUILD.gn index cf26165640..aa97972de1 100644 --- a/engine/src/flutter/shell/platform/embedder/BUILD.gn +++ b/engine/src/flutter/shell/platform/embedder/BUILD.gn @@ -177,6 +177,12 @@ template("embedder_source_set") { ] } + # Depend on 'icudtl.dat.S' to avoid dynamic lookups of engine library symbols. + if (is_android) { + deps += [ "//flutter/shell/platform/android:icudtl_asm" ] + sources += [ "$root_build_dir/gen/flutter/shell/platform/android/third_party/icu/flutter/icudtl.dat.S" ] + } + public_configs += [ ":embedder_gpu_configuration_config", ":embedder_header_config",