Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Include flutter_tester only on debug files. #36296

Merged
merged 2 commits into from
Sep 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions build/archives/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -60,28 +60,28 @@ if (build_engine_artifacts) {
},
]

exe = ""
if (host_os == "win") {
exe = ".exe"
}
dll = ".so"
if (host_os == "win") {
dll = ".dll"
} else if (host_os == "mac") {
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"
Expand Down