Skip to content

Commit

Permalink
Don’t build the host shell on target builds. (flutter#5042)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde authored Apr 18, 2018
1 parent 7a6b779 commit 59d1366
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@ group("flutter") {
public_deps = [
"$flutter_root/lib/snapshot:generate_snapshot_bin",
"$flutter_root/lib/snapshot:kernel_platform_files",
"$flutter_root/shell/testing",
"$flutter_root/sky",
]

if (current_toolchain == host_toolchain) {
public_deps += [ "$flutter_root/shell/testing" ]
}

if (flutter_runtime_mode != "debug") {
public_deps += [ "$flutter_root/lib/snapshot:entry_points_json_files" ]
}
Expand Down

0 comments on commit 59d1366

Please sign in to comment.