From eceff83817e9e091cfec0501853a0e9d1e28b455 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Tue, 15 Nov 2016 17:44:39 -0800 Subject: [PATCH] =?UTF-8?q?Enable=20android=5Ffull=5Fdebug=20on=20?= =?UTF-8?q?=E2=80=94unoptimized=20builds.=20(flutter/engine#3228)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously, —unoptimized builds on Android would include debug symbols but still would be optimized. This killed the experience in the debugger on Android. --- engine/src/flutter/tools/gn | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/src/flutter/tools/gn b/engine/src/flutter/tools/gn index e3d682b1077..d0fa8e42099 100755 --- a/engine/src/flutter/tools/gn +++ b/engine/src/flutter/tools/gn @@ -47,6 +47,7 @@ def to_gn_args(args): gn_args = {} gn_args['is_debug'] = args.unoptimized + gn_args['android_full_debug'] = args.target_os == 'android' and args.unoptimized gn_args['is_clang'] = True ios_target_cpu = 'arm64'