From 47b52a4d1ccedf6230be7eef2cd5d41c7cc1e105 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Mon, 26 Oct 2015 15:49:24 -0700 Subject: [PATCH] On iOS, avoid the unnecessary dependency on sky_snapshot (which generates a script snapshot) --- sky/build/flx.gni | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sky/build/flx.gni b/sky/build/flx.gni index df36f989316..806ff211f2f 100644 --- a/sky/build/flx.gni +++ b/sky/build/flx.gni @@ -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