On iOS, avoid the unnecessary dependency on sky_snapshot (which generates a script snapshot)

This commit is contained in:
Chinmay Garde 2015-10-26 15:49:24 -07:00
parent ab05c8b0d0
commit 47b52a4d1c

View File

@ -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