From b92cb7a3ec706708e7d034ecee2f75bafb7416a9 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Thu, 4 Feb 2016 13:06:30 -0800 Subject: [PATCH] iOS: Dont strip release binaries --- engine/src/flutter/build/toolchain/mac/BUILD.gn | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/engine/src/flutter/build/toolchain/mac/BUILD.gn b/engine/src/flutter/build/toolchain/mac/BUILD.gn index dff4b054e8..498ea01b98 100644 --- a/engine/src/flutter/build/toolchain/mac/BUILD.gn +++ b/engine/src/flutter/build/toolchain/mac/BUILD.gn @@ -66,8 +66,6 @@ template("mac_toolchain") { sysroot_flags = "-isysroot $sysroot $version_flags" } - strip = !is_debug && !use_ios_simulator - toolchain_flags = "" if (invoker.toolchain_cpu == "i386") { toolchain_flags = "-m32" @@ -186,14 +184,7 @@ template("mac_toolchain") { outfile = "{{root_out_dir}}/{{target_output_name}}{{output_extension}}" rspfile = "$outfile.rsp" - intermediate_outfile = outfile - strip_command = "" - if (strip) { - intermediate_outfile = "$outfile.unstripped" - strip_command = "strip $intermediate_outfile -o $outfile" - } - - command = "$ld $sysroot_flags $toolchain_flags {{ldflags}} -Xlinker -rpath -Xlinker @executable_path/Frameworks -o $intermediate_outfile -Wl,-filelist,$rspfile {{solibs}} {{libs}}; $strip_command" + command = "$ld $sysroot_flags $toolchain_flags {{ldflags}} -Xlinker -rpath -Xlinker @executable_path/Frameworks -o $outfile -Wl,-filelist,$rspfile {{solibs}} {{libs}}" description = "LINK $outfile" rspfile_content = "{{inputs_newline}}" outputs = [