From b7d2386c79d9e496ae2e22a9f8d116625a774d07 Mon Sep 17 00:00:00 2001 From: Gray Mackall Date: Wed, 13 Mar 2024 15:23:00 -0700 Subject: [PATCH] modify android build.gn to always include debug symbols in release builds --- shell/platform/android/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/platform/android/BUILD.gn b/shell/platform/android/BUILD.gn index 1500fb90e0639..aec118ef6d030 100644 --- a/shell/platform/android/BUILD.gn +++ b/shell/platform/android/BUILD.gn @@ -472,7 +472,7 @@ action("flutter_shell_java") { action("android_jar") { script = "//build/android/gyp/create_flutter_jar.py" - if (stripped_symbols) { + if (stripped_symbols && flutter_runtime_mode != "release") { engine_library = "lib.stripped/libflutter.so" } else { engine_library = "libflutter.so"