Don’t build the host shell on target builds. (flutter/engine#5042)

This commit is contained in:
Chinmay Garde
2018-04-18 16:28:24 -07:00
committed by GitHub
parent 6856d1b63d
commit 693b7f248e

View File

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