Include flutter_tester only on debug files. (flutter/engine#36296)

This commit is contained in:
godofredoc
2022-09-21 13:01:03 -07:00
committed by GitHub
parent 033dc60d45
commit 3e7c81d01d

View File

@@ -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"