diff --git a/sky/dist/BUILD.gn b/sky/dist/BUILD.gn index 0e84058da1fef10dac934f90fea32a1eae816809..9f46d11c13adfafffd6c1d1f1699ecb32fbb135b 100644 --- a/sky/dist/BUILD.gn +++ b/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"