Only attempt to copy sky_viewer_library symbols on Linux and Android

This commit is contained in:
James Robinson
2015-09-01 15:48:08 -07:00
parent 2e03e4b554
commit 7500262eee

View File

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