diff --git a/engine/src/flutter/sky/dist/BUILD.gn b/engine/src/flutter/sky/dist/BUILD.gn index e860b2dcce..e62c581722 100644 --- a/engine/src/flutter/sky/dist/BUILD.gn +++ b/engine/src/flutter/sky/dist/BUILD.gn @@ -7,8 +7,10 @@ root_dist_dir = "$root_build_dir/dist" copy("sky_viewer") { sources = [ "$root_build_dir/sky_viewer.mojo", - "$root_build_dir/symbols/libsky_viewer_library.so", ] + if (is_linux || is_android) { + sources += [ "$root_build_dir/symbols/libsky_viewer_library.so" ] + } outputs = [ "$root_dist_dir/viewer/{{source_file_part}}" ] deps = [