From 3e7c81d01d879391738ec79b65a4d3251a590092 Mon Sep 17 00:00:00 2001 From: godofredoc Date: Wed, 21 Sep 2022 13:01:03 -0700 Subject: [PATCH] Include flutter_tester only on debug files. (flutter/engine#36296) --- engine/src/flutter/build/archives/BUILD.gn | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/engine/src/flutter/build/archives/BUILD.gn b/engine/src/flutter/build/archives/BUILD.gn index fcefdcd0fb..f432bcabb1 100644 --- a/engine/src/flutter/build/archives/BUILD.gn +++ b/engine/src/flutter/build/archives/BUILD.gn @@ -60,10 +60,6 @@ if (build_engine_artifacts) { }, ] - exe = "" - if (host_os == "win") { - exe = ".exe" - } dll = ".so" if (host_os == "win") { dll = ".dll" @@ -71,17 +67,21 @@ if (build_engine_artifacts) { dll = ".dylib" } files += [ - { - source = "$root_out_dir/flutter_tester$exe" - destination = "flutter_tester$exe" - }, { source = "$root_out_dir/libtessellator$dll" destination = "libtessellator$dll" }, ] if (flutter_runtime_mode == "debug") { + exe = "" + if (host_os == "win") { + exe = ".exe" + } files += [ + { + source = "$root_out_dir/flutter_tester$exe" + destination = "flutter_tester$exe" + }, { source = "$root_out_dir/impellerc$exe" destination = "impellerc$exe"