mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
On iOS, avoid the unnecessary dependency on sky_snapshot (which generates a script snapshot)
This commit is contained in:
parent
ab05c8b0d0
commit
47b52a4d1c
@ -48,9 +48,13 @@ template("flx") {
|
||||
]
|
||||
}
|
||||
|
||||
deps = [
|
||||
"//sky/tools/sky_snapshot($host_toolchain)",
|
||||
]
|
||||
deps = []
|
||||
|
||||
if (!is_ios) {
|
||||
# sky_snapshot is used to create a script snapshot. iOS builds use
|
||||
# a precompiled snapshot. So this dependency is redundant.
|
||||
deps += [ "//sky/tools/sky_snapshot($host_toolchain)" ]
|
||||
}
|
||||
|
||||
if (defined(invoker.deps)) {
|
||||
deps += invoker.deps
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user