Don’t build the host shell on target builds. (flutter/engine#5042)
This commit is contained in:
@@ -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" ]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user