From ecd0f5a71c0d6b0e38d1e0d8efa28557cd2a781c Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Wed, 10 Aug 2016 16:28:13 -0700 Subject: [PATCH] Attempt to fix build --- engine/src/flutter/sky/dist/BUILD.gn | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/engine/src/flutter/sky/dist/BUILD.gn b/engine/src/flutter/sky/dist/BUILD.gn index 0e84058da1..9f46d11c13 100644 --- a/engine/src/flutter/sky/dist/BUILD.gn +++ b/engine/src/flutter/sky/dist/BUILD.gn @@ -4,6 +4,8 @@ root_dist_dir = "$root_build_dir/dist" +if (!is_ios) { + copy("sky_shell") { if (is_android) { sources = [ @@ -24,7 +26,7 @@ copy("sky_shell") { deps = [ "//flutter/sky/shell", ] - } else if (!is_ios) { + } else { sources = [ "$root_build_dir/flutter.mojo", "$root_build_dir/icudtl.dat", @@ -38,14 +40,13 @@ copy("sky_shell") { "//flutter/sky/shell/platform/mojo", "//third_party/icu:icudata", ] - } else { - sources = [] - deps = [] } outputs = [ "$root_dist_dir/shell/{{source_file_part}}" ] } +} # if (!is_ios) + if (is_android) { action("sky_engine") { script = "//flutter/sky/tools/dist_dart_pkg.py"